@@ -63,6 +63,7 @@ config=$HOME/.xen-osstest/config
flight="standalone"
host=
reuse=1 # Don't blow away machines by default
+lvextendmax=50 # Leave some LVM space free for running tests
while true ; do
case "$1" in
@@ -71,6 +72,7 @@ while true ; do
-h|--host) host=$2; shift 2;;
-r|--reuse) reuse=1; shift 1;;
-R|--noreuse|--reinstall)reuse=0;shift 1;;
+ --lvextendmax)lvextendmax=$2; shift 2;;
--help) usage; exit 0;;
--) shift ; break ;;
*) echo "Internal error!" ; exit 1 ;;
@@ -81,7 +83,6 @@ done
. cri-getconfig
WebspaceLog=`OSSTEST_CONFIG=$config getconfig WebspaceLog`
-echo $WebspaceLog
if [ ! -r "$WebspaceLog" ] ; then
echo "WARNING: Cannot read apache logs at $WebspaceLog. Some tests may fail" >&2
fi
@@ -159,6 +160,7 @@ case $op in
DAILY_BRANCH_PREEXEC_HOOK=exit\ 0 \
OSSTEST_USE_HEAD=y \
BRANCHES_ALWAYS="$branch" \
+ BUILD_LVEXTEND_MAX="$lvextendmax" \
OSSTEST_FLIGHT=$flight \
OSSTEST_CONFIG=$config \
OSSTEST_NO_BASELINE=y \
This is stops the build taking over the entire VG and allows tests to be run without reinstalling the host. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> --- standalone | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)