summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Makefile.am
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-14 15:39:02 +0000
committerAlan Conway <aconway@apache.org>2008-05-14 15:39:02 +0000
commit81ce314de5b5d7ffaa76a608cb54023e89e998ae (patch)
treef83bb8a2e76ec0d9e1e465bb3a7d9c2e0bb4feac /qpid/cpp/src/tests/Makefile.am
parent9cc70bbe0ed008653b050fe2e2fec0a90aa8ad1f (diff)
downloadqpid-python-81ce314de5b5d7ffaa76a608cb54023e89e998ae.tar.gz
Fix valgrind problems in VPATH builds.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@656320 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Makefile.am')
-rw-r--r--qpid/cpp/src/tests/Makefile.am13
1 files changed, 10 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/Makefile.am b/qpid/cpp/src/tests/Makefile.am
index cb060cb2b4..0c77f1c605 100644
--- a/qpid/cpp/src/tests/Makefile.am
+++ b/qpid/cpp/src/tests/Makefile.am
@@ -125,10 +125,17 @@ testprogs= \
client_test \
topic_listener \
topic_publisher
-# echo_service
check_PROGRAMS += $(testprogs) interop_runner publish consume
+# Copy the SVN valgrind files to the real valgrind files so we will
+# have the real files in the working dir for VPATH or in-tree builds.
+check_DATA = .valgrindrc .valgrind.suppress
+.valgrindrc: valgrindrc
+ cp $^ $@
+.valgrind.suppress: valgrind.suppress
+ cp $^ $@
+
TESTS_ENVIRONMENT = VALGRIND=$(VALGRIND) srcdir=$(srcdir) QPID_DATA_DIR= $(srcdir)/run_test
system_tests = client_test quick_perftest quick_topictest
@@ -141,8 +148,8 @@ EXTRA_DIST += \
quick_perftest \
topictest \
run_federation_tests \
- .valgrind.supp \
- .valgrindrc \
+ valgrind.suppress \
+ valgrindrc \
MessageUtils.h \
MockConnectionInputHandler.h \
TxMocks.h \