summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-07-30 20:19:39 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-07-30 20:19:39 (GMT)
commit9ca602e18e028d4e570d81fdee648a14b0d9d67b (patch)
tree4ebdeca1ae3fb8ae9a575ead70dbcf5e59fa753b /Tests
parent0f6e022dcab5ab5ede08153da11fc4330c223cea (diff)
downloadCMake-9ca602e18e028d4e570d81fdee648a14b0d9d67b.zip
CMake-9ca602e18e028d4e570d81fdee648a14b0d9d67b.tar.gz
CMake-9ca602e18e028d4e570d81fdee648a14b0d9d67b.tar.bz2
updated to mods in command
Diffstat (limited to 'Tests')
-rw-r--r--Tests/TestDriver/CMakeLists.txt8
-rw-r--r--Tests/TestDriver/subdir/test3.cxx2
-rw-r--r--Tests/TestDriver/test1.cxx2
-rw-r--r--Tests/TestDriver/test2.cxx2
4 files changed, 7 insertions, 7 deletions
diff --git a/Tests/TestDriver/CMakeLists.txt b/Tests/TestDriver/CMakeLists.txt
index 90f37e1..810c9ff 100644
--- a/Tests/TestDriver/CMakeLists.txt
+++ b/Tests/TestDriver/CMakeLists.txt
@@ -4,10 +4,10 @@ SET(Extra_SRCS testExtraStuff.cxx testExtraStuff2.cxx )
SET(Extra_SRCS ${Extra_SRCS};testExtraStuff3.cxx )
INCLUDE_DIRECTORIES(${TestDriverTest_SOURCE_DIR})
CREATE_TEST_SOURCELIST(testSrcs
- TestDriverTest
- test1
- test2
- subdir/test3
+ TestDriverTest.cxx
+ test1.cxx
+ test2.cxx
+ subdir/test3.cxx
EXTRA_INCLUDE testArgs.h FUNCTION testProccessArgs)
ADD_EXECUTABLE(TestDriverTest ${testSrcs} ${Extra_SRCS})
diff --git a/Tests/TestDriver/subdir/test3.cxx b/Tests/TestDriver/subdir/test3.cxx
index 13cfb5e..976d6eb 100644
--- a/Tests/TestDriver/subdir/test3.cxx
+++ b/Tests/TestDriver/subdir/test3.cxx
@@ -1,5 +1,5 @@
#include <stdio.h>
-int subdir_test3(int ac, char** av)
+int subdir_test3(int ac, char*av[])
{
printf("test3\n");
for(int i =0; i < ac; i++)
diff --git a/Tests/TestDriver/test1.cxx b/Tests/TestDriver/test1.cxx
index 1ee7e99..ac82f8a 100644
--- a/Tests/TestDriver/test1.cxx
+++ b/Tests/TestDriver/test1.cxx
@@ -3,7 +3,7 @@ int testExtraStuff3();
int testExtraStuff();
int testExtraStuff2();
-int test1(int ac, char** av)
+int test1(int ac, char* av[])
{
if(!testExtraStuff2())
{
diff --git a/Tests/TestDriver/test2.cxx b/Tests/TestDriver/test2.cxx
index 2c1f2af..69f0fff 100644
--- a/Tests/TestDriver/test2.cxx
+++ b/Tests/TestDriver/test2.cxx
@@ -1,5 +1,5 @@
#include <stdio.h>
-int test2(int ac, char** av)
+int test2(int ac, char*av[])
{
printf("test2\n");
for(int i =0; i < ac; i++)