splash/Tests/SplashTests/Core/XCTestManifests.swift
John Sundell 6fcb458c63
Enable Splash to be compiled for iOS as a Swift Package (#70)
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)
2019-06-09 11:56:10 +02:00

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