Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw committed Sep 11, 2024
1 parent 324c75a commit 65a3b9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 26 deletions.
27 changes: 1 addition & 26 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,32 +48,7 @@ xcodebuild:
fi;

xcodebuild-test:
if test "$(PLATFORM)" = "iOS"; \
then $(XCODEBUILD) \
-testPlan "$(TEST_PLAN)" \
-destination platform="$(PLATFORM_IOS)"; \
elif test "$(PLATFORM)" = "macOS"; \
then $(XCODEBUILD) \
-testPlan "$(TEST_PLAN)" \
-destination platform="$(PLATFORM_MACOS)"; \
elif test "$(PLATFORM)" = "tvOS"; \
then $(XCODEBUILD) \
-testPlan "$(TEST_PLAN)" \
-destination platform="$(PLATFORM_TVOS)"; \
elif test "$(PLATFORM)" = "watchOS"; \
then $(XCODEBUILD) \
-testPlan "$(TEST_PLAN)" \
-destination platform="$(PLATFORM_WATCHOS)"; \
elif test "$(PLATFORM)" = "visionOS"; \
then $(XCODEBUILD) \
-testPlan "$(TEST_PLAN)" \
-destination platform="$(PLATFORM_VISIONOS)"; \
elif test "$(PLATFORM)" = "macCatalyst"; \
then $(XCODEBUILD) \
-testPlan "$(TEST_PLAN)" \
-destination platform="$(PLATFORM_MAC_CATALYST)"; \
else exit 1; \
fi;
$(MAKE) xcodebuild -testPlan "$(TEST_PLAN)"

build-for-library-evolution:
swift build \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ final class EffectCancellationTests: BaseTCATestCase {
self.cancellables.removeAll()
}

override func invokeTest() {
withMainSerialExecutor {
super.invokeTest()
}
}

func testCancellation() async {
let values = LockIsolated<[Int]>([])

Expand Down

0 comments on commit 65a3b9e

Please sign in to comment.