From 1169a32a7769c7ab45b37399df790343637bbb73 Mon Sep 17 00:00:00 2001 From: jthorn Date: Wed, 25 Sep 2002 17:40:24 +0000 Subject: 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 --- src/cctest/makefile | 5 ++++- src/cctest/test-cstdio-global.cc | 1 - src/cctest/test-stdio_h-std.cc | 6 +++--- 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 -//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 functions in std:: namespace +// test-stdio_h-std.cc -- test functions in std:: namespace // $Header$ -#include +#include using std::printf; int main() { -printf("==> fns in the std:: namespace are ok\n"); +printf("==> fns in the std:: namespace are ok\n"); return 0; } -- cgit v1.2.3