Skip to content

Commit 7939016

Browse files
committed
CMake support for newer tests.
1 parent 0fff916 commit 7939016

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

Sources/_TestSupport/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ See https://swift.org/LICENSE.txt for license information
88
#]]
99

1010
add_library(_TestSupport
11+
BlackHole.swift
1112
DoubleWidth.swift
1213
Error.swift
1314
Interval.swift

Tests/RealTests/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ See https://swift.org/LICENSE.txt for license information
99

1010
add_library(RealTests
1111
ApproximateEqualityTests.swift
12+
AugmentedArithmeticTests.swift
1213
ElementaryFunctionChecks.swift
13-
IntegerExponentTests.swift)
14+
IntegerExponentTests.swift
15+
RelaxedArithmeticTests.swift)
1416
target_compile_options(RealTests PRIVATE
1517
-enable-testing)
1618
target_link_libraries(RealTests PUBLIC

Tests/WindowsMain.swift

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ extension IntegerExponentTests {
6767
}
6868
#endif
6969

70+
extension RealTests.AugmentedArithmeticTests {
71+
static var all = testCase([
72+
("testTwoSum", RealTests.AugmentedArithmeticTests.testTwoSum),
73+
])
74+
}
75+
76+
extension RealTests.RelaxedArithmeticTests {
77+
static var all = testCase([
78+
("testRelaxedArithmetic", RealTests.RelaxedArithmeticTests.testRelaxedArithmetic),
79+
])
80+
}
81+
7082
extension ArithmeticTests {
7183
static var all = testCase([
7284
("testPolar", ArithmeticTests.testPolar),

0 commit comments

Comments
 (0)