From c9406ff2fc881788fea04c3b5204d98b4e8d138f Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 24 Apr 2013 16:47:04 +0200 Subject: [PATCH] vbuild-nightly has option -X (old) and -S (new) to select between a vs- or an lxc-hosted vplc -- default is defined in tests/TestMain.py --- vbuild-nightly.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index 24794414..f1ed9641 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -422,6 +422,7 @@ function usage () { echo " -y {pl,pg} - passed to run_log" echo " -e step - passed to run_log" echo " -X : passes --lxc to run_log" + echo " -S : passes --vs to run_log" echo " -x - a hook to pass other arguments to run_log" echo " -w webpath - defaults to $DEFAULT_WEBPATH" echo " -W testbuildurl - defaults to $DEFAULT_TESTBUILDURL; this is also used to get the hostname where to publish builds" @@ -457,7 +458,7 @@ function main () { SIGNYUMREPO="" OPTS_ORIG=$@ - OPTS=$(getopt -o "f:d:p:m:s:t:b:o:c:y:e:Xx:w:W:r:M:Yg:u:K:SBTnv7i:P:h" -l "build-branch:" -- $@) + OPTS=$(getopt -o "f:d:p:m:s:t:b:o:c:y:e:XSx:w:W:r:M:Yg:u:K:SBTnv7i:P:h" -l "build-branch:" -- $@) if [ $? != 0 ] then usage @@ -479,8 +480,10 @@ function main () { -y) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS --rspec-style $2"; shift 2 ;; # -e foo -> run_log -e foo -e) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS --exclude $2"; shift 2 ;; - # -X -> run_log -X + # -X -> run_log --lxc -X) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS --lxc"; shift;; + # -S -> run_log --vs + -S) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS --vs"; shift;; # more general form to pass args to run_log # -x foo -> run_log foo -x) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS $2"; shift 2;; -- 2.43.0