8000 tests/run-tests: Skip REPL feature checks when running via pyboard.py. · webduino-cn/micropython@adb6733 · GitHub
[go: up one dir, main page]

Skip to content

Commit adb6733

Browse files
committed
tests/run-tests: Skip REPL feature checks when running via pyboard.py.
1 parent 172fc04 commit adb6733

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/run-tests

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ def run_micropython(pyb, args, test_file, is_special=False):
212212

213213

214214
def run_feature_check(pyb, args, base_path, test_file):
215+
if pyb is not None and test_file.startswith("repl_"):
216+
# REPL feature tests will not run via pyboard because they require prompt interactivity
217+
return b""
215218
return run_micropython(pyb, args, base_path + "/feature_check/" + test_file, is_special=True)
216219

217220

0 commit comments

Comments
 (0)
0