diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-03-24 04:29:06 +0100 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2017-04-21 11:22:34 +0000 |
commit | 8a74f2a4808017f3a7b489f49d4a49c8074fb767 (patch) | |
tree | 246bc4c2d39e0b069ec3807589c39dc6359644df /test/run_tests.py | |
parent | 4cb23574433375bfba4800e3d6bc5c4ce69ad69b (diff) |
make test: properly propagate exit status
Change-Id: Ie9f48a0d5e0a9cd08eb8f07d49149eee40f04131
Signed-off-by: Klement Sekera <ksekera@cisco.com>
(cherry picked from commit 0c8ad446db72078a2255329c2cfaced517829c78)
Diffstat (limited to 'test/run_tests.py')
-rw-r--r-- | test/run_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/run_tests.py b/test/run_tests.py index 39b093685da..1b9c677df26 100644 --- a/test/run_tests.py +++ b/test/run_tests.py @@ -58,4 +58,5 @@ if __name__ == '__main__': for d in args.dir: print("Adding tests from directory tree %s" % d) add_from_dir(suite, d) - VppTestRunner(verbosity=verbose, failfast=failfast).run(suite) + sys.exit(not VppTestRunner(verbosity=verbose, + failfast=failfast).run(suite).wasSuccessful()) |