diff options
author | Brad King <brad.king@kitware.com> | 2013-03-12 22:07:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-03-12 22:09:22 (GMT) |
commit | 4e5cb375901293e8fedb5d8e44d1481e3f6799d6 (patch) | |
tree | ca3ce460d02cb27aec0334dfbb7bbc4702e6865e /Tests/RunCMake/build_command/ErrorsON-stderr.txt | |
parent | 153242601e22d6f06e1f14dc55d70c2a42b2ec5f (diff) | |
download | CMake-4e5cb375901293e8fedb5d8e44d1481e3f6799d6.zip CMake-4e5cb375901293e8fedb5d8e44d1481e3f6799d6.tar.gz CMake-4e5cb375901293e8fedb5d8e44d1481e3f6799d6.tar.bz2 |
Refactor RunCMake.build_command test to allow more cases
Move the ErrorsOFF/ON common logic from CMakeLists.txt into an
ErrorsCommon file to allow other test cases to be added that do not use
the Errors test logic.
Diffstat (limited to 'Tests/RunCMake/build_command/ErrorsON-stderr.txt')
-rw-r--r-- | Tests/RunCMake/build_command/ErrorsON-stderr.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Tests/RunCMake/build_command/ErrorsON-stderr.txt b/Tests/RunCMake/build_command/ErrorsON-stderr.txt index 0be7475..47a84d6 100644 --- a/Tests/RunCMake/build_command/ErrorsON-stderr.txt +++ b/Tests/RunCMake/build_command/ErrorsON-stderr.txt @@ -1,12 +1,21 @@ -CMake Error at CMakeLists.txt:[0-9]+ \(build_command\): +CMake Error at ErrorsCommon.cmake:[0-9]+ \(build_command\): build_command requires at least one argument naming a CMake variable +Call Stack \(most recent call first\): + ErrorsON.cmake:[0-9]+ \(include\) + CMakeLists.txt:[0-9]+ \(include\) + 1. cmd='initial' -CMake Error at CMakeLists.txt:[0-9]+ \(build_command\): +CMake Error at ErrorsCommon.cmake:[0-9]+ \(build_command\): build_command unknown argument "BOGUS" +Call Stack \(most recent call first\): + ErrorsON.cmake:[0-9]+ \(include\) + CMakeLists.txt:[0-9]+ \(include\) + 2. cmd='initial' -CMake Error at CMakeLists.txt:[0-9]+ \(build_command\): +CMake Error at ErrorsCommon.cmake:[0-9]+ \(build_command\): build_command unknown argument "STUFF" +Call Stack \(most recent call first\): + ErrorsON.cmake:[0-9]+ \(include\) + CMakeLists.txt:[0-9]+ \(include\) |