Merge pull request #24 from r-burns/darwin
Fix test_read_cmake_files on macOS
This commit is contained in:
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -1,6 +1,6 @@
|
||||
name: Tests
|
||||
|
||||
on: [push]
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -41,6 +41,8 @@ def test_read_cmake_files(cmake_build):
|
||||
assert 'GNU' in api.get_variable_doc('CMAKE_CXX_COMPILER_ID')
|
||||
elif system == 'Windows':
|
||||
assert 'MSVC' in api.get_variable_doc('CMAKE_CXX_COMPILER_ID')
|
||||
elif system == 'Darwin':
|
||||
assert 'Clang' in api.get_variable_doc('CMAKE_CXX_COMPILER_ID')
|
||||
else:
|
||||
raise RuntimeError('Unexpected system')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user