Heya!

With this test-harness I am able to run the regressions tests on livepatches
on Xen 4.8. I only used the standalone tests. The incantations was:

To prep:
./sg-run-job build-amd64
./sg-run-job build-amd64-pvops

And then to run:
./sg-run-job test-amd64-amd64-livepatch

There are still some TODOs such as:
 - Test this on ARM (it should work out of the box),
 - Not sure how to hook this up to the real OSSTest?
 - It is missing checks to only run the testcases on Xen 4.8 or later.

Anyhow, please see the patches and provide feedback.

Thanks!

 Osstest/TestSupport.pm |  28 ++++++++------
 make-flight            |  12 ++++++
 mfi-common             |   9 +++++
 sg-run-job             |   5 +++
 ts-livepatch           | 102 +++++++++++++++++++++++++++++++++++++++++++++++++
 ts-xen-build           |  14 +++++++
 6 files changed, 159 insertions(+), 11 deletions(-)

Konrad Rzeszutek Wilk (7):
      ts-xen-build: Enable livepatch.
      ts-xen-build: Build the livepatch test-cases
      ts-xen-build: Install livepatch regressions tests.
      OssTest: Add target_cmd_root_rc which returns return code.
      ts-livepatch: Initial test-cases.
      sg-run-job: Add the test-livepatch.
      make-flight/mfi-common: Add them in the matrix.


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to