1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #23538 from anusha-ragunathan/incremental-builds

Dont leak DOCKER_INCREMENTAL_BINARY flag into go test.
This commit is contained in:
Alexander Morozov 2016-06-15 10:53:31 -07:00 committed by GitHub
commit 64eb01caf6

View file

@ -9,6 +9,16 @@ set -e
#
bundle_test_unit() {
TESTFLAGS+=" -test.timeout=${TIMEOUT}"
INCBUILD="-i"
count=0
for flag in "${BUILDFLAGS[@]}"; do
if [ "${flag}" == ${INCBUILD} ]; then
unset BUILDFLAGS[${count}]
break
fi
count=$[ ${count} + 1 ]
done
date
if [ -z "$TESTDIRS" ]; then
TEST_PATH=./...