]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
sg-run-job: test-xtf recipe
authorWei Liu <wei.liu2@citrix.com>
Fri, 22 Jul 2016 11:30:57 +0000 (12:30 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 9 Sep 2016 11:08:34 +0000 (12:08 +0100)
Install XTF, run FEP test and then run all available tests.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
sg-run-job

index 6e6a82436a4d5ae0e87453f577b7b6052565744b..e4e4e757eeedbc74b09b118e2e431ee40f65d53d 100755 (executable)
@@ -411,6 +411,16 @@ proc run-job/test-nested {} {
     run-ts . = ts-guest-stop l1 l2
 }
 
+proc need-hosts/test-xtf {} { return host }
+proc run-job/test-xtf {} {
+    run-ts . = ts-xtf-install
+
+    # Spawn and reap fep test to make it non-fatal
+    reap-ts [spawn-ts . = ts-xtf-fep]
+
+    run-ts . = ts-xtf-run
+}
+
 proc test-guest-migr {g} {
     set to_reap [spawn-ts . = ts-migrate-support-check + host $g 1]
     set can_migrate [reap-ts $to_reap]