diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-12-16 22:11:40 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-12-31 16:34:34 +0100 |
commit | 73ae888506c89b8c0619905f4c19b79116afb514 (patch) | |
tree | c7af7e40b479536d725266181876cefb735947a9 /Tests/RunCMake/FPHSA | |
parent | c2445d3dfd837cd2e372061f5545054317be110a (diff) | |
download | cmake-73ae888506c89b8c0619905f4c19b79116afb514.tar.gz |
RunCMake: Expect empty output by default.
Expect tests to specify stderr content if it is present.
Fix the CMP0019 test, which has only been testing the WARN status
until now. Specify in the CommandLine and FPHSA tests that content
is at least one character.
Set policies in the Language and CheckModules tests, which have empty
test output, modulo unrelated policies on some platforms.
Diffstat (limited to 'Tests/RunCMake/FPHSA')
-rw-r--r-- | Tests/RunCMake/FPHSA/RunCMakeTest.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/FPHSA/RunCMakeTest.cmake b/Tests/RunCMake/FPHSA/RunCMakeTest.cmake index bb7743c0fa..e9b2a7a70e 100644 --- a/Tests/RunCMake/FPHSA/RunCMakeTest.cmake +++ b/Tests/RunCMake/FPHSA/RunCMakeTest.cmake @@ -14,6 +14,7 @@ run_cmake(exact_1.2.3) run_cmake(exact_1.2.3.4) # now test every component with an invalid version +set(RunCMake_DEFAULT_stderr ".") run_cmake(exact_0) run_cmake(exact_2) run_cmake(exact_1.1) @@ -22,6 +23,7 @@ run_cmake(exact_1.2.2) run_cmake(exact_1.2.4) run_cmake(exact_1.2.3.3) run_cmake(exact_1.2.3.5) +unset(RunCMake_DEFAULT_stderr) # check if searching for a version 0 works list(APPEND RunCMake_TEST_OPTIONS "-DCMAKE_MODULE_PATH=${CMAKE_CURRENT_LIST_DIR}" "-DPseudo_VERSION=0") |