Skip to content

Commit

Permalink
tests/run-tests.py: Sync with upstream.
Browse files Browse the repository at this point in the history
Signed-off-by: IFX-Anusha <Anusha.TR@infineon.com>
  • Loading branch information
IFX-Anusha committed Sep 2, 2024
1 parent 2997691 commit 2c830a8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tests/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
# These tests don't test slice explicitly but rather use it to perform the test
misc_slice_tests = (
"builtin_range",
"bytearray1",
"class_super",
"containment",
"errno1",
Expand All @@ -573,6 +574,7 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
"memoryview_gc",
"object1",
"python34",
"string_format_modulo",
"struct_endian",
)

Expand Down Expand Up @@ -674,7 +676,11 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
"extmod/time_time_ns.py"
) # RA fsp rtc function doesn't support nano sec info
elif args.target == "qemu-arm":
skip_tests.add("misc/print_exception.py") # requires sys stdfiles
skip_tests.add("inlineasm/asmfpaddsub.py") # requires Cortex-M4
skip_tests.add("inlineasm/asmfpcmp.py")
skip_tests.add("inlineasm/asmfpldrstr.py")
skip_tests.add("inlineasm/asmfpmuldiv.py")
skip_tests.add("inlineasm/asmfpsqrt.py")
elif args.target == "qemu-riscv":
skip_tests.add("misc/print_exception.py") # requires sys stdfiles
elif args.target == "webassembly":
Expand Down Expand Up @@ -1041,7 +1047,6 @@ def main():

LOCAL_TARGETS = (
"unix",
"qemu-arm",
"qemu-riscv",
"webassembly",
)
Expand All @@ -1053,6 +1058,7 @@ def main():
"minimal",
"nrf",
"psoc6",
"qemu-arm",
"renesas-ra",
"rp2",
)
Expand Down Expand Up @@ -1140,10 +1146,6 @@ def main():
"ports/unix",
)
elif args.target == "qemu-arm":
if not args.write_exp:
raise ValueError("--target=qemu-arm must be used with --write-exp")
# Generate expected output files for qemu run.
# This list should match the test_dirs tuple in tinytest-codegen.py.
test_dirs += (
"float",
"inlineasm",
Expand Down

0 comments on commit 2c830a8

Please sign in to comment.