diff options
author | Thomas Bernard <thomas@famillebernardgouriou.fr> | 2020-10-22 21:06:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-10-28 11:19:31 (GMT) |
commit | ea03f508420845fef72fef06ba4c9a7dacbca5fe (patch) | |
tree | 4f81062ce233b38f76f36111b290ae26f53c2906 /Tests/RunCMake/CommandLine | |
parent | b3f1a292266099865e0896be9fd0d40803bda7e0 (diff) | |
download | CMake-ea03f508420845fef72fef06ba4c9a7dacbca5fe.zip CMake-ea03f508420845fef72fef06ba4c9a7dacbca5fe.tar.gz CMake-ea03f508420845fef72fef06ba4c9a7dacbca5fe.tar.bz2 |
llvm_rc: add llvm_rc option filter to correctly pick up all options
Fixes: #21315
Diffstat (limited to 'Tests/RunCMake/CommandLine')
-rw-r--r-- | Tests/RunCMake/CommandLine/RunCMakeTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake index 76ca898..555cd7f 100644 --- a/Tests/RunCMake/CommandLine/RunCMakeTest.cmake +++ b/Tests/RunCMake/CommandLine/RunCMakeTest.cmake @@ -789,7 +789,7 @@ function(run_llvm_rc) "test.tmp was not deleted") endif() file(MAKE_DIRECTORY "${RunCMake_TEST_BINARY_DIR}/ExpandSourceDir") - run_cmake_command(llvm_rc_full_run ${CMAKE_COMMAND} -E cmake_llvm_rc ${RunCMake_TEST_BINARY_DIR}/ExpandSourceDir/source_file test.tmp ${CMAKE_COMMAND} -E echo "This is a test" ++ ${CMAKE_COMMAND} -E copy test.tmp SOURCE_DIR/llvmrc.result ) + run_cmake_command(llvm_rc_full_run ${CMAKE_COMMAND} -E cmake_llvm_rc ${RunCMake_TEST_BINARY_DIR}/ExpandSourceDir/source_file test.tmp ${CMAKE_COMMAND} -E echo "This is a test" ++ ${LLVM_RC} -bad /FO SOURCE_DIR/llvmrc.result test.tmp ) if(EXISTS ${RunCMake_TEST_BINARY_DIR}/ExpandSourceDir/test.tmp) message(SEND_ERROR "${test} - FAILED:\n" "test.tmp was not deleted") |