From 0dd9ffab92184e8c46ebe970644aea73d0910dc4 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Mon, 25 Feb 2019 14:37:57 -0800 Subject: [PATCH] Makefile: Make the .test-results directory podman won't run if it is missing. (cherry picked from commit a7e96ab82831548ac3b9f6a41b6e0cc91b6095f4) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 946e7d36..ec55ee9f 100644 --- a/Makefile +++ b/Makefile @@ -110,6 +110,7 @@ test-in-copy: test-in-docker: sudo $(DOCKER) build -t welder/lorax-tests:$(IMAGE_RELEASE) -f Dockerfile.test . + @mkdir -p `pwd`/.test-results sudo $(DOCKER) run --rm -it -v `pwd`/.test-results/:/test-results -v `pwd`:/lorax-ro:ro --security-opt label=disable welder/lorax-tests:$(IMAGE_RELEASE) make test-in-copy docs-in-docker: