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 <marc.khouzam@montreal.ca>
pull/7298/head
Marc Khouzam 5 years ago
parent 1ff8272748
commit b47a5b746d

@ -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=.

Loading…
Cancel
Save