Browse Source

Hack: fix test and dyntest to correctly use $TESTFLAGS

Solomon Hykes 11 years ago
parent
commit
0c9b319dd0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      hack/make/dyntest

+ 2 - 1
hack/make/dyntest

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