Run tests in a separate container.

This commit is contained in:
Tom Wilkie committed 2015-09-25 06:19:00 +00:00
1 parent 0cf3de4541
commit 8ee409d9bd
4 files changed
+44 -11

No files matched your search

+1 -5
View File
@@ -36,11 +36,7 @@ EOF
echo "weave:*:::::::" >>/etc/shadow
echo "weave ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers
if [ "$1" = "tests" ] ; then
su weave -c "PATH=$PATH make -C $WEAVE_SRC tests"
else
su weave -c "PATH=$PATH make -C $WEAVE_SRC build"
fi
su weave -c "PATH=$PATH make -C $WEAVE_SRC build"
else
# There are arguments to pass to git-clone
mkdir -p ${WEAVE_SRC%/*}