]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
make-flight: Set di_version runvar on d-i based test jobs.
authorIan Campbell <ian.campbell@citrix.com>
Mon, 18 Jan 2016 14:28:53 +0000 (14:28 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 22 Feb 2016 09:01:28 +0000 (09:01 +0000)
Note that make-distros-flight does not want this, since it uses d-i
fetched from the web not the version in our config.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
make-flight

index 6b2b3eabf74227461b185d5dc75382ffb0177b32..e9cad0a166043225f3afdbc6b6d2c91bee294695 100755 (executable)
@@ -33,6 +33,7 @@ flight=`./cs-flight-create $blessing $branch`
 
 defsuite=`getconfig DebianSuite`
 defguestsuite=`getconfig GuestDebianSuite`
+guest_di_version=`getconfig TftpDiVersion`
 
 case "$branch" in
 xen-unstable-smoke)
@@ -433,6 +434,7 @@ do_pygrub_tests () {
     test-debian-di xl $xenarch $dom0arch                \
       debian_arch=amd64                                 \
       debian_suite=$guestsuite                          \
+      debian_di_version=$guest_di_version               \
       debian_method=netboot                             \
       debian_bootloader=pygrub                          \
       all_hostflags=$most_hostflags
@@ -447,6 +449,7 @@ do_pvgrub_tests () {
     test-debian-di xl $xenarch $dom0arch                        \
       debian_arch=amd64                                         \
       debian_suite=$guestsuite                                  \
+      debian_di_version=$guest_di_version                       \
       debian_method=netboot                                     \
       debian_bootloader=pvgrub                                  \
       all_hostflags=$most_hostflags                             \
@@ -455,6 +458,7 @@ do_pvgrub_tests () {
     test-debian-di xl $xenarch $dom0arch                        \
       debian_arch=i386                                          \
       debian_suite=$guestsuite                                  \
+      debian_di_version=$guest_di_version                       \
       debian_method=netboot                                     \
       debian_bootloader=pvgrub                                  \
       all_hostflags=$most_hostflags