diff options
| author | Alan Conway <aconway@apache.org> | 2007-04-10 22:36:12 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-04-10 22:36:12 +0000 |
| commit | 8dc84a11caf5cc50768f996864139b29af7626c8 (patch) | |
| tree | c96280bde11d54678bb6adf11e7dc3ff7ee31a0a /qpid/cpp/src/tests | |
| parent | faf86c6e5f484feef6102533b177202282b7f091 (diff) | |
| download | qpid-python-8dc84a11caf5cc50768f996864139b29af7626c8.tar.gz | |
* docs/api/*: Fixed API doc generation to work with VPATH builds.
* src/Makefile.am:
- Added missing .h files in distribution.
* src & tests Makefile.am:
- Made generated .mk fragments maintaner-clean, not distclean, otherwise
distclean followed by a VPATH build fails.
* cpp/src/tests/quick_topictest: cat error log on failure.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@527325 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
| -rw-r--r-- | qpid/cpp/src/tests/Makefile.am | 11 | ||||
| -rwxr-xr-x | qpid/cpp/src/tests/quick_topictest | 6 |
2 files changed, 9 insertions, 8 deletions
diff --git a/qpid/cpp/src/tests/Makefile.am b/qpid/cpp/src/tests/Makefile.am index a5d1fdbab5..0c5e43c5ca 100644 --- a/qpid/cpp/src/tests/Makefile.am +++ b/qpid/cpp/src/tests/Makefile.am @@ -62,20 +62,19 @@ CLIENT_TESTS = client_test quick_topictest TESTS = run-unit-tests start_broker $(CLIENT_TESTS) python_tests kill_broker EXTRA_DIST = \ - $(TESTS) \ - .vg-supp \ - .valgrindrc.default \ + run-unit-tests start_broker python_tests kill_broker \ + .valgrind.supp \ + .valgrindrc-default \ InProcessBroker.h \ MockChannel.h \ MockConnectionInputHandler.h \ qpid_test_plugin.h \ test_env \ - topicall \ topictest \ APRBaseTest.cpp CLEANFILES=qpidd.log -DISTCLEANFILES=gen.mk +MAINTAINERCLEANFILES=gen.mk include gen.mk @@ -115,5 +114,5 @@ check-unit: # Create a copy so user can modify without risk of checking in their mods. .valgrindrc: .valgrindrc-default - cp .valgrindrc-default .valgrindrc + cp $(srcdir)/.valgrindrc-default .valgrindrc diff --git a/qpid/cpp/src/tests/quick_topictest b/qpid/cpp/src/tests/quick_topictest index 9df5b5c84c..b1e63b9350 100755 --- a/qpid/cpp/src/tests/quick_topictest +++ b/qpid/cpp/src/tests/quick_topictest @@ -1,7 +1,9 @@ #!/bin/sh # Quick and quiet topic test for make check. -./topictest -s2 -m2 -b1 > topictest.log 2>&1 || { - echo See topictest.log. +test -z "$srcdir" && srcdir=. +$srcdir/topictest -s2 -m2 -b1 > topictest.log 2>&1 || { + echo $0 FAILED: + cat topictest.log exit 1 } rm topictest.log |
