summaryrefslogtreecommitdiffstats
path: root/Tests/JCTest/TestTime.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-12-29 22:43:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-12-29 22:43:37 (GMT)
commit38b7b3fea0d5ab5bad8a658568264cfa8abeed27 (patch)
treef305ad1f7a8bbf9fa59178ff7cb4045d7e0b3e5b /Tests/JCTest/TestTime.cxx
parenta075cfe976668c77e0556814b8d86a3b8eaaa021 (diff)
downloadCMake-38b7b3fea0d5ab5bad8a658568264cfa8abeed27.zip
CMake-38b7b3fea0d5ab5bad8a658568264cfa8abeed27.tar.gz
CMake-38b7b3fea0d5ab5bad8a658568264cfa8abeed27.tar.bz2
ENH: add test for -j N ctest stuff
Diffstat (limited to 'Tests/JCTest/TestTime.cxx')
-rw-r--r--Tests/JCTest/TestTime.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/JCTest/TestTime.cxx b/Tests/JCTest/TestTime.cxx
new file mode 100644
index 0000000..5768ab5
--- /dev/null
+++ b/Tests/JCTest/TestTime.cxx
@@ -0,0 +1,12 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+int main(int ac, char** av)
+{
+ float d = 10.0;
+ for(int i =0; i < atoi(av[1]); i++)
+ {
+ d *= .2;
+ }
+ printf("%f", d);
+}