Skip to content

Commit

Permalink
chore: group test_integration and test_integration_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Apr 6, 2024
1 parent ca056cf commit 57ee65a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ test: build
GL_TEST_RUN=1 go test -v -parallel 2 ./...
.PHONY: test

# ex: T=multiple-issues-fix.go make test_integration_fix
# the value of `T` is the name of a file from `test/testdata/fix`
test_integration_fix: build
GL_TEST_RUN=1 go test -v ./test -count 1 -run TestFix/$T
.PHONY: test_integration_fix

test_race: build_race
GL_TEST_RUN=1 ./$(BINARY) run -v --timeout=5m
.PHONY: test_race
Expand All @@ -49,6 +43,12 @@ test_integration:
GL_TEST_RUN=1 go test -v ./test -count 1 -run TestSourcesFromTestdata/$T
.PHONY: test_integration

# ex: T=multiple-issues-fix.go make test_integration_fix
# the value of `T` is the name of a file from `test/testdata/fix`
test_integration_fix: build
GL_TEST_RUN=1 go test -v ./test -count 1 -run TestFix/$T
.PHONY: test_integration_fix

# Maintenance

fast_generate: assets/github-action-config.json
Expand Down

0 comments on commit 57ee65a

Please sign in to comment.