mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
ed345fb18e
Use `env -i` to very explicitly control exactly which environment variables leak into our tests. This enforces a clean separation of "build environment knobs" versus "test suite knobs". This also includes a minor tweak to how we handle starting our integration daemon, especially to catch failure to start sooner than failing tests. Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com> |
||
---|---|---|
.. | ||
.dockerinit | ||
.ensure-busybox | ||
.ensure-emptyfs | ||
.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 | ||
validate-toml |
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:
./project/make.sh test
./project/make.sh binary ubuntu
# Or to run all bundles:
./project/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh