File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
swift_build_support/swift_build_support/products Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ def _apply_default_arguments(args):
208
208
args .test_sourcekitlsp = False
209
209
args .test_skstresstester = False
210
210
args .test_swiftevolve = False
211
+ args .test_toolchainbenchmarks = False
211
212
212
213
# --skip-test-ios is merely a shorthand for host and simulator tests.
213
214
if not args .test_ios :
@@ -977,6 +978,8 @@ def create_argument_parser():
977
978
help = 'skip testing the SourceKit Stress tester' )
978
979
option ('--skip-test-swiftevolve' , toggle_false ('test_swiftevolve' ),
979
980
help = 'skip testing SwiftEvolve' )
981
+ option ('--skip-test-toolchain-benchmarks' , toggle_false ('test_toolchainbenchmarks' ),
982
+ help = 'skip testing toolchain benchmarks' )
980
983
981
984
# -------------------------------------------------------------------------
982
985
in_group ('Build settings specific for LLVM' )
Original file line number Diff line number Diff line change 213
213
'test_sourcekitlsp' : False ,
214
214
'test_skstresstester' : False ,
215
215
'test_swiftevolve' : False ,
216
+ 'test_toolchainbenchmarks' : False ,
216
217
'tvos' : False ,
217
218
'tvos_all' : False ,
218
219
'validation_test' : None ,
@@ -546,6 +547,7 @@ class BuildScriptImplOption(_BaseOption):
546
547
DisableOption ('--skip-test-sourcekit-lsp' , dest = 'test_sourcekitlsp' ),
547
548
DisableOption ('--skip-test-skstresstester' , dest = 'test_skstresstester' ),
548
549
DisableOption ('--skip-test-swiftevolve' , dest = 'test_swiftevolve' ),
550
+ DisableOption ('--skip-test-toolchain-benchmarks' , dest = 'test_toolchainbenchmarks' ),
549
551
550
552
ChoicesOption ('--android-ndk-gcc-version' ,
551
553
choices = ['4.8' , '4.9' ]),
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def build(self, host_target):
35
35
run_build_script_helper (host_target , self , self .args )
36
36
37
37
def should_test (self , host_target ):
38
- return True
38
+ return self . args . test_toolchainbenchmarks
39
39
40
40
def test (self , host_target ):
41
41
"""Just run a single instance of the command for both .debug and
You can’t perform that action at this time.
0 commit comments