summaryrefslogtreecommitdiff
path: root/qpid/cpp
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
commit48a2d234185223f79c01ae2f3817743ed90cc25b (patch)
treef7b1d428f70f3ca93c36c263b259d53498ca8cd1 /qpid/cpp
parentdac7a9ee9c6d3fe1ecfb1e3fcca108af55fcf703 (diff)
downloadqpid-python-48a2d234185223f79c01ae2f3817743ed90cc25b.tar.gz
Fix PYTHONPATH to pick federation from the tests source dir.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@939078 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/tests/run_federation_tests.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/run_federation_tests.ps1 b/qpid/cpp/src/tests/run_federation_tests.ps1
index bbbe0f3bf0..35353a870f 100644
--- a/qpid/cpp/src/tests/run_federation_tests.ps1
+++ b/qpid/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