Skip to content

Commit 39f94b7

Browse files
Merge pull request #73 from stephentyrone/empty-linuxmain
Replace LinuxMain.swift with a fatalError
2 parents a27ffc7 + 2760aa4 commit 39f94b7

File tree

2 files changed

+11
-25
lines changed

2 files changed

+11
-25
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.DS_Store
22
/*XCTestManifests.swift
3-
/Test/LinuxMain.swift
43
/.build
54
/Packages
65
/*.xcodeproj

Tests/LinuxMain.swift

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
1-
import XCTest
1+
//===--- LinuxMain.swift --------------------------------------*- swift -*-===//
2+
//
3+
// This source file is part of the Swift Numerics open source project
4+
//
5+
// Copyright (c) 2019 Apple Inc. and the Swift Numerics project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
//
10+
//===----------------------------------------------------------------------===//
211

3-
@testable import ComplexTests
4-
@testable import RealTests
5-
6-
XCTMain([
7-
testCase(ArithmeticBenchmarkTests.testDivisionByConstant),
8-
testCase(ArithmeticBenchmarkTests.testReciprocal),
9-
testCase(ArithmeticBenchmarkTests.testDivisionByConstantC),
10-
testCase(ArithmeticBenchmarkTests.testMultiplication),
11-
testCase(ArithmeticBenchmarkTests.testMultiplicationC),
12-
testCase(ArithmeticBenchmarkTests.testDivision),
13-
testCase(ArithmeticBenchmarkTests.testDivisionC),
14-
testCase(ArithmeticBenchmarkTests.testDivisionPoorScaling),
15-
testCase(ArithmeticBenchmarkTests.testDivisionPoorScalingC),
16-
testCase(ArithmeticBenchmarkTests.testMultiplicationPoorScaling),
17-
testCase(ArithmeticBenchmarkTests.testMultiplicationPoorScalingC),
18-
testCase(PropertyTests.testProperties),
19-
testCase(PropertyTests.testEquatableHashable),
20-
testCase(ArithmeticTests.testPolar),
21-
testCase(ArithmeticTests.testBaudinSmith),
22-
testCase(RealTests.testFloat),
23-
testCase(RealTests.testDouble),
24-
testCase(RealTests.testFloat80)
25-
])
12+
fatalError("Use --enable-test-discovery to run Swift Numerics tests on Linux.")

0 commit comments

Comments
 (0)