diff options
author | David Cole <david.cole@kitware.com> | 2009-10-08 16:17:03 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-10-08 16:17:03 (GMT) |
commit | c16ac1a31d6e435eef4c8752acf0cfc4cce0cdef (patch) | |
tree | 823c0f62267402640f4ba619581756b1c1da4820 /Tests/CTestTest/SmallAndFast/echoargs.c | |
parent | 65b6a8f54a90b2eff3dbacc01fbd25675308b77a (diff) | |
download | CMake-c16ac1a31d6e435eef4c8752acf0cfc4cce0cdef.zip CMake-c16ac1a31d6e435eef4c8752acf0cfc4cce0cdef.tar.gz CMake-c16ac1a31d6e435eef4c8752acf0cfc4cce0cdef.tar.bz2 |
Reduce duration of ctest_sleep arguments. Add SmallAndFast project. Replace kwsys with SmallAndFast to make CTestTest faster. (I will keep an eye on coverage results after this commit and make sure we still have equivalent ctest coverage.)
Diffstat (limited to 'Tests/CTestTest/SmallAndFast/echoargs.c')
-rw-r--r-- | Tests/CTestTest/SmallAndFast/echoargs.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CTestTest/SmallAndFast/echoargs.c b/Tests/CTestTest/SmallAndFast/echoargs.c new file mode 100644 index 0000000..6e17464 --- /dev/null +++ b/Tests/CTestTest/SmallAndFast/echoargs.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +int main(int argc, const char* argv[]) +{ + int i = 0; + for (; i<argc; ++i) + { + fprintf(stdout, "%s\n", argv[i]); + } + return 0; +} |