diff options
Diffstat (limited to 'test/functional/test_runner.py')
-rwxr-xr-x | test/functional/test_runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index a23c5f7333..4d66ea97c8 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -473,7 +473,7 @@ def main(): if not enable_bitcoind: print("No functional tests to run.") print("Rerun ./configure with --with-daemon and then make") - sys.exit(0) + sys.exit(1) # Build list of tests test_list = [] @@ -522,7 +522,7 @@ def main(): if not test_list: print("No valid test scripts specified. Check that your test is in one " "of the test lists in test_runner.py, or run test_runner.py with no arguments to run all tests") - sys.exit(0) + sys.exit(1) if args.help: # Print help for test_runner.py, then print help of the first script (with args removed) and exit. |