mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-20 16:51:37 +00:00
test: show logs in case an error (v2)
Makefile is locked, because tests can be executed concurrently. v2: return non-zero code Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
2379c67017
commit
f3cec004d9
1 changed files with 2 additions and 1 deletions
|
|
@ -19,4 +19,5 @@ fault-injection: .FORCE
|
|||
|
||||
zdtm_ns: $(shell echo "$(TST)" | tr ' ' '\n' | grep -P $(EXP))
|
||||
$(TST):
|
||||
./zdtm.sh ${ZDTM_ARGS} $(@) &> $(subst /,_,$@).log
|
||||
./zdtm.sh ${ZDTM_ARGS} $(@) &> $(subst /,_,$@).log || \
|
||||
{ flock Makefile cat $(subst /,_,$@).log; exit 1; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue