From e280ce113508ae1e504ed779834afe08935a351c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20Fahn=C3=B8e=20J=C3=B8rgensen?= Date: Wed, 20 Feb 2019 07:14:26 +0100 Subject: [PATCH] Remove broken CMake test (CMake broken, not test) --- test/cgen_test/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/cgen_test/CMakeLists.txt b/test/cgen_test/CMakeLists.txt index 4e49577f..2edc040c 100644 --- a/test/cgen_test/CMakeLists.txt +++ b/test/cgen_test/CMakeLists.txt @@ -35,5 +35,9 @@ add_dependencies(test_generated cgen_test) # https://cmake.org/Bug/view.php?id=14963#c37230 # https://github.com/ninja-build/ninja/issues/760 if(${CMAKE_MAKE_PROGRAM} MATCHES make) -add_test(test_generated ${CMAKE_MAKE_PROGRAM} test_generated) +# this is now also broken for make - the system include path is not +# visible so build fails on not found in the custom build +# stage where CMAKE_C_COMPILER uses a compiler call that has this +# behavior +#add_test(test_generated ${CMAKE_MAKE_PROGRAM} test_generated) endif(${CMAKE_MAKE_PROGRAM} MATCHES make)