mirror of
https://github.com/mjl-/mox.git
synced 2025-07-15 02:54:36 +03:00
for test-upgrade, import a (hopefully large) mbox file, checking for performance/memory consumption
in the future, it would be good to actually start a mox and read mailboxes/messages...
This commit is contained in:
4
Makefile
4
Makefile
@ -19,8 +19,10 @@ test-race:
|
||||
CGO_ENABLED=1 go test -race -shuffle=on -covermode atomic -coverprofile cover.out ./...
|
||||
go tool cover -html=cover.out -o cover.html
|
||||
|
||||
# note: if testdata/upgradetest.mbox.gz exists, its messages will be imported
|
||||
# during tests. helpful for performance/resource consumption tests.
|
||||
test-upgrade:
|
||||
./test-upgrade.sh
|
||||
nice ./test-upgrade.sh
|
||||
|
||||
check:
|
||||
staticcheck ./...
|
||||
|
Reference in New Issue
Block a user