diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-10-08 21:22:19 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-10-08 21:23:42 +0200 |
commit | e66cc1d58e16bf1650dd6479fed64ecaca8c6098 (patch) | |
tree | 4839fcf0584f5549e5cd4144c0e894ee0b26fdb0 /src/test/bitcoin-util-test.py | |
parent | f137753a2dcd8229f89d1d1ac28039364e5850b4 (diff) | |
parent | 621441a7a72ec0b17594a24a2c5fedcac0c605f6 (diff) | |
download | bitcoin-e66cc1d58e16bf1650dd6479fed64ecaca8c6098.tar.xz |
Merge #8881: Add some verbose logging to bitcoin-util-test.py
621441a add verbose mode to bitcoin-util-test.py (jnewbery)
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) |