diff options
author | Alan Conway <aconway@apache.org> | 2014-01-28 19:25:36 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2014-01-28 19:25:36 +0000 |
commit | 4dc561947d4916692d360c5a001e37c78132d2cb (patch) | |
tree | 5aaeb1d46c155a020f69d02d0644422970f87c42 /python | |
parent | f274057d61b4c3bb67940ba0b7cf2662da62a08c (diff) | |
download | qpid-python-4dc561947d4916692d360c5a001e37c78132d2cb.tar.gz |
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
Diffstat (limited to 'python')
-rwxr-xr-x | python/qpid-python-test | 2 |
1 files changed, 1 insertions, 1 deletions
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) |