From f0281e4654f49dd1b0e4607d6721553847e428a2 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 1 Aug 2007 16:50:33 +0000 Subject: * src/generate.sh: Moved requirements test to configure.ac * rubygen: Cleanup and improvements, template for cluster work. * configure.ac: - support for ruby code generator + cleanup. - moved "can generate" tests to configure.ac - removed redundant APR stuff. * bootstrap: Remove codegen from bootstrap, all in config/make. * src/Makefile.am (libqpidcommon_la_LIBADD): - Ruby code generator. - Improvements to existing generator rules. - Removed APR stuff. * configure.ac (CPPUNIT_CXXFLAGS): Removed APR stuff. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@561869 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/Makefile.am | 3 ++- qpid/cpp/src/tests/ais_check | 2 +- qpid/cpp/src/tests/cluster.mk | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests') diff --git a/qpid/cpp/src/tests/Makefile.am b/qpid/cpp/src/tests/Makefile.am index 82918c1aec..bc173d61d6 100644 --- a/qpid/cpp/src/tests/Makefile.am +++ b/qpid/cpp/src/tests/Makefile.am @@ -14,6 +14,7 @@ check_PROGRAMS= check_LTLIBRARIES= TESTS= EXTRA_DIST= +CLEANFILES= # # Unit test programs. @@ -171,7 +172,7 @@ all-am: .valgrind.supp .valgrindrc # ltmain invocations, one may corrupt the temporaries of the other. .NOTPARALLEL: -CLEANFILES=valgrind.out *.log *.vglog .valgrindrc .valgrind.supp dummy_test $(unit_wrappers) +CLEANFILES+=valgrind.out *.log *.vglog .valgrindrc .valgrind.supp dummy_test $(unit_wrappers) MAINTAINERCLEANFILES=gen.mk interop_runner_SOURCES = \ diff --git a/qpid/cpp/src/tests/ais_check b/qpid/cpp/src/tests/ais_check index 69a0469a26..ce3bbe1b1c 100755 --- a/qpid/cpp/src/tests/ais_check +++ b/qpid/cpp/src/tests/ais_check @@ -34,6 +34,6 @@ fi FAILED=0 for test in `cat ais_tests`; do - $srcdir/$test || FAILED=`expr $FAILED + 1` + ./$test || FAILED=`expr $FAILED + 1` done exit $FAILED diff --git a/qpid/cpp/src/tests/cluster.mk b/qpid/cpp/src/tests/cluster.mk index 8b603efb14..092647c9eb 100644 --- a/qpid/cpp/src/tests/cluster.mk +++ b/qpid/cpp/src/tests/cluster.mk @@ -21,6 +21,7 @@ AIS_TESTS= ais_check: ais_tests ais_tests: echo $(AIS_TESTS) >$@ +CLEANFILES+=ais_tests AIS_TESTS+=Cpg check_PROGRAMS+=Cpg -- cgit v1.2.1