6fcb458c63
While Splash has supported iOS since its early days, this change makes it possible to compile the iOS version as a Swift Package, using Xcode 11. The changes require us to not make the assumption that != macOS == Linux. (Also git ignore the new `.swiftpm` directory that SwiftPM now uses)
27 lines
624 B
Swift
27 lines
624 B
Swift
/**
|
|
* Splash
|
|
* Copyright (c) John Sundell 2018
|
|
* MIT license - see LICENSE.md
|
|
*/
|
|
|
|
import XCTest
|
|
|
|
#if os(Linux)
|
|
|
|
public func makeLinuxTests() -> [XCTestCaseEntry] {
|
|
return [
|
|
testCase(ClosureTests.allTests),
|
|
testCase(CommentTests.allTests),
|
|
testCase(DeclarationTests.allTests),
|
|
testCase(EnumTests.allTests),
|
|
testCase(FunctionCallTests.allTests),
|
|
testCase(LiteralTests.allTests),
|
|
testCase(OptionalTests.allTests),
|
|
testCase(PreprocessorTests.allTests),
|
|
testCase(StatementTests.allTests),
|
|
testCase(MarkdownTests.allTests)
|
|
]
|
|
}
|
|
|
|
#endif
|