tests/run-tests: Wrap long lists to facilitate adding more items.
This commit is contained in:
parent
62b96147e6
commit
e104e24e53
@ -50,7 +50,10 @@ def convert_regex_escapes(line):
|
||||
|
||||
|
||||
def run_micropython(pyb, args, test_file, is_special=False):
|
||||
special_tests = ('micropython/meminfo.py', 'basics/bytes_compare3.py', 'basics/builtin_help.py', 'thread/thread_exc2.py')
|
||||
special_tests = (
|
||||
'micropython/meminfo.py', 'basics/bytes_compare3.py',
|
||||
'basics/builtin_help.py', 'thread/thread_exc2.py',
|
||||
)
|
||||
if pyb is None:
|
||||
# run on PC
|
||||
if test_file.startswith(('cmdline/', 'feature_check/')) or test_file in special_tests:
|
||||
@ -477,7 +480,10 @@ def main():
|
||||
test_dirs = ('basics', 'micropython', 'misc', 'extmod', 'wipy')
|
||||
else:
|
||||
# run PC tests
|
||||
test_dirs = ('basics', 'micropython', 'float', 'import', 'io', 'misc', 'stress', 'unicode', 'extmod', 'unix', 'cmdline')
|
||||
test_dirs = (
|
||||
'basics', 'micropython', 'float', 'import', 'io', 'misc',
|
||||
'stress', 'unicode', 'extmod', 'unix', 'cmdline',
|
||||
)
|
||||
else:
|
||||
# run tests from these directories
|
||||
test_dirs = args.test_dirs
|
||||
|
Loading…
Reference in New Issue
Block a user