summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/build_command/ErrorsON-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-03-12 22:07:52 (GMT)
committerBrad King <brad.king@kitware.com>2013-03-12 22:09:22 (GMT)
commit4e5cb375901293e8fedb5d8e44d1481e3f6799d6 (patch)
treeca3ce460d02cb27aec0334dfbb7bbc4702e6865e /Tests/RunCMake/build_command/ErrorsON-stderr.txt
parent153242601e22d6f06e1f14dc55d70c2a42b2ec5f (diff)
downloadCMake-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.txt15
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\)