Browse Source

Merge #8018: Autofind rpc tests --srcdir

5ea4508 Autofind rpc tests --srcdir (Jonas Schnelli)
0.13
MarcoFalke 9 years ago
parent
commit
3e90fe6534
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137
  1. 2
      qa/rpc-tests/test_framework/test_framework.py

2
qa/rpc-tests/test_framework/test_framework.py

@ -102,7 +102,7 @@ class BitcoinTestFramework(object): @@ -102,7 +102,7 @@ class BitcoinTestFramework(object):
help="Leave bitcoinds and test.* datadir on exit or error")
parser.add_option("--noshutdown", dest="noshutdown", default=False, action="store_true",
help="Don't stop bitcoinds after the test execution")
parser.add_option("--srcdir", dest="srcdir", default="../../src",
parser.add_option("--srcdir", dest="srcdir", default=os.path.normpath(os.path.dirname(os.path.realpath(__file__))+"/../../../src"),
help="Source directory containing bitcoind/bitcoin-cli (default: %default)")
parser.add_option("--tmpdir", dest="tmpdir", default=tempfile.mkdtemp(prefix="test"),
help="Root directory for datadirs")

Loading…
Cancel
Save