summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-04-28 20:30:23 +0000
committerStephen D. Huston <shuston@apache.org>2010-04-28 20:30:23 +0000
commit25f62a4e00feccbac97bf5ce4e7a2dff7961786a (patch)
treea2195ac8d271fb629e7da68df2218f566b7e3bc1
parent58cdb48940860621befd579f75a444796b221690 (diff)
downloadqpid-python-25f62a4e00feccbac97bf5ce4e7a2dff7961786a.tar.gz
Fix PYTHONPATH to pick federation from the tests source dir.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939078 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/src/tests/run_federation_tests.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/run_federation_tests.ps1 b/cpp/src/tests/run_federation_tests.ps1
index bbbe0f3bf0..35353a870f 100644
--- a/cpp/src/tests/run_federation_tests.ps1
+++ b/cpp/src/tests/run_federation_tests.ps1
@@ -73,7 +73,7 @@ trap {
&start_brokers
"Running federation tests using brokers on ports $env:LOCAL_PORT $env:REMOTE_PORT"
-$env:PYTHONPATH="$PYTHON_DIR;$PYTHON_TEST_DIR;$env:PYTHONPATH;$QMF_LIB"
+$env:PYTHONPATH="$srcdir;$PYTHON_DIR;$PYTHON_TEST_DIR;$env:PYTHONPATH;$QMF_LIB"
$tests = "*"
Invoke-Expression "python $PYTHON_DIR/qpid-python-test -m federation -b localhost:$env:LOCAL_PORT -Dremote-port=$env:REMOTE_PORT $tests" | Out-Default
$RETCODE=$LASTEXITCODE