summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/Makefile.am
diff options
context:
space:
mode:
authorMichael Goulish <mgoulish@apache.org>2009-09-23 09:39:12 +0000
committerMichael Goulish <mgoulish@apache.org>2009-09-23 09:39:12 +0000
commitc6f747f6a5016ff73d9eb4320e6eca572c16e52c (patch)
tree57b8af26d9712d590f4dc1a770ab5cc11dfd0a44 /qpid/cpp/src/tests/Makefile.am
parent5c3771916098d12b42e4e4dbc7357f9c92da1b55 (diff)
downloadqpid-python-c6f747f6a5016ff73d9eb4320e6eca572c16e52c.tar.gz
rhs's new system for python allows us to build python test
code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@818020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Makefile.am')
-rw-r--r--qpid/cpp/src/tests/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/Makefile.am b/qpid/cpp/src/tests/Makefile.am
index a15ba3578c..a95051fe95 100644
--- a/qpid/cpp/src/tests/Makefile.am
+++ b/qpid/cpp/src/tests/Makefile.am
@@ -349,3 +349,10 @@ EXTRA_DIST+=fanout_perftest shared_perftest multiq_perftest topic_perftest run_f
check-long:
$(MAKE) check TESTS="$(LONG_TESTS)" VALGRIND=
+
+all: python_prep
+
+python_prep :
+ ( cd ../../../python ; make install EXEC_PREFIX=temp PYTHON_LIB=temp AMQP_SPEC_DIR=$${PWD}/../specs )
+
+