summaryrefslogtreecommitdiffstats
path: root/test/run_tests.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2017-03-24 04:29:06 +0100
committerFlorin Coras <florin.coras@gmail.com>2017-03-27 17:57:41 +0000
commit0c8ad446db72078a2255329c2cfaced517829c78 (patch)
tree4adaa5c95e82071b367d6de0c02917d0601343a7 /test/run_tests.py
parent2e7fbcc08152da5c6a17ed80ba08cd37edec6c8c (diff)
make test: properly propagate exit status
Change-Id: Ie9f48a0d5e0a9cd08eb8f07d49149eee40f04131 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/run_tests.py')
-rw-r--r--test/run_tests.py3
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())