From 09cdae8d07ab386c244a42c57cad3e4bfd53463b Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Fri, 13 Dec 2019 14:22:56 -0800 Subject: [PATCH] .gitignore: ignore generated test artifacts --- .gitignore | 3 +++ Makefile | 2 +- test/{data => scripts}/gen_certs.sh | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename test/{data => scripts}/gen_certs.sh (100%) diff --git a/.gitignore b/.gitignore index 0e3182bf..14a36c38 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,6 @@ bin/ bazel-* +coverage.txt +test/data/ +*.orig diff --git a/Makefile b/Makefile index 0169b688..242b1291 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ debug: doc .PHONY: test test: - $(shell cd test/data; ./gen_certs.sh; cd ${TOP_LEVEL}) + $(shell mkdir -p test/data; cd test/data; ../scripts/gen_certs.sh; cd ${TOP_LEVEL}) go test -v -race -cover -coverprofile=coverage.txt -covermode=atomic ./... .PHONY: check diff --git a/test/data/gen_certs.sh b/test/scripts/gen_certs.sh similarity index 100% rename from test/data/gen_certs.sh rename to test/scripts/gen_certs.sh