diff options
author | 2017-03-24 04:29:06 +0100 | |
---|---|---|
committer | 2017-03-27 17:57:41 +0000 | |
commit | 0c8ad446db72078a2255329c2cfaced517829c78 (patch) | |
tree | 4adaa5c95e82071b367d6de0c02917d0601343a7 | |
parent | 2e7fbcc08152da5c6a17ed80ba08cd37edec6c8c (diff) |
make test: properly propagate exit status
Change-Id: Ie9f48a0d5e0a9cd08eb8f07d49149eee40f04131
Signed-off-by: Klement Sekera <ksekera@cisco.com>
-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 39b09368..1b9c677d 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()) |