summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTakeo Takahashi <takeo.takahashi.xv@renesas.com>2022-04-28 22:22:24 +0900
committerTakeo Takahashi <takeo.takahashi.xv@renesas.com>2022-04-29 12:29:08 +0900
commit3717d599e298bcc0654b1ff46cb222c9162a90da (patch)
tree8cf6e2187ccebe2117db4fbcfad2beedf60353fd
parent4753913253072d7d47f7d09540e7c5c210ebb673 (diff)
downloadmicropython-3717d599e298bcc0654b1ff46cb222c9162a90da.tar.gz
micropython-3717d599e298bcc0654b1ff46cb222c9162a90da.zip
tests/run-tests.py: Update for renesas-ra port.
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
-rwxr-xr-xtests/run-tests.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/run-tests.py b/tests/run-tests.py
index 3732e47ada..fa2db9d2eb 100755
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -485,6 +485,10 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
for t in tests:
if t.startswith("basics/io_"):
skip_tests.add(t)
+ elif args.target == "renesas-ra":
+ skip_tests.add(
+ "extmod/utime_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
@@ -803,7 +807,7 @@ the last matching regex is used:
"unix",
"qemu-arm",
)
- EXTERNAL_TARGETS = ("pyboard", "wipy", "esp8266", "esp32", "minimal", "nrf")
+ EXTERNAL_TARGETS = ("pyboard", "wipy", "esp8266", "esp32", "minimal", "nrf", "renesas-ra")
if args.target in LOCAL_TARGETS or args.list_tests:
pyb = None
elif args.target in EXTERNAL_TARGETS:
@@ -827,6 +831,8 @@ the last matching regex is used:
if args.target == "pyboard":
# run pyboard tests
test_dirs += ("float", "stress", "pyb", "pybnative", "inlineasm")
+ elif args.target in ("renesas-ra"):
+ test_dirs += ("float", "inlineasm", "renesas-ra")
elif args.target in ("esp8266", "esp32", "minimal", "nrf"):
test_dirs += ("float",)
elif args.target == "wipy":