aboutsummaryrefslogtreecommitdiff
path: root/src/cctest
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-09-25 17:40:24 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-09-25 17:40:24 +0000
commit1169a32a7769c7ab45b37399df790343637bbb73 (patch)
treee69f6fea79d6932c1081ee1bf3c5fb74387f287e /src/cctest
parenta06a10c78fcd6c16d38e8579e8ae01337d98a934 (diff)
makefile
* add clean-namespace target * fix test cass to actually test what they say they test... git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@768 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/cctest')
-rw-r--r--src/cctest/makefile5
-rw-r--r--src/cctest/test-cstdio-global.cc1
-rw-r--r--src/cctest/test-stdio_h-std.cc6
3 files changed, 7 insertions, 5 deletions
diff --git a/src/cctest/makefile b/src/cctest/makefile
index 4d0453f..d46d7c3 100644
--- a/src/cctest/makefile
+++ b/src/cctest/makefile
@@ -2,7 +2,7 @@
CXX = gcc -W -Wall -pedantic -ansi
-test-namespaces :
+test-namespace :
-$(CXX) -o test-stdio_h-global test-stdio_h-global.cc
-./test-stdio_h-global
-$(CXX) -o test-stdio_h-std test-stdio_h-std.cc
@@ -11,3 +11,6 @@ test-namespaces :
-./test-cstdio-global
-$(CXX) -o test-cstdio-std test-cstdio-std.cc
-./test-cstdio-std
+clean-namespace :
+ -rm -f test-stdio_h-global test-stdio_h-std \
+ test-cstdio-global test-cstdio-std
diff --git a/src/cctest/test-cstdio-global.cc b/src/cctest/test-cstdio-global.cc
index b3c10e6..948d32d 100644
--- a/src/cctest/test-cstdio-global.cc
+++ b/src/cctest/test-cstdio-global.cc
@@ -2,7 +2,6 @@
// $Header$
#include <cstdio>
-//using std::printf;
int main()
{
diff --git a/src/cctest/test-stdio_h-std.cc b/src/cctest/test-stdio_h-std.cc
index 32f539b..855c80f 100644
--- a/src/cctest/test-stdio_h-std.cc
+++ b/src/cctest/test-stdio_h-std.cc
@@ -1,11 +1,11 @@
-// test-cstdio-std.cc -- test <cstdio> functions in std:: namespace
+// test-stdio_h-std.cc -- test <stdio.h> functions in std:: namespace
// $Header$
-#include <cstdio>
+#include <stdio.h>
using std::printf;
int main()
{
-printf("==> <cstdio> fns in the std:: namespace are ok\n");
+printf("==> <stdio.h> fns in the std:: namespace are ok\n");
return 0;
}