summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/run_cluster_tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-09-28 21:17:31 +0000
committerAlan Conway <aconway@apache.org>2009-09-28 21:17:31 +0000
commit425d83fc95aa42e155341aac20b814d4bf7bae08 (patch)
tree7b0e8d1ff13b566d6e844a71f1da0fbadb0ee3f3 /qpid/cpp/src/tests/run_cluster_tests
parent2765f90b4b80043f8f3d8e15afe14ad8e4cbd49e (diff)
downloadqpid-python-425d83fc95aa42e155341aac20b814d4bf7bae08.tar.gz
Fix python tests to work in VPATH builds and for make distcheck.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@819738 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/run_cluster_tests')
-rwxr-xr-xqpid/cpp/src/tests/run_cluster_tests6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/run_cluster_tests b/qpid/cpp/src/tests/run_cluster_tests
index c8fbe14c21..c89e657243 100755
--- a/qpid/cpp/src/tests/run_cluster_tests
+++ b/qpid/cpp/src/tests/run_cluster_tests
@@ -26,12 +26,12 @@ if [ -z ${top_builddir} -o -z ${srcdir} ]; then
top_builddir=${srcdir}/../../
fi
TEST_DIR=${top_builddir}/src/tests
-PYTHON_DIR=${srcdir}/../../../python/temp
+. `dirname $0`/python_env.sh
if test -z $1; then
- CLUSTER_TEST="${PYTHON_DIR}/qpid-python-test -m cluster_tests cluster_tests.ShortTests.\*"
+ CLUSTER_TEST="$PYTHON_COMMANDS/qpid-python-test -m cluster_tests cluster_tests.ShortTests.\*"
else
- CLUSTER_TEST="${PYTHON_DIR}/qpid-python-test -m cluster_tests cluster_tests.LongTests.\*"
+ CLUSTER_TEST="$PYTHON_COMMANDS/qpid-python-test -m cluster_tests cluster_tests.LongTests.\*"
echo "Running $1..."
fi