We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c1a6a2 commit f5cba77Copy full SHA for f5cba77
1 file changed
tools/tinytest-codegen.py
@@ -108,9 +108,12 @@ def script_to_map(test_file):
108
description="Convert native MicroPython tests to tinytest/upytesthelper C code"
109
)
110
argparser.add_argument("--stdin", action="store_true", help="read list of tests from stdin")
111
+argparser.add_argument("--exclude", action="append", help="exclude test by name")
112
args = argparser.parse_args()
113
114
if not args.stdin:
115
+ if args.exclude:
116
+ exclude_tests += tuple(args.exclude)
117
for group in test_dirs:
118
tests += [test for test in glob("{}/*.py".format(group)) if test not in exclude_tests]
119
else:
0 commit comments