cmake/Tests/TestDriver/test1.cxx

23 lines
368 B
C++
Raw Normal View History

#include <stdio.h>
int testExtraStuff3();
int testExtraStuff();
int testExtraStuff2();
int test1(int ac, char* av[])
{
2016-07-09 11:21:54 +02:00
if (!testExtraStuff2()) {
return -1;
2016-07-09 11:21:54 +02:00
}
if (!testExtraStuff()) {
return -1;
2016-07-09 11:21:54 +02:00
}
if (!testExtraStuff3()) {
return -1;
2016-07-09 11:21:54 +02:00
}
2013-03-16 19:13:01 +02:00
printf("test1\n");
2016-07-09 11:21:54 +02:00
for (int i = 0; i < ac; i++)
printf("arg %d is %s\n", ac, av[i]);
return 0;
}