Browse Source

Update project/make.sh to use execdriver buildtag if passed.

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Jessica Frazelle 10 years ago
parent
commit
547c959576
1 changed files with 4 additions and 0 deletions
  1. 4 0
      project/make.sh

+ 4 - 0
project/make.sh

@@ -93,6 +93,10 @@ if [ -z "$DOCKER_CLIENTONLY" ]; then
 	DOCKER_BUILDTAGS+=" daemon"
 fi
 
+if [ "$DOCKER_EXECDRIVER" = 'lxc' ]; then
+	DOCKER_BUILDTAGS+=' test_no_exec'
+fi
+
 # Use these flags when compiling the tests and final binary
 LDFLAGS='
 	-X '$DOCKER_PKG'/dockerversion.GITCOMMIT "'$GITCOMMIT'"