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 87
87
DOCKER_EXEC echo " Free disk space:"
88
88
DOCKER_EXEC df -h
89
89
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
92
93
DOCKER_EXEC git clone --depth=1 https://github.com/bitcoin-core/qa-assets " ${DIR_QA_ASSETS} "
93
94
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
96
96
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
97
101
fi
98
102
99
103
DOCKER_EXEC mkdir -p " ${BASE_SCRATCH_DIR} /sanitizer-output/"
You can’t perform that action at this time.
0 commit comments