github.com/skf/moby@v1.13.1/hack/make/build-integration-test-binary (about)

     1  #!/bin/bash
     2  set -e
     3  
     4  rm -rf "$DEST"
     5  DEST="$DEST/../test-integration-cli"
     6  
     7  if [ -z $DOCKER_INTEGRATION_TESTS_VERIFIED ]; then
     8  	source ${MAKEDIR}/.integration-test-helpers
     9  	ensure_test_dir integration-cli "$DEST/test.main"
    10  	export DOCKER_INTEGRATION_TESTS_VERIFIED=1
    11  fi