diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2023-05-15 20:59:29 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2023-05-23 20:40:50 +0300 |
commit | 563e97c0feacb67ad64a6ecbdc1d33e1e295388b (patch) | |
tree | f5a5fcfc369ef9c30b89a2fb60b72b295c1c89b7 /Makefile | |
parent | ecab61d1e86c6e95f72a66165fe146d1fde28c0a (diff) |
Add makefile targets for testing with WAL
This commit adds 'test-wal' and 'test-with-praefect-wal' targets to
the makefile for running tests with the WAL enabled.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -402,6 +402,16 @@ bench: ${BENCHMARK_REPO} prepare-tests test-with-praefect: export GITALY_TEST_WITH_PRAEFECT = YesPlease 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 + +.PHONY: test-with-praefect-wal +## Run Go tests with write-ahead logging and Praefect enabled. +test-with-praefect-wal: export GITALY_TEST_WAL = YesPlease +test-with-praefect-wal: test-with-praefect + .PHONY: race-go ## Run Go tests with race detection enabled. race-go: override TEST_OPTIONS := ${TEST_OPTIONS} -race |