diff mbox

[OSSTEST,12/16] make-flight: don't test pvgrub for Xen XXX

Message ID 20171020103840.32762-13-wei.liu2@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wei Liu Oct. 20, 2017, 10:38 a.m. UTC
XXX Need to pin down the version of Xen when the upgrade to stretch is
complete because osstest configuration is branched for each version.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 make-flight | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/make-flight b/make-flight
index ecce3c0..b95f7e3 100755
--- a/make-flight
+++ b/make-flight
@@ -823,7 +823,22 @@  test_matrix_do_one () {
   #do_passthrough_tests
 
   do_pygrub_tests
-  do_pvgrub_tests
+
+  # pvgrub1 tests for version < XXX only
+  case "$xenbranch" in
+  xen-4.3-testing) test_pvgrub=y ;;
+  xen-4.4-testing) test_pvgrub=y ;;
+  xen-4.5-testing) test_pvgrub=y ;;
+  xen-4.6-testing) test_pvgrub=y ;;
+  xen-4.7-testing) test_pvgrub=y ;;
+  xen-4.8-testing) test_pvgrub=y ;;
+  xen-4.9-testing) test_pvgrub=y ;;
+  *)               test_pvgrub=n ;;
+  esac
+
+  if [ x$test_pvgrub = xy ]; then
+      do_pvgrub_tests
+  fi
 
   do_xtf_tests
   do_livepatch_tests