mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-09 10:38:10 -06:00
You can run these yourself using the -perf flag, e.g. > noms serve & > go test -v -perf http://localhost:8000 ./samples/go/csv/csv-import > noms ds http://localhost:8000 Though you'll need to go-get github.com/attic-labs/testdata. Note that all of this only records test results, it doesn't have any concept of failing perf (unless test assertsions themselves fail). It will be the job of some other Noms client (work in progress) to do that. I will be setting this up to run continuously momentarily.
19 lines
776 B
Makefile
19 lines
776 B
Makefile
.PHONY: help check
|
|
.DEFAULT_GOAL := help
|
|
|
|
SUBPKGS=cpu disk docker host internal load mem net process
|
|
|
|
help: ## Show help
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
|
|
|
check: ## Check
|
|
errcheck -ignore="Close|Run|Write" ./...
|
|
golint ./... | egrep -v 'underscores|HttpOnly|should have comment|comment on exported|CamelCase|VM|UID'
|
|
|
|
build_test: ## test only buildable
|
|
GOOS=linux go test ./... | grep -v "exec format error"
|
|
GOOS=freebsd go test ./... | grep -v "exec format error"
|
|
CGO_ENABLED=0 GOOS=darwin go test ./... | grep -v "exec format error"
|
|
CGO_ENABLED=1 GOOS=darwin go test ./... | grep -v "exec format error"
|
|
GOOS=windows go test ./...| grep -v "exec format error"
|