From b47a5b746d57e0ca93c9e31066a2c4ef6fa9cdc4 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Wed, 25 Dec 2019 16:07:48 -0500 Subject: [PATCH] fix(tests): Use relative path to acceptance tests With Helm using go modules, its git repo need not reside under $GOPATH/src/helm.sh anymore. In fact it may be desirable for a user to move it to another location (e.g., to get the debugger to work). In the same train of thought, the acceptance-testing repo, which is not even a go program, need not be in the GOPATH. This commit reduces the requirement on the location of the acceptance-testing repo to a relative path to the helm repo, instead of an absolute path within GOPATH. Signed-off-by: Marc Khouzam --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 611222e28..1e977d3dd 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ DEP = $(GOPATH)/bin/dep GOX = $(GOPATH)/bin/gox GOIMPORTS = $(GOPATH)/bin/goimports -ACCEPTANCE_DIR:=$(GOPATH)/src/helm.sh/acceptance-testing +ACCEPTANCE_DIR:=../acceptance-testing # To specify the subset of acceptance tests to run. '.' means all tests ACCEPTANCE_RUN_TESTS=.