From 79f63488344f522504df67c2084a06336d9cf601 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 28 Jan 2014 19:25:36 +0000 Subject: 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 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1562167 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid-python-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/qpid-python-test b/python/qpid-python-test index 13f31fe78b..dfe6a6fc7a 100755 --- a/python/qpid-python-test +++ b/python/qpid-python-test @@ -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) -- cgit v1.2.1