commit | 50d42eb224fe4159c6cc5652f2f6c387f498b031 | [log] [tgz] |
---|---|---|
author | Rich Lane <rich.lane@bigswitch.com> | Mon Jul 16 11:57:03 2012 -0700 |
committer | Rich Lane <rich.lane@bigswitch.com> | Mon Jul 16 11:57:03 2012 -0700 |
tree | 1eacf7e76062c3e0b00f1c9b88192efba17a8b3a | |
parent | 28dd03d6c5d04808f2b4642d91147703500a3302 [diff] [blame] |
return error status on test errors as well as failures
diff --git a/tests/oft b/tests/oft index f25605d..2dc6289 100755 --- a/tests/oft +++ b/tests/oft
@@ -571,5 +571,5 @@ logging.info("Skipped " + str(testutils.skipped_test_count) + ts) print("Skipped " + str(testutils.skipped_test_count) + ts) logging.info("*** TEST RUN END : " + time.asctime()) - if result.failures: + if result.failures or result.errors: exit(1)