CMake support for newer tests.

This commit is contained in:
Stephen Canon committed 2023-04-26 08:56:43 -04:00
1 parent 0fff91683a
commit 79390164f5
3 files changed
+16 -1

No files matched your search

+1
View File
@@ -8,6 +8,7 @@ See https://swift.org/LICENSE.txt for license information
#]]
add_library(_TestSupport
BlackHole.swift
DoubleWidth.swift
Error.swift
Interval.swift
+3 -1
View File
@@ -9,8 +9,10 @@ See https://swift.org/LICENSE.txt for license information
add_library(RealTests
ApproximateEqualityTests.swift
AugmentedArithmeticTests.swift
ElementaryFunctionChecks.swift
IntegerExponentTests.swift)
IntegerExponentTests.swift
RelaxedArithmeticTests.swift)
target_compile_options(RealTests PRIVATE
-enable-testing)
target_link_libraries(RealTests PUBLIC
+12
View File
@@ -67,6 +67,18 @@ extension IntegerExponentTests {
}
#endif
extension RealTests.AugmentedArithmeticTests {
static var all = testCase([
("testTwoSum", RealTests.AugmentedArithmeticTests.testTwoSum),
])
}
extension RealTests.RelaxedArithmeticTests {
static var all = testCase([
("testRelaxedArithmetic", RealTests.RelaxedArithmeticTests.testRelaxedArithmetic),
])
}
extension ArithmeticTests {
static var all = testCase([
("testPolar", ArithmeticTests.testPolar),