Skip to content
Permalink
Browse files

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

…oblems

This makes sure that non-zero return code is propagated out of the
container.
  • Loading branch information...
tbabej authored and pbeckingham committed Jan 1, 2019
1 parent a071694 commit b5cf4ca56ea2bbbb8f51db232a252775a3dee050
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/docker/fedora28
  2. +1 −1 test/docker/ubuntu1604
@@ -23,4 +23,4 @@ RUN task --version
WORKDIR /root/code/test/
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"]
@@ -24,4 +24,4 @@ RUN task --version
WORKDIR /root/code/test/
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"]

0 comments on commit b5cf4ca

Please sign in to comment.
You can’t perform that action at this time.