Do not clone qa-assets git repository if not necessary
This commit is contained in:
1 parent
3fc20abab0
commit
30450a1bd5
1 file changed
+7
-4
@@ -84,11 +84,14 @@ fi
|
|||||||
DOCKER_EXEC echo "Free disk space:"
|
DOCKER_EXEC echo "Free disk space:"
|
||||||
DOCKER_EXEC df -h
|
DOCKER_EXEC df -h
|
||||||
|
|
||||||
if [ ! -d ${DIR_QA_ASSETS} ]; then
|
if [ "$RUN_FUZZ_TESTS" = "true" ] || [ "$RUN_UNIT_TESTS" = "true" ] || [ "$RUN_UNIT_TESTS_SEQUENTIAL" = "true" ]; then
|
||||||
DOCKER_EXEC git clone --depth=1 https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS}
|
if [ ! -d ${DIR_QA_ASSETS} ]; then
|
||||||
|
DOCKER_EXEC git clone --depth=1 https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS}
|
||||||
|
fi
|
||||||
|
|
||||||
|
export DIR_FUZZ_IN=${DIR_QA_ASSETS}/fuzz_seed_corpus/
|
||||||
|
export DIR_UNIT_TEST_DATA=${DIR_QA_ASSETS}/unit_test_data/
|
||||||
fi
|
fi
|
||||||
export DIR_FUZZ_IN=${DIR_QA_ASSETS}/fuzz_seed_corpus/
|
|
||||||
export DIR_UNIT_TEST_DATA=${DIR_QA_ASSETS}/unit_test_data/
|
|
||||||
|
|
||||||
DOCKER_EXEC mkdir -p "${BASE_SCRATCH_DIR}/sanitizer-output/"
|
DOCKER_EXEC mkdir -p "${BASE_SCRATCH_DIR}/sanitizer-output/"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user