File tree 3 files changed +10
-6
lines changed
utils/swift_build_support/swift_build_support
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -662,14 +662,14 @@ def compute_product_pipelines(self):
662
662
# Begin the post build-script-impl build phase.
663
663
builder .begin_pipeline ()
664
664
665
- builder .add_product (products .SwiftPM ,
666
- is_enabled = self .args .build_swiftpm )
667
- builder .add_product (products .SwiftSyntax ,
668
- is_enabled = self .args .build_swiftsyntax )
669
665
builder .add_product (products .SwiftTestingMacros ,
670
666
is_enabled = self .args .build_swift_testing_macros )
671
667
builder .add_product (products .SwiftTesting ,
672
668
is_enabled = self .args .build_swift_testing )
669
+ builder .add_product (products .SwiftPM ,
670
+ is_enabled = self .args .build_swiftpm )
671
+ builder .add_product (products .SwiftSyntax ,
672
+ is_enabled = self .args .build_swiftsyntax )
673
673
builder .add_product (products .SwiftFormat ,
674
674
is_enabled = self .args .build_swiftformat )
675
675
builder .add_product (products .SKStressTester ,
Original file line number Diff line number Diff line change 17
17
from . import cmake_product
18
18
from . import product
19
19
from . import swift
20
+ from . import swift_testing_macros
20
21
21
22
22
23
class SwiftTesting (product .Product ):
@@ -34,7 +35,8 @@ def product_source_name(cls):
34
35
35
36
@classmethod
36
37
def get_dependencies (cls ):
37
- return [swift .Swift ]
38
+ return [swift .Swift ,
39
+ swift_testing_macros .SwiftTestingMacros ]
38
40
39
41
def should_build (self , host_target ):
40
42
return True
Original file line number Diff line number Diff line change 21
21
from . import llvm
22
22
from . import product
23
23
from . import swift
24
+ from . import swift_testing
24
25
from . import xctest
25
26
from .. import shell
26
27
from ..targets import StdlibDeploymentTarget
@@ -143,4 +144,5 @@ def get_dependencies(cls):
143
144
libdispatch .LibDispatch ,
144
145
foundation .Foundation ,
145
146
xctest .XCTest ,
146
- llbuild .LLBuild ]
147
+ llbuild .LLBuild ,
148
+ swift_testing .SwiftTesting ]
You can’t perform that action at this time.
0 commit comments