Skip to content
Snippets Groups Projects
Commit e104e24e authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/run-tests: Wrap long lists to facilitate adding more items.

parent 62b96147
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment