Skip to content

Commit 60707ab

Browse files
authored
Merge pull request #522 from artemcm/FlakyVersionedClangDepScanningDisable
Tweak test relying on versioned clang module re-scanning to not need it.
2 parents 41647b4 + b2ac195 commit 60707ab

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 110000
1+
//#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 110000
2+
// FIXME: Versioned re-scanning has an intermittend failure so the test that relies on it is disabled
3+
// temporarily (rdar://74812312)
24
#include "X.h"
3-
#endif
5+
//#endif
46

57
void funcG(void);

Tests/SwiftDriverTests/ExplicitModuleBuildTests.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,10 @@ final class ExplicitModuleBuildTests: XCTestCase {
628628
let expectedNumberOfDependencies: Int
629629
if driver.targetTriple.isMacOSX,
630630
driver.targetTriple.version(for: .macOS) >= Triple.Version(11, 0, 0) {
631-
expectedNumberOfDependencies = 11
631+
// FIXME: Versioned re-scanning has an intermittend failure so the test that relies on it
632+
// is disabled temporarily (rdar://74812312)
633+
// expectedNumberOfDependencies = 11
634+
expectedNumberOfDependencies = 12
632635
} else {
633636
expectedNumberOfDependencies = 12
634637
}

0 commit comments

Comments
 (0)