mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[6.2] Do not require CMake to be in the path for build-script tests
(cherry picked from commit 4e854dea88)
This commit is contained in:
@@ -53,9 +53,8 @@ class ToolchainTestCase(unittest.TestCase):
|
||||
tc = host_toolchain()
|
||||
|
||||
# CMake
|
||||
self.assertIsNotNone(tc.cmake)
|
||||
self.assertTrue(
|
||||
os.path.basename(tc.cmake).startswith('cmake'))
|
||||
self.assertTrue(tc.cmake is None or
|
||||
os.path.basename(tc.cmake).startswith('cmake'))
|
||||
|
||||
# Ninja
|
||||
self.assertTrue(tc.ninja is None or
|
||||
|
||||
Reference in New Issue
Block a user