Skip to content

Commit 2474a50

Browse files
committed
Set LD_LIBRARY_PATH consistently in travis tests
Makes it possible to substitute bitcoin-qt and bitcoin-node in place of bitcoind in python tests, or to link bitcoind differently.
1 parent d05a20b commit 2474a50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis/test_06_script_b.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ fi
1616

1717
if [ "$RUN_FUNCTIONAL_TESTS" = "true" ]; then
1818
BEGIN_FOLD functional-tests
19-
DOCKER_EXEC test/functional/test_runner.py --ci --combinedlogslen=4000 ${TEST_RUNNER_EXTRA} --quiet --failfast
19+
DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib test/functional/test_runner.py --ci --combinedlogslen=4000 ${TEST_RUNNER_EXTRA} --quiet --failfast
2020
END_FOLD
2121
fi
2222

2323
if [ "$RUN_FUZZ_TESTS" = "true" ]; then
2424
BEGIN_FOLD fuzz-tests
25-
DOCKER_EXEC test/fuzz/test_runner.py -l DEBUG ${DIR_FUZZ_IN}
25+
DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib test/fuzz/test_runner.py -l DEBUG ${DIR_FUZZ_IN}
2626
END_FOLD
2727
fi
2828

0 commit comments

Comments
 (0)