[CRIU] [PATCH 2/3] Travis: check mrproper cleanings

Dmitry Safonov dsafonov at virtuozzo.com
Fri Sep 23 07:20:33 PDT 2016


Let there be more make-tests.

Cc: Adrian Reber <adrian at lisas.de>
Cc: Andrei Vagin <avagin at virtuozzo.com>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 scripts/build/Dockerfile.tmpl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/build/Dockerfile.tmpl b/scripts/build/Dockerfile.tmpl
index dd0cf6999f27..253828645a86 100644
--- a/scripts/build/Dockerfile.tmpl
+++ b/scripts/build/Dockerfile.tmpl
@@ -24,4 +24,6 @@ WORKDIR /criu
 RUN make clean
 RUN make -j $(nproc) criu/parasite-syscall.o
 RUN make -j $(nproc)
+RUN make mrproper
+RUN bash -c 'CLEAN="$(git clean -ndx --exclude=scripts/build)"; echo "${CLEAN}"; test -z "${CLEAN}"; exit $?'
 #RUN make test/compel/handle_binary && ./test/compel/handle_binary
-- 
2.10.0



More information about the CRIU mailing list