From: Ian Campbell Subject: [PATCH OSSTEST 16/17] mfi-common: onetoolstack does not vary for a given $xenbranch Date: Wed, 22 Jan 2014 09:55:00 +0000 Message-ID: <1390384501-20552-16-git-send-email-ian.campbell@citrix.com> References: <1390384419.32519.32.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1390384419.32519.32.camel@kazak.uk.xensource.com> 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 Signed-off-by: Ian Campbell --- mfi-common | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/mfi-common b/mfi-common index 5529979..60802ef 100644 --- a/mfi-common +++ b/mfi-common @@ -225,6 +225,14 @@ job_create_test () { # Provides various convenience variables for the callback. # test_matrix_iterate () { + + case "$xenbranch" in + xen-3.*-testing) onetoolstack=xend ;; + xen-4.0-testing) onetoolstack=xend ;; + xen-4.1-testing) onetoolstack=xend ;; + *) onetoolstack=xl ;; + esac + for xenarch in ${TEST_ARCHES- i386 amd64 armhf } ; do if [ "x$xenarch" = xdisable ]; then continue; fi @@ -267,13 +275,6 @@ test_matrix_iterate () { suite_runvars= fi - case "$xenbranch" in - xen-3.*-testing) onetoolstack=xend ;; - xen-4.0-testing) onetoolstack=xend ;; - xen-4.1-testing) onetoolstack=xend ;; - *) onetoolstack=xl ;; - esac - for kern in ''; do case $kern in -- 1.8.5.2