diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2019-08-19 17:08:19 (GMT) |
---|---|---|
committer | Zack Galbreath <zack.galbreath@kitware.com> | 2019-08-22 19:53:42 (GMT) |
commit | 207926795971d260d602390fbd70e3cb78b4deb3 (patch) | |
tree | 386f7c65089b0d63f49d32124f907d38f1c6c952 /Tests/RunCMake/CMakeLists.txt | |
parent | 1958c78fe1d600e1d1d4cde480907ac6fcad4a1e (diff) | |
download | CMake-207926795971d260d602390fbd70e3cb78b4deb3.zip CMake-207926795971d260d602390fbd70e3cb78b4deb3.tar.gz CMake-207926795971d260d602390fbd70e3cb78b4deb3.tar.bz2 |
ctest_build: ignore ANSI color
Ignore ANSI color when scraping logs for errors and warnings
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index c952b1a..0e93cf8 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -248,7 +248,8 @@ add_RunCMake_test(export) add_RunCMake_test(cmake_minimum_required) add_RunCMake_test(cmake_parse_arguments) add_RunCMake_test(continue) -add_RunCMake_test(ctest_build) +add_executable(color_warning color_warning.c) +add_RunCMake_test(ctest_build -DCOLOR_WARNING=$<TARGET_FILE:color_warning>) add_RunCMake_test(ctest_cmake_error) add_RunCMake_test(ctest_configure) if(COVERAGE_COMMAND) |