diff options
author | Alan Conway <aconway@apache.org> | 2008-05-14 21:51:28 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-05-14 21:51:28 +0000 |
commit | 640417f6dfa3e9bb873a199566409e45ece739ef (patch) | |
tree | a8f74fecd09a99197ccaa152dac00a6047b51d62 /cpp | |
parent | 9f7850a4dd9dfdabc293a5961f0bbc862813a6d0 (diff) | |
download | qpid-python-640417f6dfa3e9bb873a199566409e45ece739ef.tar.gz |
Python tests running in rpmbuild.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656443 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/Makefile.am | 2 | ||||
-rwxr-xr-x | cpp/src/tests/python_tests | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/Makefile.am b/cpp/Makefile.am index a97020c701..7d128e557b 100644 --- a/cpp/Makefile.am +++ b/cpp/Makefile.am @@ -30,7 +30,7 @@ clean-local: rpmbuild: $(SPEC) dist-gzip mkdir -p $(RPMDIRS) - rpmbuild $(RPMMACROS) $(RPMOPTS) $(SPEC) + QPID_PYTHON_DIR=$(abs_top_srcdir)/../python rpmbuild $(RPMMACROS) $(RPMOPTS) $(SPEC) if HAS_RPMLINT rpmlint `find rpm -name '*.rpm'` else diff --git a/cpp/src/tests/python_tests b/cpp/src/tests/python_tests index e4b70f5ff5..553c5f4cdb 100755 --- a/cpp/src/tests/python_tests +++ b/cpp/src/tests/python_tests @@ -3,7 +3,7 @@ QPID_PORT=${QPID_PORT:-5672} PYTHON_TESTS=${PYTHON_TESTS:-$*} MY_DIR=$(dirname $(which $0)) -PYTHON_DIR=${MY_DIR}/../../../python +PYTHON_DIR=${QPID_PYTHON_DIR:-${MY_DIR}/../../../python} run() { SPEC=$1 |