diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-20 16:19:00 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-20 16:19:00 -0500 |
commit | 2f639d37b50ad37b28d001a023fc39e21ceda559 (patch) | |
tree | f30f0bb6277616e6a46a4296e324638a29acd1b4 /Tests/TestDriver/test2.cxx | |
parent | 49bcc1ad51e25b0d7c08a2861b997a9d10cf6379 (diff) | |
download | cmake-2f639d37b50ad37b28d001a023fc39e21ceda559.tar.gz |
ENH: add new command to create a test driver
Diffstat (limited to 'Tests/TestDriver/test2.cxx')
-rw-r--r-- | Tests/TestDriver/test2.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/TestDriver/test2.cxx b/Tests/TestDriver/test2.cxx new file mode 100644 index 0000000000..2c1f2af1b0 --- /dev/null +++ b/Tests/TestDriver/test2.cxx @@ -0,0 +1,8 @@ +#include <stdio.h> +int test2(int ac, char** av) +{ + printf("test2\n"); + for(int i =0; i < ac; i++) + printf("arg %d is %s\n", ac, av[i]); + return 0; +} |