File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 10
10
//
11
11
//===----------------------------------------------------------------------===//
12
12
13
+ import PackageModel
13
14
import SPMTestSupport
14
15
import XCTest
15
16
16
17
import var TSCBasic. localFileSystem
17
18
18
19
final class BuildSystemDelegateTests : XCTestCase {
19
20
func testDoNotFilterLinkerDiagnostics( ) throws {
21
+ try XCTSkipIf ( !UserToolchain. default. supportsSDKDependentTests ( ) , " skipping because test environment doesn't support this test " )
20
22
try fixture ( name: " Miscellaneous/DoNotFilterLinkerDiagnostics " ) { fixturePath in
21
23
#if !os(macOS)
22
24
// These linker diagnostics are only produced on macOS.
@@ -28,6 +30,7 @@ final class BuildSystemDelegateTests: XCTestCase {
28
30
}
29
31
30
32
func testFilterNonFatalCodesignMessages( ) throws {
33
+ try XCTSkipIf ( !UserToolchain. default. supportsSDKDependentTests ( ) , " skipping because test environment doesn't support this test " )
31
34
// Note: we can re-use the `TestableExe` fixture here since we just need an executable.
32
35
try fixture ( name: " Miscellaneous/TestableExe " ) { fixturePath in
33
36
_ = try executeSwiftBuild ( fixturePath)
You can’t perform that action at this time.
0 commit comments