From: Ian Campbell Subject: [PATCH OSSTEST] standalone: Export BUILD_LVEXTEND_MAX when running make-flight. Date: Fri, 2 May 2014 11:23:04 +0100 Message-ID: <1399026184-3268-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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 --- standalone | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/standalone b/standalone index f00a81e..36f02ba 100755 --- a/standalone +++ b/standalone @@ -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 \ -- 1.9.0