Skip to content

Commit 0eaa67a

Browse files
committed
Fix issue with non-existant directory
RE #38148
1 parent bdd930d commit 0eaa67a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

buildconfig/Jenkins/Conda/conda-buildscript

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ fi
141141
rm -f -- *.dmg *.rpm *.deb *.tar.gz *.tar.xz *.exe
142142
# Remove test logs from previous builds
143143
rm -rf $BUILD_DIR/test_logs
144+
# Remake the directory for the test logs.
145+
mkdir $BUILD_DIR/test_logs
144146

145147
# Set locale to avoid problems building the docs
146148
# See https://unix.stackexchange.com/questions/87745/what-does-lc-all-c-do
@@ -149,7 +151,7 @@ if [[ $ENABLE_DOCS == true ]]; then
149151
fi
150152

151153
# Run the script that handles the build
152-
$SCRIPT_DIR/build $WORKSPACE $CMAKE_PRESET $ENABLE_DOCS $ENABLE_DEV_DOCS $ENABLE_BUILD_CODE $ENABLE_UNIT_TESTS $ENABLE_SYSTEM_TESTS $ENABLE_DOC_TESTS $ENABLE_COVERITY "$EXTRA_CMAKE_FLAGS" $BUILD_THREADS | tee test_logs/build_$OSTYPE.log
154+
$SCRIPT_DIR/build $WORKSPACE $CMAKE_PRESET $ENABLE_DOCS $ENABLE_DEV_DOCS $ENABLE_BUILD_CODE $ENABLE_UNIT_TESTS $ENABLE_SYSTEM_TESTS $ENABLE_DOC_TESTS $ENABLE_COVERITY "$EXTRA_CMAKE_FLAGS" $BUILD_THREADS | tee $BUILD_DIR/test_logs/build_$OSTYPE.log
153155

154156
# Run unit and system tests
155157
$SCRIPT_DIR/run-tests $WORKSPACE $ENABLE_SYSTEM_TESTS $ENABLE_UNIT_TESTS $ENABLE_DOCS $ENABLE_DOC_TESTS $BUILD_THREADS

0 commit comments

Comments
 (0)