Update the recovery Makefile to use absolute paths. Change-Id: I483215137d7b4211a4f369ca108f30c1c408b028 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/7450816 Reviewed-by: Bryan Ni <bniche@google.com> Commit-Queue: Gregory Nisbet <gregorynisbet@google.com> Cr-Commit-Position: refs/heads/main@{#78387}
diff --git a/go/src/infra/cros/recovery/Makefile b/go/src/infra/cros/recovery/Makefile index f64866c..44e9a61 100644 --- a/go/src/infra/cros/recovery/Makefile +++ b/go/src/infra/cros/recovery/Makefile
@@ -8,21 +8,21 @@ build: @go vet ./... - @go test ./... + @go test -fullpath ./... go build ./... test: - CGO_ENABLED=1 go test -race ./... - go test ../cmd/paris/... - go test ../cmd/labpack/... - go test ../../cmd/mallet/... + CGO_ENABLED=1 go test -fullpath -race ./... + go test -fullpath ../cmd/paris/... + go test -fullpath ../cmd/labpack/... + go test -fullpath ../../cmd/mallet/... # quick test running testf: - go test ./... - go test ../cmd/paris/... - go test ../cmd/labpack/... - go test ../../cmd/mallet/... + go test -fullpath ./... + go test -fullpath ../cmd/paris/... + go test -fullpath ../cmd/labpack/... + go test -fullpath ../../cmd/mallet/... gen: # Generate proto files @@ -31,4 +31,4 @@ trees: # Generate config tree files - RECOVERY_GENERATE_CONFIG_TREE=ON go test -run TestConfigTreeChanges + RECOVERY_GENERATE_CONFIG_TREE=ON go test -fullpath -run TestConfigTreeChanges