summaryrefslogtreecommitdiffstats
path: root/Tests/CTestTestTimeout/timeout.c
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-29 19:18:46 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-29 19:18:46 (GMT)
commitf321dbb17b67f7345594562a7a458fb98637eea0 (patch)
treed2e770bf1b905bb1a6d5ec38a74d4fc9be1be3b8 /Tests/CTestTestTimeout/timeout.c
parent70614b9e6a3cf4ae9b85598709736786b111ef3b (diff)
downloadCMake-f321dbb17b67f7345594562a7a458fb98637eea0.zip
CMake-f321dbb17b67f7345594562a7a458fb98637eea0.tar.gz
CMake-f321dbb17b67f7345594562a7a458fb98637eea0.tar.bz2
ENH: Added ctest test coverage for a test timeout
Diffstat (limited to 'Tests/CTestTestTimeout/timeout.c')
-rw-r--r--Tests/CTestTestTimeout/timeout.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/CTestTestTimeout/timeout.c b/Tests/CTestTestTimeout/timeout.c
new file mode 100644
index 0000000..e30cf5a
--- /dev/null
+++ b/Tests/CTestTestTimeout/timeout.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+/* infinite loop */
+int main(void)
+{
+ while(1)
+ {
+ }
+ return 0;
+}