diff --git a/project/make.sh b/project/make.sh index bb2a3419fa..97751cb67c 100755 --- a/project/make.sh +++ b/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'"