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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user