[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 22/27] 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 <Ian.Jackson@xxxxxxxxxxxxx>
---
 mfi-common |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/mfi-common b/mfi-common
index af98f2d..6ffa9e6 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
@@ -323,8 +321,11 @@ job_create_test () {
   case " $* " in
     *" enable_xsm=true "*) xsm_suffix="-xsm";
   esac
-
   job="$job$xsm_suffix"
+
+  job_create_test_filter_callback \
+    "$job" "$recipe" "$toolstack" "$xenarch" "$dom0arch" "$@" || return 0
+
   xenbuildjob="${xenbfi}build-$xenarch$xsm_suffix"
   buildjob="${xenbfi}build-$dom0arch$xsm_suffix"
   tsbuildjob=
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.