Skip to content

Commit 09ac8a8

Browse files
committed
Tests: reduce enabled tests on Linux
These seem to be causing a regression on Linux somehow. Restore the original `#if os(macOS)` check around the region, but retain some of the enabled tests which are passing.
1 parent a9bf9bb commit 09ac8a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/SwiftDriverTests/SwiftDriverTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2758,6 +2758,7 @@ final class SwiftDriverTests: XCTestCase {
27582758
}
27592759
#endif
27602760

2761+
#if os(macOS) || os(Windows)
27612762
do {
27622763
// undefined behavior sanitizer
27632764
var driver = try Driver(args: commonArgs + ["-sanitize=undefined"])
@@ -2816,6 +2817,7 @@ final class SwiftDriverTests: XCTestCase {
28162817
XCTAssertTrue(linkCmd.contains(.flag("-fsanitize=scudo")))
28172818
}
28182819
#endif
2820+
#endif
28192821

28202822
// FIXME: This test will fail when not run on Android, because the driver uses
28212823
// the existence of the runtime support libraries to determine if

0 commit comments

Comments
 (0)