[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/9] tools/ocaml: check the Xenctrl bindings, and run tools/tests on Arm hardware



Hello Andrew,
thanks a lot for the review of v1, and for the suggestion to run
tools/tests/* on the Xilinx board. I have extended the patchset to run
those tests on the Xilinx board and as you suggested have split the
first patch into 3.

Regarding your question on ~size and ~nr. Yes, they have to be adapted
by hand whenever xenctrl.mli and the stubs change. The checks compare
against fixed numbers. But if the stub is changed but the test
isn't, or the other way round, the test fails and prints what it found
and what it expected (tag and size).

Signed-off-by: Julian Vetter <julian.vetter@xxxxxxxxxx>
---
Changes in v2:
- As suggested by Andrew split v1 patch into three parts (test
  infrastructure, physinfo, and domaininfo)
- Open Xenctrl, to remove the Xenctrl. prefixes
- Patch 4: Destroy domain without Fun.protect (needs OCaml >= 4.08)
- New patches 5-9, running tools/tests/* on the Xilinx board.
---
Julian Vetter (9):
  tools/ocaml: add block checks to the bindings test
  tools/ocaml: check physinfo in the bindings test
  tools/ocaml: check domain_getinfolist in the bindings test
  tools/ocaml: check domain_create in the bindings test
  automation: use a case statement for the Xilinx arm64 test variants
  automation: allow run-tools-tests to exclude tests
  automation: make the domU of the Xilinx arm64 test optional
  automation: add a tools-tests variant to the Xilinx arm64 script
  automation: run tools/tests on the Xilinx arm64 hardware

 automation/gitlab-ci/test.yaml                |  12 +
 automation/scripts/run-tools-tests            |  23 +-
 .../scripts/xilinx-smoke-dom0less-arm64.sh    | 141 +++++++---
 tools/ocaml/tests/bindings/main.ml            | 247 +++++++++++++++++-
 4 files changed, 383 insertions(+), 40 deletions(-)

-- 
2.53.0



--
Julian Vetter | Vates Hypervisor & Kernel Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.