mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Hack: fix test and dyntest to correctly use $TESTFLAGS
This commit is contained in:
parent
7c08aeeba4
commit
0c9b319dd0
1 changed files with 2 additions and 1 deletions
|
@ -22,8 +22,9 @@ bundle_test() {
|
|||
for test_dir in $(find_test_dirs); do (
|
||||
set -x
|
||||
cd $test_dir
|
||||
go test -i
|
||||
export TEST_DOCKERINIT_PATH=$DEST/../dynbinary/dockerinit-$VERSION
|
||||
go test -v -ldflags "$LDFLAGS -X github.com/dotcloud/docker/utils.INITSHA1 \"$DOCKER_INITSHA1\"" $BUILDFLAGS
|
||||
go test -v -ldflags "$LDFLAGS -X github.com/dotcloud/docker/utils.INITSHA1 \"$DOCKER_INITSHA1\"" $BUILDFLAGS $TESTFLAGS
|
||||
) done
|
||||
} 2>&1 | tee $DEST/test.log
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue