summaryrefslogtreecommitdiff
path: root/hack/make/build-integration-test-binary
Commit message (Collapse)AuthorAgeFilesLines
* hack: remove integration-cli-on-swarmAkihiro Suda2019-06-011-1/+1
| | | | | | | | | | integration-on-swarm had unnecessary complexity and was too hard to maintain. Also, it didn't support the new non-CLI integration test suite. I'm now doing some experiments out of the repo using Kubernetes: https://github.com/AkihiroSuda/kube-moby-integration Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
* Fix .go-autogen warningsSebastiaan van Stijn2017-11-011-1/+0
| | | | | | | | | | | | | | | | | | | | The `.integration-test-helpers` script was sourced by `/etc/bash/bash.rc`. However, the `$SCRIPTDIR` environment variable is set through `hack/make.sh`, so will not be set when calling the `.integration-test-helpers` script directly. Before this patch; make BIND_DIR=. shell ... bash: /make/.go-autogen: No such file or directory After this patch, the warning is no longer printed Also removed sourcing `.go-autogen` from test-integration and build-integration-test-binary, as they already sourced `.integration-test-helpers` (which sources `.go-autogen`). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Fix `make build-integration-cli-on-swarm`Akihiro Suda2017-08-121-0/+8
| | | | Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
* Add integration suiteDaniel Nephin2017-08-091-13/+0
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Remove test-integration-cli and references to it.Daniel Nephin2017-08-091-1/+1
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Fix autogen varsChristy Perez2017-06-231-0/+2
| | | | | | | | commit ea2e4d73c4c753cdc99966e4dfe35143e79564ce removed the autogen script, but if you happen to clone the dir fresh from git, you can't build the integration test binaries. Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
* Convert script shebangs from "#!/bin/bash" to "#!/usr/bin/env bash"Tianon Gravi2017-02-131-1/+1
| | | | | | This is especially important for distributions like NixOS where `/bin/bash` doesn't exist, or for MacOS users who've installed a newer version of Bash than the one that comes with their OS. Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
* Fix bundle dir for integration-cliAkihiro Suda2016-12-051-1/+1
| | | | | | | test.main was unexpectedly created under docker/integration-cli/bundles/VERSION/test-integration-cli directory. This commit moves test.main to docker/bundles/VERSION/test-integration-cli. Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
* Verify integration tests before building bundlesBrian Goff2016-09-061-0/+11
Adds a new bundle `verify-integration-tests` which pre-compiles a test binary for the integration tests. This makes sure that the integration tests will actually compile before doing other tasks which take much longer, such as building dockerd and loading test fixtures. When it comes time to actually run the tests, the pre-compiled binary will be used so it doesn't have to compile the tests a 2nd time. Signed-off-by: Brian Goff <cpuguy83@gmail.com>