diff options
author | katesalazar <52637275+katesalazar@users.noreply.github.com> | 2021-10-01 12:51:17 +0200 |
---|---|---|
committer | katesalazar <mercedes.catherine.salazar@gmail.com> | 2021-10-04 08:08:52 +0200 |
commit | 2198f79e87b3a8bfcda59e51225ab4cb789ccc53 (patch) | |
tree | 9cb69d3b0ec9c71fd41714d6848633b4319d7e8d /test/functional/test_runner.py | |
parent | 35a31d5f7e9cd71a210c1ed10abc9d772ff36049 (diff) | |
download | bitcoin-2198f79e87b3a8bfcda59e51225ab4cb789ccc53.tar.xz |
Add an argparse abbreviated mode to --failfast
Short options should only be a single character. If not, they can't be
concatenated in a single "-word" (from review by luke-jr).
F is chosen instead of f, because f could be reserved to the nested
wallet_hd.py (test_framework/test_framework.py) arguments parser.
Diffstat (limited to 'test/functional/test_runner.py')
-rwxr-xr-x | test/functional/test_runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py index bb84962b75..ff69360bda 100755 --- a/test/functional/test_runner.py +++ b/test/functional/test_runner.py @@ -344,7 +344,7 @@ def main(): parser.add_argument('--keepcache', '-k', action='store_true', help='the default behavior is to flush the cache directory on startup. --keepcache retains the cache from the previous testrun.') parser.add_argument('--quiet', '-q', action='store_true', help='only print dots, results summary and failure logs') parser.add_argument('--tmpdirprefix', '-t', default=tempfile.gettempdir(), help="Root directory for datadirs") - parser.add_argument('--failfast', action='store_true', help='stop execution after the first test failure') + parser.add_argument('--failfast', '-F', action='store_true', help='stop execution after the first test failure') parser.add_argument('--filter', help='filter scripts to run by regular expression') args, unknown_args = parser.parse_known_args() |