From b5cf4ca56ea2bbbb8f51db232a252775a3dee050 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 1 Jan 2019 09:33:27 -0500 Subject: [PATCH] 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. --- test/docker/fedora28 | 2 +- test/docker/ubuntu1604 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/docker/fedora28 b/test/docker/fedora28 index da31b8793..6912f2b97 100644 --- a/test/docker/fedora28 +++ b/test/docker/fedora28 @@ -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"] diff --git a/test/docker/ubuntu1604 b/test/docker/ubuntu1604 index 5ebe52fa1..295f61d19 100644 --- a/test/docker/ubuntu1604 +++ b/test/docker/ubuntu1604 @@ -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"]