Skip to content

Commit 2c6d762

Browse files
authored
Use existing CMake in some build-script tests (#38842)
This will prevent the tests to rebuild CMake (especially under Linux) and cause transient issues. This is similar to what was done for #37611
1 parent 3ebb554 commit 2c6d762

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

validation-test/BuildSystem/reconfigure-passed-to-build-script-impl.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RUN: %empty-directory(%t)
22
# RUN: mkdir -p %t
3-
# RUN: SKIP_XCODE_VERSION_CHECK=1 SWIFT_BUILD_ROOT=%t %swift_src_root/utils/build-script --dry-run --reconfigure --verbose 2>&1| %FileCheck %s
3+
# RUN: SKIP_XCODE_VERSION_CHECK=1 SWIFT_BUILD_ROOT=%t %swift_src_root/utils/build-script --dry-run --reconfigure --verbose --cmake %cmake 2>&1| %FileCheck %s
44

55
# REQUIRES: standalone_build
66

validation-test/BuildSystem/test_early_swift_driver_and_infer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
# RUN: %empty-directory(%t)
44
# RUN: mkdir -p %t
5-
# RUN: SKIP_XCODE_VERSION_CHECK=1 SWIFT_BUILD_ROOT=%t %swift_src_root/utils/build-script --dry-run --swiftpm --infer 2>&1 | %FileCheck %s
5+
# RUN: SKIP_XCODE_VERSION_CHECK=1 SWIFT_BUILD_ROOT=%t %swift_src_root/utils/build-script --dry-run --swiftpm --infer --cmake %cmake 2>&1 | %FileCheck %s
66

77
# CHECK: --- Building earlyswiftdriver ---

0 commit comments

Comments
 (0)