[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST] standalone: Export BUILD_LVEXTEND_MAX when running make-flight.
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@xxxxxxxxxx> --- 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |