summaryrefslogtreecommitdiff
path: root/cpp/src/tests/quick_topictest
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-04-10 22:36:12 +0000
committerAlan Conway <aconway@apache.org>2007-04-10 22:36:12 +0000
commit842a09455d5d243ca71088ec999e319d761df8fb (patch)
tree99a69a6514064c120a7d6b2b355e55254f76d628 /cpp/src/tests/quick_topictest
parent35cbdf5f3cd0dbcd2e8a0a81741db1082daec3a2 (diff)
downloadqpid-python-842a09455d5d243ca71088ec999e319d761df8fb.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/qpid@527325 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/quick_topictest')
-rwxr-xr-xcpp/src/tests/quick_topictest6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/tests/quick_topictest b/cpp/src/tests/quick_topictest
index 9df5b5c84c..b1e63b9350 100755
--- a/cpp/src/tests/quick_topictest
+++ b/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