make-flight: Test with `sched=credit'
PATCH 1/1 make-flight: Test with `sched=credit'
The default in xen-unstable#staging is soon to be sched=credit2. That leaves osstest not testing credit1 at all.
Add a job that does this. It's a copy of the -credit2 job. (It's a pretty nugatory test but it will probably do.)
We call the test -credit1, although the Xen parameter is =credit.
I have verified with standalone-generate-dump-flight-runvars that the effect is to add the appropriately mutated copy of the credit2 job to every flight. The mutations are solely the sched= parameter and the job name.
--- make-flight | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
make-flight +8 -4
@@ -493,15 +493,19 @@ do_hvm_rhel6_tests () { done } -do_credit2_tests () { +do_credit12_tests () { if [ $xenarch != $dom0arch ]; then return fi - job_create_test test-$xenarch$kern-$dom0arch-xl-credit2 \ + for c in credit1:credit credit2:credit2; do + + job_create_test test-$xenarch$kern-$dom0arch-xl-${c%:*} \ test-debian xl $xenarch $dom0arch \ - guests_vcpus=4 xen_boot_append='sched=credit2' \ + guests_vcpus=4 xen_boot_append="sched=${c#*:}" \ $debian_runvars all_hostflags=$most_hostflags + + done } do_rtds_tests () {
@@ -730,7 +734,7 @@ test_matrix_do_one () { esac do_rtds_tests - do_credit2_tests + do_credit12_tests do_examine_one
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 13 lines · Ian Jackson
The default in xen-unstable#staging is soon to be sched=credit2. That leaves osstest not testing credit1 at all.
Add a job that does this. It's a copy of the -credit2 job. (It's a pretty nugatory test but it will probably do.)
We call the test -credit1, although the Xen parameter is =credit.
I have verified with standalone-generate-dump-flight-runvars that the effect is to add the appropriately mutated copy of the credit2 job to every flight. The mutations are solely the sched= parameter and the job name.
Quoted 9 lines
CC George Dunlap <[email protected]>CC Dario Faggioli <[email protected]>CC Jan Beulich <[email protected]>CC Andrew Cooper <[email protected]>CC Wei Liu <[email protected]>CC Stefano Stabellini <[email protected]>CC Konrad Rzeszutek Wilk <[email protected]>CC Tim Deegan <[email protected]>Signed-off-by Ian Jackson <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel