tests: couple of minor tweaks in demo tests in C++ and Libtool
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 26 May 2013 17:18:55 +0000 (19:18 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 26 May 2013 17:19:48 +0000 (19:19 +0200)
* t/cxx-lt-demo.sh: Here.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
t/cxx-lt-demo.sh

index b778725..7f73f93 100644 (file)
@@ -112,7 +112,6 @@ END
 
 cat > lib/libfoo.c++ << 'END'
 #include "libfoo.h++"
-#include <string>
 std::string target (void)
 {
   std::string s1 = "Test";
@@ -122,9 +121,7 @@ std::string target (void)
 END
 
 ./configure
-# Creative quoting and redundant use of eval to avoid spurious
-# 'maintainer-check' failures.
-eval \$'MAKE CC=false AM_MAKEFLAGS=CC=false'
+run_make CC=false
 ls -l . src lib # For debugging.
 $MAKE test-objs
 VERBOSE=yes $MAKE check-TESTS