[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST v7 11/15] make-flight: refactor PV debian tests
No functional change, standalone-generate-dump-flight-runvars confirms no change to the runvars. Includes a hook which is not used yet, $recipe_sfx. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- v4: new patch --- make-flight | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/make-flight b/make-flight index 99fb1ee..8206508 100755 --- a/make-flight +++ b/make-flight @@ -349,6 +349,17 @@ do_pvgrub_tests () { all_hostflags=$most_hostflags } +do_pv_debian_test_one () { + testname=$1; shift + recipe_sfx=$1; shift + toolstack=$1; shift + + job_create_test test-$xenarch$kern-$dom0arch-$testname \ + test-debian$recipe_sfx $toolstack \ + $xenarch $dom0arch \ + $debian_runvars all_hostflags=$most_hostflags $@ +} + do_pv_debian_tests () { xsms=$(xenbranch_xsm_variants) @@ -364,20 +375,13 @@ do_pv_debian_tests () { suffix=${platform:+-$platform} hostflags=${most_hostflags}${platform:+,platform-$platform} - job_create_test test-$xenarch$kern-$dom0arch-xl$suffix \ - test-debian xl \ - $xenarch $dom0arch \ - enable_xsm=$xsm \ - $debian_runvars all_hostflags=$hostflags + do_pv_debian_test_one xl$suffix '' xl enable_xsm=$xsm + done done for xsm in $xsms ; do - job_create_test test-$xenarch$kern-$dom0arch-libvirt \ - test-debian libvirt \ - $xenarch $dom0arch \ - enable_xsm=$xsm \ - $debian_runvars all_hostflags=$most_hostflags + do_pv_debian_test_one libvirt '' libvirt enable_xsm=$xsm done } -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |