summaryrefslogtreecommitdiff
path: root/cpp/src/tests/Makefile.am
diff options
context:
space:
mode:
authorMichael Goulish <mgoulish@apache.org>2009-09-18 16:53:50 +0000
committerMichael Goulish <mgoulish@apache.org>2009-09-18 16:53:50 +0000
commit34c2b770dd9a2b8d59e0c779e815704a6da0824c (patch)
tree1f861e9f08b3c15c49c849808f8ab7df749a1144 /cpp/src/tests/Makefile.am
parentbf4338857280ae51b8b1bb59c6151cdfa2cf1791 (diff)
downloadqpid-python-34c2b770dd9a2b8d59e0c779e815704a6da0824c.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/qpid@816715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/Makefile.am')
-rw-r--r--cpp/src/tests/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am
index a15ba3578c..8ce40536d6 100644
--- a/cpp/src/tests/Makefile.am
+++ b/cpp/src/tests/Makefile.am
@@ -349,3 +349,11 @@ 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 :
+ @echo "Hi, Mick!"
+ ( cd ../../../python ; make install EXEC_PREFIX=temp PYTHON_LIB=temp AMQP_SPEC_DIR=$${PWD}/../specs )
+
+