Skip to content

Commit bf0153a

Browse files
committed
remove ./TestData and ./Tutorials before cloning
1 parent ce5cdb2 commit bf0153a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

build/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt update && apt install -y \
1717
python3-mpi4py \
1818
swig \
1919
libopenmpi-dev \
20+
libopenblas-dev \
2021
openmpi-bin \
2122
ccache \
2223
&& rm -rf /var/lib/apt/lists/* \

test/runTests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ else
9090
cp -r src/SU2/TestCases tests/.
9191
fi
9292
if [ ! -z "$testbranch" ]; then
93+
rm -r ./TestData
9394
git clone --depth=1 -b $testbranch https://github.com/su2code/TestCases.git ./TestData
9495
else
9596
if [ ! -d "src/TestData" ]; then
@@ -99,6 +100,7 @@ else
99100
fi
100101
cp -R ./TestData/* tests/TestCases/
101102
if [ ! -z "$tutorialbranch" ]; then
103+
rm -r ./Tutorials
102104
git clone --depth=1 -b $tutorialbranch https://github.com/su2code/Tutorials ./Tutorials
103105
else
104106
if [ ! -d "src/Tutorials" ]; then

0 commit comments

Comments
 (0)