diff options
Diffstat (limited to 'Tests/TestDriver/test1.cxx')
-rw-r--r-- | Tests/TestDriver/test1.cxx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Tests/TestDriver/test1.cxx b/Tests/TestDriver/test1.cxx new file mode 100644 index 000000000..ac82f8ae9 --- /dev/null +++ b/Tests/TestDriver/test1.cxx @@ -0,0 +1,25 @@ +#include <stdio.h> +int testExtraStuff3(); +int testExtraStuff(); +int testExtraStuff2(); + +int test1(int ac, char* av[]) +{ + if(!testExtraStuff2()) + { + return -1; + } + if(!testExtraStuff()) + { + return -1; + } + if(!testExtraStuff3()) + { + return -1; + } + + printf("test1\n"); + for(int i =0; i < ac; i++) + printf("arg %d is %s\n", ac, av[i]); + return 0; +} |