Pass MAKECMDGOALS to make integration-test-tui

We need this to be able to pass the "-race" argument, i.e.

  make integration-test-tui -- -race
This commit is contained in:
Stefan Haller 2023-09-09 17:33:58 +02:00
parent 59cc6843e6
commit 508b869773

View File

@ -44,7 +44,7 @@ update-cheatsheet:
# For more details about integration test, see https://github.com/jesseduffield/lazygit/blob/master/pkg/integration/README.md.
.PHONY: integration-test-tui
integration-test-tui:
go run cmd/integration_test/main.go tui
go run cmd/integration_test/main.go tui $(filter-out $@,$(MAKECMDGOALS))
.PHONY: integration-test-cli
integration-test-cli: