From 8a74f2a4808017f3a7b489f49d4a49c8074fb767 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Fri, 24 Mar 2017 04:29:06 +0100 Subject: make test: properly propagate exit status Change-Id: Ie9f48a0d5e0a9cd08eb8f07d49149eee40f04131 Signed-off-by: Klement Sekera (cherry picked from commit 0c8ad446db72078a2255329c2cfaced517829c78) --- test/run_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()) -- cgit 1.2.3-korg