4d0275c819
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>
11 lines
267 B
Bash
11 lines
267 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
rm -rf "$DEST"
|
|
DEST="$DEST/../test-integration-cli"
|
|
|
|
if [ -z $DOCKER_INTEGRATION_TESTS_VERIFIED ]; then
|
|
source ${MAKEDIR}/.integration-test-helpers
|
|
ensure_test_dir integration-cli "$DEST/test.main"
|
|
export DOCKER_INTEGRATION_TESTS_VERIFIED=1
|
|
fi
|