summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/build_command/ErrorsON-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-09 21:47:19 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-12 13:33:21 (GMT)
commit55b2aa884cdb3df9a32152ee1df60e708d2c5ec9 (patch)
tree554b0b84015293df70ab77720ec3adf033c2e9ec /Tests/RunCMake/build_command/ErrorsON-stderr.txt
parenteb33000d75e0e41a2412db9a75597dbee6bfdad6 (diff)
downloadCMake-55b2aa884cdb3df9a32152ee1df60e708d2c5ec9.zip
CMake-55b2aa884cdb3df9a32152ee1df60e708d2c5ec9.tar.gz
CMake-55b2aa884cdb3df9a32152ee1df60e708d2c5ec9.tar.bz2
Use generalized RunCMake test infrastrucure for build_command test
The CMakeCommands.build_command test performs output/error checking so move it over to RunCMake to re-use the generalized infrastrucure. This is the only test left using Tests/CMakeCommands/CMakeLists.txt so remove it.
Diffstat (limited to 'Tests/RunCMake/build_command/ErrorsON-stderr.txt')
-rw-r--r--Tests/RunCMake/build_command/ErrorsON-stderr.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/RunCMake/build_command/ErrorsON-stderr.txt b/Tests/RunCMake/build_command/ErrorsON-stderr.txt
new file mode 100644
index 0000000..0be7475
--- /dev/null
+++ b/Tests/RunCMake/build_command/ErrorsON-stderr.txt
@@ -0,0 +1,12 @@
+CMake Error at CMakeLists.txt:[0-9]+ \(build_command\):
+ build_command requires at least one argument naming a CMake variable
+
++
+1. cmd='initial'
+CMake Error at CMakeLists.txt:[0-9]+ \(build_command\):
+ build_command unknown argument "BOGUS"
+
++
+2. cmd='initial'
+CMake Error at CMakeLists.txt:[0-9]+ \(build_command\):
+ build_command unknown argument "STUFF"