File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
utils/swift_build_support/tests
validation-test/BuildSystem Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,8 @@ def test_misc_tools(self):
5353 tc = host_toolchain ()
5454
5555 # CMake
56- self .assertIsNotNone (tc .cmake )
57- self .assertTrue (
58- os .path .basename (tc .cmake ).startswith ('cmake' ))
56+ self .assertTrue (tc .cmake is None or
57+ os .path .basename (tc .cmake ).startswith ('cmake' ))
5958
6059 # Ninja
6160 self .assertTrue (tc .ninja is None or
Original file line number Diff line number Diff line change 1212# RUN: git -C %t/swift worktree add --detach %t/swift-worktree
1313
1414# Invoke the build script from the worktree.
15- # RUN: %t/swift-worktree/utils/build-script --dry-run | %FileCheck -DARCH=%target-arch %s
15+ # RUN: %t/swift-worktree/utils/build-script --dry-run --cmake %cmake | %FileCheck -DARCH=%target-arch %s
1616
1717# We should generate a build system for the linked worktree, not the main
1818# worktree.
You can’t perform that action at this time.
0 commit comments