File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 8787DOCKER_EXEC echo " Free disk space:"
8888DOCKER_EXEC df -h
8989
90- if [ " $RUN_FUZZ_TESTS " = " true" ] || [ " $RUN_UNIT_TESTS " = " true" ] || [ " $RUN_UNIT_TESTS_SEQUENTIAL " = " true" ]; then
91- if [ ! -d " ${DIR_QA_ASSETS} " ]; then
90+ if [ " $RUN_FUZZ_TESTS " = " true" ]; then
91+ export DIR_FUZZ_IN=${DIR_QA_ASSETS} /fuzz_seed_corpus/
92+ if [ ! -d " $DIR_FUZZ_IN " ]; then
9293 DOCKER_EXEC git clone --depth=1 https://github.com/bitcoin-core/qa-assets " ${DIR_QA_ASSETS} "
9394 fi
94-
95- export DIR_FUZZ_IN=${DIR_QA_ASSETS} /fuzz_seed_corpus/
95+ elif [ " $RUN_UNIT_TESTS " = " true" ] || [ " $RUN_UNIT_TESTS_SEQUENTIAL " = " true" ]; then
9696 export DIR_UNIT_TEST_DATA=${DIR_QA_ASSETS} /unit_test_data/
97+ if [ ! -d " $DIR_UNIT_TEST_DATA " ]; then
98+ DOCKER_EXEC mkdir -p " $DIR_UNIT_TEST_DATA "
99+ DOCKER_EXEC curl --location --fail https://github.com/bitcoin-core/qa-assets/raw/main/unit_test_data/script_assets_test.json -o " ${DIR_UNIT_TEST_DATA} /script_assets_test.json"
100+ fi
97101fi
98102
99103DOCKER_EXEC mkdir -p " ${BASE_SCRATCH_DIR} /sanitizer-output/"
You can’t perform that action at this time.
0 commit comments