Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.DS_Store
/*XCTestManifests.swift
/Test/LinuxMain.swift
/.build
/Packages
/*.xcodeproj
Expand Down
35 changes: 11 additions & 24 deletions Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
import XCTest
//===--- LinuxMain.swift --------------------------------------*- swift -*-===//
//
// This source file is part of the Swift Numerics open source project
//
// Copyright (c) 2019 Apple Inc. and the Swift Numerics project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
//
//===----------------------------------------------------------------------===//

@testable import ComplexTests
@testable import RealTests

XCTMain([
testCase(ArithmeticBenchmarkTests.testDivisionByConstant),
testCase(ArithmeticBenchmarkTests.testReciprocal),
testCase(ArithmeticBenchmarkTests.testDivisionByConstantC),
testCase(ArithmeticBenchmarkTests.testMultiplication),
testCase(ArithmeticBenchmarkTests.testMultiplicationC),
testCase(ArithmeticBenchmarkTests.testDivision),
testCase(ArithmeticBenchmarkTests.testDivisionC),
testCase(ArithmeticBenchmarkTests.testDivisionPoorScaling),
testCase(ArithmeticBenchmarkTests.testDivisionPoorScalingC),
testCase(ArithmeticBenchmarkTests.testMultiplicationPoorScaling),
testCase(ArithmeticBenchmarkTests.testMultiplicationPoorScalingC),
testCase(PropertyTests.testProperties),
testCase(PropertyTests.testEquatableHashable),
testCase(ArithmeticTests.testPolar),
testCase(ArithmeticTests.testBaudinSmith),
testCase(RealTests.testFloat),
testCase(RealTests.testDouble),
testCase(RealTests.testFloat80)
])
fatalError("Use --enable-test-discovery to run Swift Numerics tests on Linux.")