Author: shuston
Date: Wed Dec 9 01:29:40 2009
New Revision: 888670
URL: http://svn.apache.org/viewvc?rev=888670&view=rev
Log:
Set up python test list correctly and get the correct exit code from a test
process; resolves QPID-2252
Modified:
qpid/trunk/qpid/cpp/src/tests/python_tests.ps1
qpid/trunk/qpid/cpp/src/tests/run_test.ps1
Modified: qpid/trunk/qpid/cpp/src/tests/python_tests.ps1
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/python_tests.ps1?rev=888670&r1=888669&r2=888670&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/python_tests.ps1 (original)
+++ qpid/trunk/qpid/cpp/src/tests/python_tests.ps1 Wed Dec 9 01:29:40 2009
@@ -33,7 +33,7 @@
$tests = "$env:PYTHON_TESTS"
}
else {
- $tests = "*"
+ $tests = "$args"
}
#cd $PYTHON_DIR
Modified: qpid/trunk/qpid/cpp/src/tests/run_test.ps1
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/run_test.ps1?rev=888670&r1=888669&r2=888670&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/run_test.ps1 (original)
+++ qpid/trunk/qpid/cpp/src/tests/run_test.ps1 Wed Dec 9 01:29:40 2009
@@ -69,4 +69,5 @@
# ReadToEnd() works, but doesn't show any output until the program exits.
#$p.StandardOutput.ReadToEnd()
$p.WaitForExit()
-exit $p.ExitCode
+$status = $p.ExitCode
+exit $status
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]