tests: Change default command of the test containers to end with ./problems

This makes sure that non-zero return code is propagated out of the
container.
This commit is contained in:
Tomas Babej 2019-01-01 09:33:27 -05:00 committed by Paul Beckingham
parent a071694324
commit b5cf4ca56e
2 changed files with 2 additions and 2 deletions

View file

@ -23,4 +23,4 @@ RUN task --version
WORKDIR /root/code/test/ WORKDIR /root/code/test/
RUN make RUN make
CMD ["bash", "-c", "./run_all ; ./problems ; cat all.log | grep 'not ok'"] CMD ["bash", "-c", "./run_all ; cat all.log | grep 'not ok' ; ./problems"]

View file

@ -24,4 +24,4 @@ RUN task --version
WORKDIR /root/code/test/ WORKDIR /root/code/test/
RUN make RUN make
CMD ["bash", "-c", "./run_all ; ./problems ; cat all.log | grep 'not ok'"] CMD ["bash", "-c", "./run_all ; cat all.log | grep 'not ok' ; ./problems"]