File tree Expand file tree Collapse file tree 2 files changed +7
-26
lines changed
Tests/ComposableArchitectureTests Expand file tree Collapse file tree 2 files changed +7
-26
lines changed Original file line number Diff line number Diff line change @@ -48,32 +48,7 @@ xcodebuild:
48
48
fi ;
49
49
50
50
xcodebuild-test :
51
- if test " $( PLATFORM) " = " iOS" ; \
52
- then $(XCODEBUILD ) \
53
- -testPlan " $( TEST_PLAN) " \
54
- -destination platform=" $( PLATFORM_IOS) " ; \
55
- elif test " $( PLATFORM) " = " macOS" ; \
56
- then $(XCODEBUILD ) \
57
- -testPlan " $( TEST_PLAN) " \
58
- -destination platform=" $( PLATFORM_MACOS) " ; \
59
- elif test " $( PLATFORM) " = " tvOS" ; \
60
- then $(XCODEBUILD ) \
61
- -testPlan " $( TEST_PLAN) " \
62
- -destination platform=" $( PLATFORM_TVOS) " ; \
63
- elif test " $( PLATFORM) " = " watchOS" ; \
64
- then $(XCODEBUILD ) \
65
- -testPlan " $( TEST_PLAN) " \
66
- -destination platform=" $( PLATFORM_WATCHOS) " ; \
67
- elif test " $( PLATFORM) " = " visionOS" ; \
68
- then $(XCODEBUILD ) \
69
- -testPlan " $( TEST_PLAN) " \
70
- -destination platform=" $( PLATFORM_VISIONOS) " ; \
71
- elif test " $( PLATFORM) " = " macCatalyst" ; \
72
- then $(XCODEBUILD ) \
73
- -testPlan " $( TEST_PLAN) " \
74
- -destination platform=" $( PLATFORM_MAC_CATALYST) " ; \
75
- else exit 1; \
76
- fi ;
51
+ $(MAKE ) xcodebuild -testPlan " $( TEST_PLAN) "
77
52
78
53
build-for-library-evolution :
79
54
swift build \
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ final class EffectCancellationTests: BaseTCATestCase {
11
11
self . cancellables. removeAll ( )
12
12
}
13
13
14
+ override func invokeTest( ) {
15
+ withMainSerialExecutor {
16
+ super. invokeTest ( )
17
+ }
18
+ }
19
+
14
20
func testCancellation( ) async {
15
21
let values = LockIsolated < [ Int ] > ( [ ] )
16
22
You can’t perform that action at this time.
0 commit comments