From adb673302238bb1129ad62e7783dc650aaa27277 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 9 May 2020 16:20:40 +1000 Subject: [PATCH] tests/run-tests: Skip REPL feature checks when running via pyboard.py. --- tests/run-tests | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/run-tests b/tests/run-tests index 859e459fca..74e2f71ac6 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -212,6 +212,9 @@ def run_micropython(pyb, args, test_file, is_special=False): def run_feature_check(pyb, args, base_path, test_file): + if pyb is not None and test_file.startswith("repl_"): + # REPL feature tests will not run via pyboard because they require prompt interactivity + return b"" return run_micropython(pyb, args, base_path + "/feature_check/" + test_file, is_special=True)