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:
commit
64eb01caf6
1 changed files with 10 additions and 0 deletions
|
@ -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=./...
|
||||
|
|
Loading…
Reference in a new issue