Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Chandler <wchandler@gitlab.com>2023-11-15 21:27:26 +0300
committerWill Chandler <wchandler@gitlab.com>2023-11-15 21:27:26 +0300
commit1ad13d16514dea32c13067ac9ff735855abc4cc6 (patch)
treec57786ba62388816cb51161a35f0b711202d45cd /Makefile
parent5b092369fc03602f5d0d99ab8f475875ab9a41a6 (diff)
Makefile: Update test-wal to call test-go
Currently the `test-wal` Makefile target will call the `test` target internally. This will run both Gitaly's Go tests and our linter tests. If overriding `TEST_PACKAGES` this may result in a spurious failure on the linter tests: make test-wal TEST_PACKAGES=./internal/gitaly/storage/storagemgr ✓ internal/gitaly/storage/storagemgr (39.673s) DONE 237 tests in 42.262s stat /Users/wchandler/devel/gdk/gitaly/tools/golangci-lint/gitaly/internal/gitaly/storage/storagemgr: directory not found === Errors stat /Users/wchandler/devel/gdk/gitaly/tools/golangci-lint/gitaly/internal/gitaly/storage/storagemgr: directory not found DONE 0 tests, 1 error in 0.008s make: *** [test-gitaly-linters] Error 1 Switch `test-wal` to use the `test-go` target which will skip the linter.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a1f05236b..6afd70a37 100644
--- a/Makefile
+++ b/Makefile
@@ -369,7 +369,7 @@ test-with-praefect: test-go
.PHONY: test-wal
## Run Go tests with write-ahead logging enabled.
test-wal: export GITALY_TEST_WAL = YesPlease
-test-wal: test
+test-wal: test-go
.PHONY: test-with-praefect-wal
## Run Go tests with write-ahead logging and Praefect enabled.