Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove testmod task
  • Loading branch information
goccy committed May 5, 2025
commit f74bb461bb69ee5c4c3b38ccd5c32872c139f599
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,13 @@ TESTMOD := testdata/go_test.mod
$(LOCALBIN):
mkdir -p $(LOCALBIN)

.PHONY: testmod
cp go.mod testdata/go_test.mod
go mod tidy -modfile=$(TESTMOD)

.PHONY: test
test: testmod
test:
go test -v -race ./...
go test -v -race ./testdata -modfile=$(TESTMOD)

.PHONY: simple-test
simple-test: testmod
simple-test:
go test -v ./...
go test -v ./testdata -modfile=$(TESTMOD)

Expand All @@ -24,7 +20,7 @@ fuzz:
go test -fuzz=Fuzz -fuzztime 60s

.PHONY: cover
cover: testmod
cover:
go test -coverpkg=.,./ast,./lexer,./parser,./printer,./scanner,./token -coverprofile=cover.out -modfile=$(TESTMOD) ./... ./testdata

.PHONY: cover-html
Expand Down