mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
- USE_CONTAINER allow to seamlessly run targets inside or outside containers - all build calls have been harmonized, honoring the same env variables - contributing doc has been streamlined according to that - kill the distinction between remote and local docker builds - got rid of some of the byzantine calls in various asorted scripts - support for static build, debug builds, verbose Signed-off-by: Olivier Gambier <olivier@docker.com>
15 lines
426 B
Makefile
15 lines
426 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)
|
|
|
|
%:
|
|
@:
|