Re: [Xen-devel] [OSSTEST PATCH v3 24/25] make-flight: create 5 xtf jobs

2016-09-08 Thread Ian Jackson
Wei Liu writes ("Re: [OSSTEST PATCH v3 24/25] make-flight: create 5 xtf jobs"):
> This is a fixup patch to switch from xenbranch_wants_xtf_tests to
> branch_wants_xtf_tests.

Right.  Please retain my ack.

Ian.

___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel


Re: [Xen-devel] [OSSTEST PATCH v3 24/25] make-flight: create 5 xtf jobs

2016-09-08 Thread Wei Liu
This is a fixup patch to switch from xenbranch_wants_xtf_tests to
branch_wants_xtf_tests.


From ac5eaf4e4f10fb7da604a8bee41b1af1b27ad96f Mon Sep 17 00:00:00 2001
From: Wei Liu 
Date: Thu, 8 Sep 2016 17:54:08 +0100
Subject: [OSSTEST PATCH] fixup! make-flight: create 5 xtf jobs
Cc: ian.jack...@eu.citrix.com

---
 make-flight | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/make-flight b/make-flight
index 0aada37..7b166e1 100755
--- a/make-flight
+++ b/make-flight
@@ -423,7 +423,7 @@ do_rtds_tests () {
 }
 
 do_xtf_tests () {
-  if ! xenbranch_wants_xtf_tests; then
+  if ! branch_wants_xtf_tests; then
   return
   fi
 
-- 
2.1.4


___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel


[Xen-devel] [OSSTEST PATCH v3 24/25] make-flight: create 5 xtf jobs

2016-09-06 Thread Wei Liu
Create jobs only for x86 and set host flag diverse-xtf-x86.

Signed-off-by: Wei Liu 
Acked-by: Ian Jackson 
---
 make-flight | 22 ++
 1 file changed, 22 insertions(+)

diff --git a/make-flight b/make-flight
index c94dfa4..0aada37 100755
--- a/make-flight
+++ b/make-flight
@@ -422,6 +422,26 @@ do_rtds_tests () {
 $debian_runvars all_hostflags=$most_hostflags
 }
 
+do_xtf_tests () {
+  if ! xenbranch_wants_xtf_tests; then
+  return
+  fi
+
+  # xtf is only meaningful to x86. And amd64 and i386 should be the same,
+  # create only for one subarch is good enough.
+  if [ x$xenarch != xamd64 -o x$dom0arch != xamd64 ]; then
+  return;
+  fi
+
+  for i in `seq 1 5`; do
+  job_create_test test-xtf-$xenarch-$dom0arch-$i \
+   test-xtf xl $xenarch $dom0arch\
+xtfbuildjob=build-$xenarch-xtf   \
+xen_boot_append='hvm_fep=1'  \
+all_hostflags=$most_hostflags,diverse-xtf-x86
+  done
+}
+
 do_multivcpu_tests () {
   if [ $xenarch != $dom0arch ]; then
 return
@@ -705,6 +725,8 @@ test_matrix_do_one () {
 
   do_pygrub_tests
   do_pvgrub_tests
+
+  do_xtf_tests
 }
 
 if [ x$buildflight = x ]; then
-- 
2.1.4


___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel