From: Ian Jackson Date: Fri, 3 Jul 2015 18:55:32 +0000 (+0100) Subject: make-flight: Run job_create_test_filter_callback on true job name X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e063109d9abeb233ce6deee94be39015039088a5;p=osstest.git make-flight: Run job_create_test_filter_callback on true job name job_create_test would pass $job to job_create_test_filter_callback but then later maybe append -xsm to it. Fix this. No functional change for existing in-tree code because all existing tests of the $job end in *. Signed-off-by: Ian Jackson Acked-by: Ian Campbell --- v2: Fix textual conflict after dropping "make-flight: Allow separate specification of pre-built Xen vs others" --- diff --git a/mfi-common b/mfi-common index 2db89b7..869b299 100644 --- a/mfi-common +++ b/mfi-common @@ -311,8 +311,6 @@ create_build_jobs () { } job_create_test () { - job_create_test_filter_callback "$@" || return 0 - local job=$1; shift local recipe=$1; shift local toolstack=$1; shift @@ -327,6 +325,10 @@ job_create_test () { job="$job$xsm_suffix" xenbuildjob="${bfi}build-$xenarch$xsm_suffix" buildjob="${bfi}build-$dom0arch$xsm_suffix" + + job_create_test_filter_callback \ + "$job" "$recipe" "$toolstack" "$xenarch" "$dom0arch" "$@" || return 0 + tsbuildjob= case "$xenbranch:$toolstack" in