From 585ea14f686fcd76714f37416040e269d503af9e Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 23 2018 18:40:12 +0000 Subject: Ensure test fail on jenkins as well by propagating the return code Signed-off-by: Pierre-Yves Chibon --- diff --git a/runtests.py b/runtests.py index f6d993f..ba79c48 100755 --- a/runtests.py +++ b/runtests.py @@ -321,7 +321,7 @@ def do_run(args): continue suites.append(fname.replace(".py", "")) - _run_test_suites(args, suites) + return _run_test_suites(args, suites) def do_rerun(args): @@ -360,7 +360,7 @@ def do_rerun(args): if suite.startswith(("py2-", "py3-")): suites.append(suite[4:]) - _run_test_suites(args, set(suites)) + return _run_test_suites(args, set(suites)) def _get_pyvers(args):