Skip to content

Commit 65a3b9e

Browse files
committed
wip
1 parent 324c75a commit 65a3b9e

File tree

2 files changed

+7
-26
lines changed

2 files changed

+7
-26
lines changed

Makefile

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -48,32 +48,7 @@ xcodebuild:
4848
fi;
4949

5050
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)"
7752

7853
build-for-library-evolution:
7954
swift build \

Tests/ComposableArchitectureTests/EffectCancellationTests.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ final class EffectCancellationTests: BaseTCATestCase {
1111
self.cancellables.removeAll()
1212
}
1313

14+
override func invokeTest() {
15+
withMainSerialExecutor {
16+
super.invokeTest()
17+
}
18+
}
19+
1420
func testCancellation() async {
1521
let values = LockIsolated<[Int]>([])
1622

0 commit comments

Comments
 (0)