diff options
Diffstat (limited to 'db/test/scr015/chk.cxxtests')
-rw-r--r-- | db/test/scr015/chk.cxxtests | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/db/test/scr015/chk.cxxtests b/db/test/scr015/chk.cxxtests index 84b7901aa..702ee5710 100644 --- a/db/test/scr015/chk.cxxtests +++ b/db/test/scr015/chk.cxxtests @@ -1,11 +1,10 @@ #!/bin/sh - # -# Id: chk.cxxtests,v 1.2 2001/10/12 13:02:31 dda Exp +# Id: chk.cxxtests,v 1.3 2001/10/23 21:23:04 dda Exp # # Check to make sure that regression tests for C++ run. TEST_CXX_SRCDIR=../test/scr015 # must be a relative directory -CXX=${CXX:-c++} # All paths must be relative to a subdirectory of the build directory LIBS="-L.. -ldb -ldb_cxx" @@ -30,6 +29,8 @@ cd .. echo 'FAIL: unable to build libdb_cxx.a' exit 1 } +CXX=`sed -e '/^CXX=/!d' -e 's/^CXX=//' -e 's/.*mode=compile *//' Makefile` +echo " ====== cxx tests using $CXX" testnames=`cd $TEST_CXX_SRCDIR; ls *.cpp | sed -e 's/\.cpp$//'` for testname in $testnames; do |