update conditional compilation flags #180

merged 1 commit into from Dec 6, 2016


None yet

2 participants

larryonoff commented Dec 2, 2016 edited

This a part of PR apple/swift-corelibs-xctest#176 to simplify base PR.

XCTMain.swift concernes me a lot, but still this file changes look correct for me.

@larryonoff larryonoff referenced this pull request Dec 2, 2016

Add watchOS, tvOS, iOS platforms support #176

0 of 4 tasks complete
+#if os(macOS) || os(Linux) || os(FreeBSD)
briancroom Dec 2, 2016 Collaborator

What's the motivation for introducing this conditional? Does it fail to build in on other platforms for some reason?

larryonoff Dec 5, 2016 Contributor

@briancroom thank you for pointing this out. I thought that func XCTMain won't compile for iOS (e.g. since exit method usage), but I was wrong. I just checked and it compiles. So I removed this condition.

@larryonoff larryonoff update conditional compilation flags

@swift-ci please test


This looks great! Thanks a lot @larryonoff.

@briancroom briancroom merged commit 242864a into apple:master Dec 6, 2016

2 checks passed

Swift Test Linux Platform Build finished.
Swift Test OS X Platform Build finished.
@larryonoff larryonoff deleted the thaliproject:update-conditional-compilation-flags branch Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment