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.
What's the motivation for introducing this conditional? Does it fail to build in on other platforms for some reason?
@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.
update conditional compilation flags
@swift-ci please test
This looks great! Thanks a lot @larryonoff.