diff options
author | Will Chandler <wchandler@gitlab.com> | 2023-11-15 21:27:26 +0300 |
---|---|---|
committer | Will Chandler <wchandler@gitlab.com> | 2023-11-15 21:27:26 +0300 |
commit | 1ad13d16514dea32c13067ac9ff735855abc4cc6 (patch) | |
tree | c57786ba62388816cb51161a35f0b711202d45cd /Makefile | |
parent | 5b092369fc03602f5d0d99ab8f475875ab9a41a6 (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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |