You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2014/01/28 20:25:37 UTC
svn commit: r1562167 - /qpid/trunk/qpid/python/qpid-python-test
Author: aconway
Date: Tue Jan 28 19:25:36 2014
New Revision: 1562167
URL: http://svn.apache.org/r1562167
Log:
QPID-5520: qpid-python-test should not fail for skipped tests.
The qpid-python-test script has a facility for skipping tests (by raising a
Skipped exception) which works fine BUT if tests are skipped the script exits
with non-0 status - i.e. failure.
With this commit the script exits with a 0 exit status (success) unless there
are actual failures.
See discussion at: http://apache-qpid-developers.2158895.n2.nabble.com/qpid-python-test-script-should-skipped-tests-be-considered-failures-td7592307.html
Modified:
qpid/trunk/qpid/python/qpid-python-test
Modified: qpid/trunk/qpid/python/qpid-python-test
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/python/qpid-python-test?rev=1562167&r1=1562166&r2=1562167&view=diff
==============================================================================
--- qpid/trunk/qpid/python/qpid-python-test (original)
+++ qpid/trunk/qpid/python/qpid-python-test Tue Jan 28 19:25:36 2014
@@ -633,7 +633,7 @@ if not list_only:
if xmlr:
xmlr.end()
-if failed or skipped:
+if failed:
sys.exit(1)
else:
sys.exit(0)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org