diff options
author | 2019-05-31 16:25:19 +0200 | |
---|---|---|
committer | 2019-06-13 02:26:29 +0000 | |
commit | 866d47a41d198680426c095362d97ed218e4f94f (patch) | |
tree | 231b3039c208ccc3bbeebae95d2762c58c296d82 /test | |
parent | d728297d6747c6a0ee07c8420ef3803616dc49dd (diff) |
[TEST] - Return value
Change-Id: I9cd4e0c48c294fe16513bfc2955cbc172ee465a5
Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'test')
-rwxr-xr-x | test/run_test.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/run_test.py b/test/run_test.py index 63c3f63..b7898fb 100755 --- a/test/run_test.py +++ b/test/run_test.py @@ -108,4 +108,11 @@ if __name__ == '__main__': full_suite.addTests(suite) result = SweetcombTestRunner(verbosity=1, print_summary=True).run(full_suite) + was_successful = result.wasSuccessful() + #if not was_successful: + #for test_case_info in result.failed_test_cases_info: + #handle_failed_suite(test_case_info.logger, + #test_case_info.tempdir, + #test_case_info.vpp_pid) + sys.exit(not was_successful) |