Files
docker-machine/mk/test.mk
David Gageot 98b59afc39 Simplify makefile
Signed-off-by: David Gageot <david@gageot.net>
2015-12-10 11:38:07 +01:00

12 lines
422 B
Makefile

# Quick test. You can bypass long tests using: `if testing.Short() { t.Skip("Skipping in short mode.") }`
test-short:
$(GO) test $(VERBOSE_GO) -test.short -tags "$(BUILDTAGS)" $(PKGS)
# Runs long tests also, plus race detection
test-long:
$(GO) test $(VERBOSE_GO) -race -tags "$(BUILDTAGS)" $(PKGS)
test-integration: build
$(eval TESTSUITE=$(filter-out $@,$(MAKECMDGOALS)))
test/integration/run-bats.sh $(TESTSUITE)