Hack: fix test and dyntest to correctly use $TESTFLAGS

Upstream-commit: 0c9b319dd0c29621c76cf63d494c9781e3f4ea00
Component: engine
This commit is contained in:
Solomon Hykes
2013-10-25 15:13:25 -07:00
committed by Victor Vieux
parent 3f2eaa1c43
commit fba538a259
+2 -1
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
}