summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2010-04-21 21:25:55 +0000
committerStephen D. Huston <shuston@apache.org>2010-04-21 21:25:55 +0000
commit26d81efa13c8878f4584a721a3f0ea72ce27775f (patch)
tree44abe134dcdd4e4eeacebd003802fc3e14f8547f /cpp/src
parent5d6af32600f3e42796358a73fa44432e214379a7 (diff)
downloadqpid-python-26d81efa13c8878f4584a721a3f0ea72ce27775f.tar.gz
Add QMF_LIB to PYTHONPATH to pick up qmf.console
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936520 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/tests/run_acl_tests.ps19
1 files changed, 6 insertions, 3 deletions
diff --git a/cpp/src/tests/run_acl_tests.ps1 b/cpp/src/tests/run_acl_tests.ps1
index e2b388a43f..81c10e03f0 100644
--- a/cpp/src/tests/run_acl_tests.ps1
+++ b/cpp/src/tests/run_acl_tests.ps1
@@ -25,8 +25,11 @@ if (!(Test-Path $PYTHON_DIR -pathType Container)) {
"Skipping acl tests as python libs not found"
exit 1
}
-$env:PYTHONPATH="$PYTHON_DIR;$srcdir"
-$BROKER_EXE = ""
+
+$PYTHON_TEST_DIR = "$srcdir\..\..\..\tests\src\py"
+$QMF_LIB = "$srcdir\..\..\..\extras\qmf\src\py"
+$env:PYTHONPATH="$PYTHON_DIR;$srcdir;$PYTHON_TEST_DIR;$QMF_LIB"
+$Global:BROKER_EXE = ""
Function start_broker($acl_options)
{
@@ -58,7 +61,7 @@ Function start_broker($acl_options)
Function stop_broker
{
- "Stoppping $BROKER_EXE"
+ "Stopping $BROKER_EXE"
Invoke-Expression "$BROKER_EXE --no-module-dir -q --port $env:BROKER_PORT" | Write-Output
Remove-Item qpidd.port
}