From 91dd425b4ab5f67b0107115fbe62531bb4846a08 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 18 Oct 2017 00:55:52 -0700 Subject: [PATCH 1/2] Add libsnark tests to full_test_suite.py --- qa/zcash/full_test_suite.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/zcash/full_test_suite.py b/qa/zcash/full_test_suite.py index e01845635..0bfc8a119 100755 --- a/qa/zcash/full_test_suite.py +++ b/qa/zcash/full_test_suite.py @@ -129,6 +129,7 @@ STAGES = [ 'no-dot-so', 'util-test', 'secp256k1', + 'libsnark', 'univalue', 'rpc', ] @@ -140,6 +141,7 @@ STAGE_COMMANDS = { 'no-dot-so': ensure_no_dot_so_in_depends, 'util-test': util_test, 'secp256k1': ['make', '-C', repofile('src/secp256k1'), 'check'], + 'libsnark': ['make', '-C', repofile('src'), 'libsnark-tests'], 'univalue': ['make', '-C', repofile('src/univalue'), 'check'], 'rpc': [repofile('qa/pull-tester/rpc-tests.sh')], } From 692bf7a6df56da50f78efc6e77bbaafab0fcbc95 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 18 Oct 2017 00:56:32 -0700 Subject: [PATCH 2/2] 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: