Skip to content

Commit 3e90fe6

Browse files
author
MarcoFalke
committed
Merge #8018: Autofind rpc tests --srcdir
5ea4508 Autofind rpc tests --srcdir (Jonas Schnelli)
2 parents 409a8a1 + 5ea4508 commit 3e90fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qa/rpc-tests/test_framework/test_framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def main(self):
102102
help="Leave bitcoinds and test.* datadir on exit or error")
103103
parser.add_option("--noshutdown", dest="noshutdown", default=False, action="store_true",
104104
help="Don't stop bitcoinds after the test execution")
105-
parser.add_option("--srcdir", dest="srcdir", default="../../src",
105+
parser.add_option("--srcdir", dest="srcdir", default=os.path.normpath(os.path.dirname(os.path.realpath(__file__))+"/../../../src"),
106106
help="Source directory containing bitcoind/bitcoin-cli (default: %default)")
107107
parser.add_option("--tmpdir", dest="tmpdir", default=tempfile.mkdtemp(prefix="test"),
108108
help="Root directory for datadirs")

0 commit comments

Comments
 (0)