File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,9 @@ if(PYTHONINTERP_FOUND)
244
244
245
245
list (APPEND LIT_ARGS "--param" "run_only_tests=long_tests" )
246
246
endif ()
247
+ if (test_subset STREQUAL "all" )
248
+ list (APPEND LIT_ARGS "--param" "run_only_tests=all" )
249
+ endif ()
247
250
248
251
set (directories )
249
252
set (dependencies ${test_dependencies} )
Original file line number Diff line number Diff line change @@ -469,7 +469,7 @@ else:
469
469
lit_config .fatal ("Unknown test mode %r" % swift_test_mode )
470
470
471
471
# Only run the subset of tests that require 'executable_test'?
472
- swift_run_only_tests = lit_config .params .get ('run_only_tests' , 'all ' )
472
+ swift_run_only_tests = lit_config .params .get ('run_only_tests' , 'all_except_long ' )
473
473
if swift_run_only_tests == 'all' :
474
474
config .available_features .add ("executable_test" )
475
475
elif swift_run_only_tests == 'executable_tests' :
@@ -480,6 +480,9 @@ elif swift_run_only_tests == 'non_executable_tests':
480
480
elif swift_run_only_tests == 'long_tests' :
481
481
config .available_features .add ("long_test" )
482
482
config .limit_to_features .add ("long_test" )
483
+ elif swift_run_only_tests == 'all_except_long' :
484
+ config .available_features .add ("executable_test" )
485
+ config .available_features .add ("long_test" )
483
486
else :
484
487
lit_config .fatal ("Unknown test mode %r" % swift_run_only_tests )
485
488
You can’t perform that action at this time.
0 commit comments