mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Merge #8018: Autofind rpc tests --srcdir
5ea4508
Autofind rpc tests --srcdir (Jonas Schnelli)
This commit is contained in:
parent
19a6c779e7
commit
24ff341025
@ -102,7 +102,7 @@ class BitcoinTestFramework(object):
|
||||
help="Leave dashds and test.* datadir on exit or error")
|
||||
parser.add_option("--noshutdown", dest="noshutdown", default=False, action="store_true",
|
||||
help="Don't stop dashds 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 dashd/dash-cli (default: %default)")
|
||||
parser.add_option("--tmpdir", dest="tmpdir", default=tempfile.mkdtemp(prefix="test"),
|
||||
help="Root directory for datadirs")
|
||||
|
Loading…
Reference in New Issue
Block a user