mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
232d59baeb
Since "go test" doesn't seem to support "-installsuffix" as quite the same perfect solution that "go build" is happy to let it be, let's just switch those crappy old "integration/" tests to use our separate static dockerinit binary so we don't have to worry about compiling the entire test harness statically. 👍
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
|
||
---|---|---|
.. | ||
.dockerinit | ||
.ensure-busybox | ||
.ensure-scratch | ||
.go-compile-test-dir | ||
.integration-daemon-start | ||
.integration-daemon-stop | ||
.validate | ||
binary | ||
cover | ||
cross | ||
dynbinary | ||
README.md | ||
test-docker-py | ||
test-integration | ||
test-integration-cli | ||
test-unit | ||
tgz | ||
ubuntu | ||
validate-dco | ||
validate-gofmt |
This directory holds scripts called by make.sh
in the parent directory.
Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:
./hack/make.sh test
./hack/make.sh binary ubuntu
# Or to run all bundles:
./hack/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh