summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestFailure/badCode.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-18 16:16:46 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-18 16:16:46 (GMT)
commit78e0bfa0fdd2376e89bb7750904db57b5c8bf104 (patch)
tree8201367a03986be0731ce330acf79921f0a61dd6 /Tests/CTestTestFailure/badCode.cxx
parent311eb30672c7f098404a6511f71b930f8aad65d7 (diff)
downloadCMake-78e0bfa0fdd2376e89bb7750904db57b5c8bf104.zip
CMake-78e0bfa0fdd2376e89bb7750904db57b5c8bf104.tar.gz
CMake-78e0bfa0fdd2376e89bb7750904db57b5c8bf104.tar.bz2
Added test coverage for ctest. Covers WILL_FAIL condition, tests that do not build, tests that segfault, and test executable not found (bad command), as well as some pass and fail regular expressions.
Diffstat (limited to 'Tests/CTestTestFailure/badCode.cxx')
-rw-r--r--Tests/CTestTestFailure/badCode.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CTestTestFailure/badCode.cxx b/Tests/CTestTestFailure/badCode.cxx
new file mode 100644
index 0000000..b410f0a
--- /dev/null
+++ b/Tests/CTestTestFailure/badCode.cxx
@@ -0,0 +1,4 @@
+int main()
+{
+this code will not compile
+}