[CRIU] [PATCH] zdtm/Makefile: show output for each test

Andrey Vagin avagin at openvz.org
Tue Oct 14 04:41:11 PDT 2014


In this case we have another chance to not skip errors.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/Makefile b/test/Makefile
index 14b63ca..9ab8f3d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -60,6 +60,6 @@ mount_cgroups: .FORCE
 	flock zdtm_mount_cgroups ./zdtm_mount_cgroups
 
 $(TST): zdtm_ct mount_cgroups .FORCE
-	./zdtm.sh --ct ${ZDTM_ARGS} $(@) &> $(subst /,_,$@).log || \
-	{ flock Makefile cat $(subst /,_,$@).log; exit 1; }
+	./zdtm.sh --ct ${ZDTM_ARGS} $(@) &> $(subst /,_,$@).log; \
+	{ ret=$$?; flock Makefile cat $(subst /,_,$@).log; exit $$ret; }
 .PHONY: zdtm_ns
-- 
1.9.3



More information about the CRIU mailing list