summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-05-09 16:20:40 +1000
committerDamien George <damien.p.george@gmail.com>2020-05-09 16:20:40 +1000
commitadb673302238bb1129ad62e7783dc650aaa27277 (patch)
tree14db139aaf94ed4cdda8b4942b1cc3489efcf2eb
parent172fc040aacfea1ac7c23bbc10b173ba8eb276b2 (diff)
tests/run-tests: Skip REPL feature checks when running via pyboard.py.
-rwxr-xr-xtests/run-tests3
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)