Skip to content

Commit 1369f87

Browse files
committed
Fix silent test failure
1 parent 0ec5578 commit 1369f87

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

docker/debian/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ RUN conan profile show
143143
# Test the image by compiling a simple C++ program.
144144
RUN --mount=type=bind,source=test,target=/test,readonly <<EOF
145145
cp -r /test test
146-
cd test && ./run.sh && cd ..
146+
cd test && ./run.sh
147+
cd ..
147148
rm -rf test
148149
EOF
149150

@@ -222,6 +223,7 @@ RUN conan profile show
222223
# Test the image by compiling a simple C++ program.
223224
RUN --mount=type=bind,source=test,target=/test,readonly <<EOF
224225
cp -r /test test
225-
cd test && ./run.sh && cd ..
226+
cd test && ./run.sh
227+
cd ..
226228
rm -rf test
227229
EOF

docker/rhel/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ RUN conan profile show
110110
# Test the image by compiling a simple C++ program.
111111
RUN --mount=type=bind,source=test,target=/test,readonly <<EOF
112112
cp -r /test test
113-
cd test && ./run.sh && cd ..
113+
cd test && ./run.sh
114+
cd ..
114115
rm -rf test
115116
EOF
116117

@@ -183,6 +184,7 @@ RUN conan profile show
183184
# Test the image by compiling a simple C++ program.
184185
RUN --mount=type=bind,source=test,target=/test,readonly <<EOF
185186
cp -r /test test
186-
cd test && ./run.sh && cd ..
187+
cd test && ./run.sh
188+
cd ..
187189
rm -rf test
188190
EOF

docker/ubuntu/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ RUN conan profile show
123123
# Test the image by compiling a simple C++ program.
124124
RUN --mount=type=bind,source=test,target=/test,readonly <<EOF
125125
cp -r /test test
126-
cd test && ./run.sh && cd ..
126+
cd test && ./run.sh
127+
cd ..
127128
rm -rf test
128129
EOF
129130

@@ -197,6 +198,7 @@ RUN conan profile show
197198
# Test the image by compiling a simple C++ program.
198199
RUN --mount=type=bind,source=test,target=/test,readonly <<EOF
199200
cp -r /test test
200-
cd test && ./run.sh && cd ..
201+
cd test && ./run.sh
202+
cd ..
201203
rm -rf test
202204
EOF

0 commit comments

Comments
 (0)