Merge pull request #8 from YOCKOW/linux
Remove LinuxMain.swift and XCTestManifests.swift
This commit is contained in:
commit
da2ee929a3
|
@ -46,11 +46,6 @@ jobs:
|
|||
- name: Clean debug build directory if necessary
|
||||
if: steps.debug_build.outcome == 'failure'
|
||||
run: rm -rf $(cd .build/debug && pwd -P)
|
||||
- name: Check XCTestManifests.swift
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
swift test --generate-linuxmain -Xswiftc -swift-version -Xswiftc ${{ matrix.swift-compat-ver }}
|
||||
git diff --exit-code
|
||||
- name: Test with debug mode.
|
||||
run: swift test --configuration debug -Xswiftc -swift-version -Xswiftc ${{ matrix.swift-compat-ver }}
|
||||
# RELEASE mode
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
import XCTest
|
||||
|
||||
import TimeSpecificationTests
|
||||
|
||||
var tests = [XCTestCaseEntry]()
|
||||
tests += TimeSpecificationTests.__allTests()
|
||||
|
||||
XCTMain(tests)
|
|
@ -1,25 +0,0 @@
|
|||
#if !canImport(ObjectiveC)
|
||||
import XCTest
|
||||
|
||||
extension TimeSpecificationTests {
|
||||
// DO NOT MODIFY: This is autogenerated, use:
|
||||
// `swift test --generate-linuxmain`
|
||||
// to regenerate.
|
||||
static let __allTests__TimeSpecificationTests = [
|
||||
("test_codable", test_codable),
|
||||
("test_comparison", test_comparison),
|
||||
("test_date", test_date),
|
||||
("test_description", test_description),
|
||||
("test_floatLiteral", test_floatLiteral),
|
||||
("test_integerLiteral", test_integerLiteral),
|
||||
("test_normalization", test_normalization),
|
||||
("test_sumAndDifference", test_sumAndDifference),
|
||||
]
|
||||
}
|
||||
|
||||
public func __allTests() -> [XCTestCaseEntry] {
|
||||
return [
|
||||
testCase(TimeSpecificationTests.__allTests__TimeSpecificationTests),
|
||||
]
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue