From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [PATCH RFC 7/9] make-flight: introduce a new -t option Date: Thu, 26 Jun 2014 15:03:10 +0200 Message-ID: <20140626130310.20110.37051.stgit@Solace> References: <20140626124540.20110.24159.stgit@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140626124540.20110.24159.stgit@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Ian.Jackson@citrix.com, Wei Liu , Ian.Campbell@citrix.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org to make it possible to call the new make-bench-flight, and generate the benchmarking jobs. It's best combined with -f, so that one can create a benchmarking flight with all the benchmarking jobs. It is generic, so, when passing '-t sometype', a script called make-sometype-flight is what will be invoked. XXX Just FTR, this was also part of that conversation with IanC. Signed-off-by: Dario Faggioli --- standalone-reset | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/standalone-reset b/standalone-reset index 8555039..f041e6d 100755 --- a/standalone-reset +++ b/standalone-reset @@ -23,14 +23,17 @@ usage(){ usage: ./standalone-reset [] [ [ []]] branch and xenbranch default, separately, to xen-unstable options: - -f generate flight "flight", default is "standalone" + -f generate flight "flight", default is "standalone" + -t generate a different type of flight (it calls + make--flight) END } flight="standalone" -while getopts "f:" opt; do +while getopts "f:t:" opt; do case "$opt" in f) flight=${OPTARG};; + t) flight_type="-${OPTARG}";; *) usage; exit 1;; esac done @@ -140,7 +143,7 @@ fi export BUILD_LVEXTEND_MAX OSSTEST_FLIGHT=$flight \ -./make-flight "$branch" "$xenbranch" play $buildflight >/dev/null +./make${flight_type}-flight "$branch" "$xenbranch" play $buildflight >/dev/null #---------- done ----------