diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2020-09-24 17:41:15 (GMT) |
---|---|---|
committer | Zack Galbreath <zack.galbreath@kitware.com> | 2020-09-28 17:13:52 (GMT) |
commit | ab9ad2a6a0addcb1366b68c0a28df7e1c9c9bc6f (patch) | |
tree | 468f7042c85c95f9b0b5c39b27094b9fd4facae1 /Tests/RunCMake/CMakeLists.txt | |
parent | 56e4e942d22bddc1662d5a3d057ab8246b805c32 (diff) | |
download | CMake-ab9ad2a6a0addcb1366b68c0a28df7e1c9c9bc6f.zip CMake-ab9ad2a6a0addcb1366b68c0a28df7e1c9c9bc6f.tar.gz CMake-ab9ad2a6a0addcb1366b68c0a28df7e1c9c9bc6f.tar.bz2 |
ctest: report make-level errors to CDash when using launchers
Fixes: #19545
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index c97a959..c70eb75 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -311,7 +311,11 @@ add_RunCMake_test(cmake_parse_arguments) add_RunCMake_test(cmake_path) add_RunCMake_test(continue) add_executable(color_warning color_warning.c) -add_RunCMake_test(ctest_build -DCOLOR_WARNING=$<TARGET_FILE:color_warning>) +add_executable(fake_build_command fake_build_command.c) +add_RunCMake_test(ctest_build + -DCOLOR_WARNING=$<TARGET_FILE:color_warning> + -DFAKE_BUILD_COMMAND_EXE=$<TARGET_FILE:fake_build_command> +) add_RunCMake_test(ctest_cmake_error) add_RunCMake_test(ctest_configure) if(COVERAGE_COMMAND) |