Skip to content

Commit

Permalink
Makefile: set GOGC=off and CGO_ENABLED=0 when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Feb 16, 2025
1 parent 5900659 commit 8d5edbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ systemd: all
sudo systemctl restart gokr-rsyncd.socket)

test:
go test -fullpath ./...
sudo go test -fullpath ./integration/interop ./integration/receiver
GOGC=off CGO_ENABLED=0 go test -fullpath ./...
GOGC=off CGO_ENABLED=0 sudo go test -fullpath ./integration/interop ./integration/receiver

docker:
CGO_ENABLED=0 GOBIN=$$PWD/docker go install github.com/gokrazy/rsync/cmd/gokr-rsyncd
Expand Down

0 comments on commit 8d5edbb

Please sign in to comment.