aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky2017-12-05 01:52:41 +0200
committerPaul Sokolovsky2017-12-05 01:56:05 +0200
commite104e24e53a4e788785cca85332074b3cb5c6e29 (patch)
treeb67e738d089dc33ec3fcc0131121ab76ffd1252e
parent62b96147e6126961c5d1d6bb28b7ac7034fa9322 (diff)
tests/run-tests: Wrap long lists to facilitate adding more items.
-rwxr-xr-xtests/run-tests10
1 files 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