summaryrefslogtreecommitdiff
path: root/Tests/TestDriver
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TestDriver')
-rw-r--r--Tests/TestDriver/CMakeLists.txt20
-rw-r--r--Tests/TestDriver/test1.cxx2
2 files changed, 11 insertions, 11 deletions
diff --git a/Tests/TestDriver/CMakeLists.txt b/Tests/TestDriver/CMakeLists.txt
index bd5e974..663ecab 100644
--- a/Tests/TestDriver/CMakeLists.txt
+++ b/Tests/TestDriver/CMakeLists.txt
@@ -1,15 +1,15 @@
cmake_minimum_required (VERSION 2.6)
-PROJECT(TestDriverTest)
+project(TestDriverTest)
-SET(Extra_SRCS testExtraStuff.cxx testExtraStuff2.cxx )
-SET(Extra_SRCS ${Extra_SRCS};testExtraStuff3.cxx )
-INCLUDE_DIRECTORIES(${TestDriverTest_SOURCE_DIR})
-CREATE_TEST_SOURCELIST(testSrcs
- TestDriverTest.cxx
- test1.cxx
- test2.cxx
- subdir/test3.cxx
+set(Extra_SRCS testExtraStuff.cxx testExtraStuff2.cxx )
+set(Extra_SRCS ${Extra_SRCS};testExtraStuff3.cxx )
+include_directories(${TestDriverTest_SOURCE_DIR})
+create_test_sourcelist(testSrcs
+ TestDriverTest.cxx
+ test1.cxx
+ test2.cxx
+ subdir/test3.cxx
EXTRA_INCLUDE testArgs.h FUNCTION testProccessArgs)
-ADD_EXECUTABLE(TestDriverTest ${testSrcs} ${Extra_SRCS})
+add_executable(TestDriverTest ${testSrcs} ${Extra_SRCS})
diff --git a/Tests/TestDriver/test1.cxx b/Tests/TestDriver/test1.cxx
index ac82f8a..b998fda 100644
--- a/Tests/TestDriver/test1.cxx
+++ b/Tests/TestDriver/test1.cxx
@@ -17,7 +17,7 @@ int test1(int ac, char* av[])
{
return -1;
}
-
+
printf("test1\n");
for(int i =0; i < ac; i++)
printf("arg %d is %s\n", ac, av[i]);