From e104e24e53a4e788785cca85332074b3cb5c6e29 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Tue, 5 Dec 2017 01:52:41 +0200 Subject: [PATCH] tests/run-tests: Wrap long lists to facilitate adding more items. --- tests/run-tests | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/run-tests b/tests/run-tests index a2efede0a..08a92a14f 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -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