Skip to content

Commit

Permalink
Merge #8018: Autofind rpc tests --srcdir
Browse files Browse the repository at this point in the history
5ea4508 Autofind rpc tests --srcdir (Jonas Schnelli)
  • Loading branch information
MarcoFalke committed May 9, 2016
2 parents 409a8a1 + 5ea4508 commit 3e90fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/rpc-tests/test_framework/test_framework.py
Expand Up @@ -102,7 +102,7 @@ def main(self):
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")
Expand Down

0 comments on commit 3e90fe6

Please sign in to comment.