summaryrefslogtreecommitdiffstats
path: root/Tests/TestDriver/test1.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-29 16:12:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-29 16:12:46 (GMT)
commit0223ba91f3aad2014df152612a805d3feb676ddb (patch)
treee642cb5bb87caa6f4e2d33bf510cd25327799ec4 /Tests/TestDriver/test1.cxx
parentfc6b8e8bf7125de4216b6e499db2dc0b967d7731 (diff)
downloadCMake-0223ba91f3aad2014df152612a805d3feb676ddb.zip
CMake-0223ba91f3aad2014df152612a805d3feb676ddb.tar.gz
CMake-0223ba91f3aad2014df152612a805d3feb676ddb.tar.bz2
ENH: add test for set to create source lists
Diffstat (limited to 'Tests/TestDriver/test1.cxx')
-rw-r--r--Tests/TestDriver/test1.cxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/TestDriver/test1.cxx b/Tests/TestDriver/test1.cxx
index 40aa8d7..1ee7e99 100644
--- a/Tests/TestDriver/test1.cxx
+++ b/Tests/TestDriver/test1.cxx
@@ -1,6 +1,23 @@
#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]);