Hack: fix test and dyntest to correctly use $TESTFLAGS

This commit is contained in:
Solomon Hykes 2013-10-23 07:08:45 +00:00 committed by Victor Vieux
parent 7c08aeeba4
commit 0c9b319dd0
1 changed files with 2 additions and 1 deletions

View File

@ -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
}