Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 342798d

Browse files
committed
print log after test
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
1 parent 652ea59 commit 342798d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ build-runv:
2222
go build -tags "static_build $(HYPER_BULD_TAGS)" -o runv .
2323
test-integration:
2424
cd integration-test/test_data && make
25-
cd integration-test && go test -check.v -test.timeout=120m ${TESTFLAGS} .
25+
cd integration-test && go test -check.v -test.timeout=120m ${TESTFLAGS} . ; ret=$$? ;\
26+
sync; sleep 20; sync; find /var/log/hyper/ -type f -exec echo -e '\n\nLog of ' {} ':' \; -exec cat {} \; ; exit $$ret

0 commit comments

Comments
 (0)