qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shus...@apache.org
Subject svn commit: r888670 - in /qpid/trunk/qpid/cpp/src/tests: python_tests.ps1 run_test.ps1
Date Wed, 09 Dec 2009 01:29:40 GMT
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:commits-subscribe@qpid.apache.org


Mime
View raw message