diff options
author | jnewbery <john@johnnewbery.com> | 2016-10-04 13:02:06 -0400 |
---|---|---|
committer | jnewbery <john@johnnewbery.com> | 2016-10-05 09:16:08 -0400 |
commit | 621441a7a72ec0b17594a24a2c5fedcac0c605f6 (patch) | |
tree | 7c38dba898de10794da98809e87c5dd3ac120544 /src/test/bitcoin-util-test.py | |
parent | a7e5cbb209d4aeb8c2e4c58c92bf214759998056 (diff) |
add verbose mode to bitcoin-util-test.py
Diffstat (limited to 'src/test/bitcoin-util-test.py')
-rwxr-xr-x | src/test/bitcoin-util-test.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/bitcoin-util-test.py b/src/test/bitcoin-util-test.py index 225b3324e9..3099506d6d 100755 --- a/src/test/bitcoin-util-test.py +++ b/src/test/bitcoin-util-test.py @@ -19,11 +19,14 @@ test/bitcoin-util-test.py --src=[srcdir] if __name__ == '__main__': + verbose = False try: srcdir = os.environ["srcdir"] except: parser = argparse.ArgumentParser(description=help_text) parser.add_argument('-s', '--srcdir') + parser.add_argument('-v', '--verbose', action='store_true') args = parser.parse_args() srcdir = args.srcdir - bctest.bctester(srcdir + "/test/data", "bitcoin-util-test.json", buildenv) + verbose = args.verbose + bctest.bctester(srcdir + "/test/data", "bitcoin-util-test.json", buildenv, verbose = verbose) |