1010#
1111# ----------------------------------------------------------------------------
1212
13- import os
14-
1513from . import skstresstester
16- from .. import shell
1714
1815
1916class SwiftEvolve (skstresstester .SKStressTester ):
@@ -25,39 +22,9 @@ def product_source_name(cls):
2522 """
2623 return "swift-stress-tester"
2724
28- @classmethod
29- def is_swiftpm_unified_build_product (cls ):
30- return False
31-
3225 def package_name (self ):
3326 return 'SwiftEvolve'
3427
35- # Copy of the build-script-helper invocation without the multiroot data
36- # file. Remove again once SwiftEvolve also builds in the unified build.
37- def run_build_script_helper (self , action , additional_params = []):
38- script_path = os .path .join (
39- self .source_dir , 'build-script-helper.py' )
40-
41- configuration = 'release' if self .is_release () else 'debug'
42-
43- helper_cmd = [
44- script_path ,
45- action ,
46- '--package-dir' , self .package_name (),
47- '--toolchain' , self .install_toolchain_path (),
48- '--config' , configuration ,
49- '--build-dir' , self .build_dir ,
50- # There might have been a Package.resolved created by other builds
51- # or by the package being opened using Xcode. Discard that and
52- # reset the dependencies to be local.
53- '--update'
54- ]
55- if self .args .verbose_build :
56- helper_cmd .append ('--verbose' )
57- helper_cmd .extend (additional_params )
58-
59- shell .call (helper_cmd )
60-
6128 # Inherit the entire build configuration from the SourceKit stress tester
6229
6330 def should_build (self , host_target ):
0 commit comments