diff options
author | Damien George <damien.p.george@gmail.com> | 2020-05-09 16:20:40 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-05-09 16:20:40 +1000 |
commit | adb673302238bb1129ad62e7783dc650aaa27277 (patch) | |
tree | 14db139aaf94ed4cdda8b4942b1cc3489efcf2eb | |
parent | 172fc040aacfea1ac7c23bbc10b173ba8eb276b2 (diff) |
tests/run-tests: Skip REPL feature checks when running via pyboard.py.
-rwxr-xr-x | tests/run-tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-tests b/tests/run-tests index 859e459fc..74e2f71ac 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) |