Merge pull request #8 from YOCKOW/linux

Remove LinuxMain.swift and XCTestManifests.swift
This commit is contained in:
YOCKOW 2021-05-09 18:29:50 +09:00 committed by GitHub
commit da2ee929a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 38 deletions

View File

@ -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

View File

@ -1,8 +0,0 @@
import XCTest
import TimeSpecificationTests
var tests = [XCTestCaseEntry]()
tests += TimeSpecificationTests.__allTests()
XCTMain(tests)

View File

@ -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