test/docker: containers should return non-zero values on failures

This commit is contained in:
Shaun Ruffell 2020-02-16 12:52:18 -06:00 committed by lauft
parent 926ecd7333
commit dcfe0d1c3d
10 changed files with 10 additions and 10 deletions

View file

@ -39,4 +39,4 @@ RUN make install
WORKDIR /root/code/test/
RUN make
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version"]
CMD ["bash", "-c", "./run_all -v ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]