From 692bf7a6df56da50f78efc6e77bbaafab0fcbc95 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 18 Oct 2017 00:56:32 -0700 Subject: [PATCH] Add --list-stages argument to full_test_suite.py --- qa/zcash/full_test_suite.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qa/zcash/full_test_suite.py b/qa/zcash/full_test_suite.py index 0bfc8a119..d8a076420 100755 --- a/qa/zcash/full_test_suite.py +++ b/qa/zcash/full_test_suite.py @@ -171,10 +171,17 @@ def run_stage(stage): def main(): parser = argparse.ArgumentParser() + parser.add_argument('--list-stages', dest='list', action='store_true') parser.add_argument('stage', nargs='*', default=STAGES, help='One of %s'%STAGES) args = parser.parse_args() + # Check for list + if args.list: + for s in STAGES: + print(s) + sys.exit(0) + # Check validity of stages for s in args.stage: if s not in STAGES: