From 0ec120f39127f25898ab110b43819e3e9becb8a3 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Mon, 27 Jul 2020 00:55:16 -0700 Subject: [PATCH] Fix test_read_cmake_files on macOS --- tests/test_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_api.py b/tests/test_api.py index e92c949..a4ce60d 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -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')