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

[Xen-devel] [OSSTEST PATCH 1/3] mfi-*: Reformat/refactor migrupgrade test generation slightly



* Introduce a variable "$hf" containing the hostflags.
* Properly indent the job_create_test call.

No functional change.  This will make the substantive change easier to
read.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 make-flight | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/make-flight b/make-flight
index 22dedf2..8d1a9b8 100755
--- a/make-flight
+++ b/make-flight
@@ -818,13 +818,15 @@ test_matrix_do_one () {
   if branch_wants_migrupgrade_tests ; then
       # x86 only for now
       if [ x$xenarch = xamd64 ] ; then
-      job_create_test test-$xenarch$kern-$dom0arch-migrupgrade 
test-pair-oneway \
+        local hf=$most_hostflags,equiv-1
+        job_create_test test-$xenarch$kern-$dom0arch-migrupgrade \
+                      test-pair-oneway \
                       xl $xenarch $dom0arch \
                       !host !host_hostflags \
                       src_host_buildjob=${bfi}build-$dom0arch-prev \
                       src_host_xenbuildjob=${bfi}build-$xenarch-prev \
                       $debian_runvars \
-                      all_hostflags=$most_hostflags,equiv-1
+                      all_hostflags="$hf"
       fi
       # TODO it would be nice to test i386->amd64 tools migration too (for
       # Xen >= 4.6), but currently $r{arch} is used in several places,
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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