mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
test/docker: containers should return non-zero values on failures
This commit is contained in:
parent
926ecd7333
commit
dcfe0d1c3d
10 changed files with 10 additions and 10 deletions
|
@ -29,4 +29,4 @@ RUN make install
|
|||
# Setup tests
|
||||
RUN make -j2 test || true
|
||||
WORKDIR /root/code/test/
|
||||
CMD ["bash", "-c", "./problems --summary ; cat all.log | grep 'not ok' ; ./problems ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version"]
|
||||
CMD ["bash", "-c", "./problems --summary ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version; exit $FAILED"]
|
||||
|
|
|
@ -37,4 +37,4 @@ RUN make install
|
|||
RUN make test -j2 || true
|
||||
WORKDIR /root/code/test/
|
||||
|
||||
CMD ["bash", "-c", "cat all.log | grep 'not ok' ; ./problems ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version"]
|
||||
CMD ["bash", "-c", "cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version ; exit $FAILED"]
|
||||
|
|
|
@ -37,4 +37,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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -31,4 +31,4 @@ RUN make install
|
|||
# Setup tests
|
||||
RUN make -j2 test || true
|
||||
WORKDIR /root/code/test/
|
||||
CMD ["bash", "-c", "./problems --summary ; cat all.log | grep 'not ok' ; ./problems ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version"]
|
||||
CMD ["bash", "-c", "./problems --summary ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version; exit $FAILED"]
|
||||
|
|
|
@ -31,4 +31,4 @@ RUN make install
|
|||
# Setup tests
|
||||
RUN make -j2 test || true
|
||||
WORKDIR /root/code/test/
|
||||
CMD ["bash", "-c", "./problems --summary ; cat all.log | grep 'not ok' ; ./problems ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version"]
|
||||
CMD ["bash", "-c", "./problems --summary ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version; exit $FAILED"]
|
||||
|
|
|
@ -34,4 +34,4 @@ RUN make install
|
|||
# Setup tests
|
||||
RUN make -j2 test || true
|
||||
WORKDIR /root/code/test
|
||||
CMD ["bash", "-c", "./problems --summary ; cat all.log | grep 'not ok' ; ./problems ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version"]
|
||||
CMD ["bash", "-c", "./problems --summary ; cat all.log | grep 'not ok' ; ./problems ; FAILED=$? ; echo timew $( timew --version ) ; python --version ; cmake --version ; gcc --version; exit $FAILED"]
|
||||
|
|
|
@ -32,4 +32,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"]
|
||||
|
|
|
@ -37,4 +37,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"]
|
||||
|
|
|
@ -37,4 +37,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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue