diff --git a/Makefile b/Makefile index 855a687e0..a707f5d5c 100644 --- a/Makefile +++ b/Makefile @@ -248,7 +248,7 @@ test: $(BUILD_DIRS) /bin/sh -c " \ ./build/test.sh ./... \ " - ./test_e2e.sh + VERBOSE=1 ./test_e2e.sh TEST_TOOLS := $(shell find _test_tools/* -type d -printf "%f ") test-tools: $(foreach tool, $(TEST_TOOLS), .container-test_tool.$(tool)) diff --git a/test_e2e.sh b/test_e2e.sh index aa2e0dfe8..c5eda9916 100755 --- a/test_e2e.sh +++ b/test_e2e.sh @@ -3377,6 +3377,13 @@ for t; do if [[ "$RUN_RET" != 42 ]]; then echo "FAIL: unknown error" fi + if [[ -n "${VERBOSE:-}" ]]; then + echo -ne "\n\n" + echo "LOG ----------------------" + cat "${LOG}.${RUN}" + echo "--------------------------" + echo -ne "\n\n" + fi fi remove_containers || true RUN=$((RUN+1))