Add the option (--failfast) to stop the functional test runner's execution when it encounters the first failure.
Also cleans up run_test's arguments list (no more mutable default for args) and call site.
Add the option (--failfast) to stop the functional test runner's execution when it encounters the first failure.
Also cleans up run_test's arguments list (no more mutable default for args) and call site.
296 | + combined_logs_len=args.combinedlogslen, 297 | + failfast=args.failfast, 298 | + ) 299 | + 300 | +def run_tests(test_list, src_dir, build_dir, tmpdir, 301 | + jobs=1, enable_coverage=False, args=None, combined_logs_len=0, failfast=False):
nit: Can keep this in one line, so that it doesn't break when you e.g. grep for run_tests.
@MarcoFalke thanks for the look. I've addressed the formatting nit and the process cleanup issue you pointed out.
Concept ACK. Any reason not to enable this for Travis?
Also cleans up run_test's arguments list (no more mutable default for `args`)
and call site.
Concept ACK
Concept ACK
Very nice!
Tested ACK 58f9a0a002ce45597ce2ed9e1902fb6ac608f014
I made the first test that runs here (wallet_hd.py) fail.
Without --failfast it continues after the error.
With --failfast it stopped immediately.