File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,22 +236,22 @@ def main():
236
236
sys .exit (0 )
237
237
238
238
# Build list of tests
239
+ test_list = []
239
240
if tests :
240
241
# Individual tests have been specified. Run specified tests that exist
241
242
# in the ALL_SCRIPTS list. Accept the name with or without .py extension.
242
243
tests = [re .sub ("\.py$" , "" , test ) + ".py" for test in tests ]
243
- test_list = []
244
244
for test in tests :
245
245
if test in ALL_SCRIPTS :
246
246
test_list .append (test )
247
247
else :
248
248
print ("{}WARNING!{} Test '{}' not found in full test list." .format (BOLD [1 ], BOLD [0 ], test ))
249
249
elif args .extended :
250
250
# Include extended tests
251
- test_list = ALL_SCRIPTS
251
+ test_list + = ALL_SCRIPTS
252
252
else :
253
253
# Run base tests only
254
- test_list = BASE_SCRIPTS
254
+ test_list + = BASE_SCRIPTS
255
255
256
256
# Remove the test cases that the user has explicitly asked to exclude.
257
257
if args .exclude :
You can’t perform that action at this time.
0 commit comments