File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ export RUN_TIDY=${RUN_TIDY:-false}
46
46
# This is needed because some ci machines have slow CPU or disk, so sanitizers
47
47
# might be slow or a reindex might be waiting on disk IO.
48
48
export TEST_RUNNER_TIMEOUT_FACTOR=${TEST_RUNNER_TIMEOUT_FACTOR:- 40}
49
- export TEST_RUNNER_ENV=${TEST_RUNNER_ENV:- }
50
49
export RUN_FUZZ_TESTS=${RUN_FUZZ_TESTS:- false}
51
50
52
51
# Randomize test order.
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ export DEP_OPTS="DEBUG=1 MULTIPROCESS=1"
14
14
export GOAL=" install"
15
15
export BITCOIN_CONFIG=" --enable-debug CC='clang -m32' CXX='clang++ -m32' \
16
16
LDFLAGS='--rtlib=compiler-rt -lgcc_s' CPPFLAGS='-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE'"
17
- export TEST_RUNNER_ENV= " BITCOIND=bitcoin-node"
17
+ export BITCOIND=bitcoin-node # Used in functional tests
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ CI_EXEC git config --global --add safe.directory \"*\"
84
84
85
85
CI_EXEC mkdir -p " ${BINS_SCRATCH_DIR} "
86
86
87
- CI_EXEC " ${BASE_ROOT_DIR} /ci/test/06_script_b .sh"
87
+ CI_EXEC " ${BASE_ROOT_DIR} /ci/test/03_test_script .sh"
88
88
89
89
if [ -z " $DANGER_RUN_CI_ON_HOST " ]; then
90
90
echo " Stop and remove CI container by ID"
Original file line number Diff line number Diff line change @@ -163,15 +163,16 @@ if [ -n "$USE_VALGRIND" ]; then
163
163
fi
164
164
165
165
if [ " $RUN_UNIT_TESTS " = " true" ]; then
166
- bash -c " ${TEST_RUNNER_ENV} DIR_UNIT_TEST_DATA=${DIR_UNIT_TEST_DATA} LD_LIBRARY_PATH=${DEPENDS_DIR} /${HOST} /lib make $ MAKEJOBS check VERBOSE=1"
166
+ DIR_UNIT_TEST_DATA=" ${DIR_UNIT_TEST_DATA} " LD_LIBRARY_PATH=" ${DEPENDS_DIR} /${HOST} /lib" make " ${ MAKEJOBS} " check VERBOSE=1
167
167
fi
168
168
169
169
if [ " $RUN_UNIT_TESTS_SEQUENTIAL " = " true" ]; then
170
- bash -c " ${TEST_RUNNER_ENV} DIR_UNIT_TEST_DATA=${DIR_UNIT_TEST_DATA} LD_LIBRARY_PATH=${DEPENDS_DIR} /${HOST} /lib ${BASE_OUTDIR} /bin/test_bitcoin --catch_system_errors=no -l test_suite"
170
+ DIR_UNIT_TEST_DATA=" ${DIR_UNIT_TEST_DATA} " LD_LIBRARY_PATH=" ${DEPENDS_DIR} /${HOST} /lib" " ${BASE_OUTDIR} " /bin/test_bitcoin --catch_system_errors=no -l test_suite
171
171
fi
172
172
173
173
if [ " $RUN_FUNCTIONAL_TESTS " = " true" ]; then
174
- bash -c " LD_LIBRARY_PATH=${DEPENDS_DIR} /${HOST} /lib ${TEST_RUNNER_ENV} test/functional/test_runner.py --ci $MAKEJOBS --tmpdirprefix ${BASE_SCRATCH_DIR} /test_runner/ --ansi --combinedlogslen=99999999 --timeout-factor=${TEST_RUNNER_TIMEOUT_FACTOR} ${TEST_RUNNER_EXTRA} --quiet --failfast"
174
+ # shellcheck disable=SC2086
175
+ LD_LIBRARY_PATH=" ${DEPENDS_DIR} /${HOST} /lib" test/functional/test_runner.py --ci " ${MAKEJOBS} " --tmpdirprefix " ${BASE_SCRATCH_DIR} " /test_runner/ --ansi --combinedlogslen=99999999 --timeout-factor=" ${TEST_RUNNER_TIMEOUT_FACTOR} " ${TEST_RUNNER_EXTRA} --quiet --failfast
175
176
fi
176
177
177
178
if [ " ${RUN_TIDY} " = " true" ]; then
@@ -200,5 +201,6 @@ if [ "${RUN_TIDY}" = "true" ]; then
200
201
fi
201
202
202
203
if [ " $RUN_FUZZ_TESTS " = " true" ]; then
203
- bash -c " LD_LIBRARY_PATH=${DEPENDS_DIR} /${HOST} /lib test/fuzz/test_runner.py ${FUZZ_TESTS_CONFIG} $MAKEJOBS -l DEBUG ${DIR_FUZZ_IN} --empty_min_time=60"
204
+ # shellcheck disable=SC2086
205
+ LD_LIBRARY_PATH=" ${DEPENDS_DIR} /${HOST} /lib" test/fuzz/test_runner.py ${FUZZ_TESTS_CONFIG} " ${MAKEJOBS} " -l DEBUG " ${DIR_FUZZ_IN} " --empty_min_time=60
204
206
fi
You can’t perform that action at this time.
0 commit comments