|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 0/2] tools/ocaml: extend the bindings test
Hello Andrew, based on your initial skeleton in commit d97847e858f17b4, I have added tests to check the Xenctrl C stubs against the types in xenctrl.mli, so a mismatch isn't caught at build time. These patches extend test-ocaml-bindings to check the values returned by physinfo() and domain_getinfolist(), and to create a domain with some values and read them back. The series depends on "tools/ocaml: Add misc_flags in the x86 domaininfo arch_config", which I posted separately: https://lore.kernel.org/xen-devel/1794838886.8631fc262581453bbf619ec5b2062170.1a1e4bbf7cb0006d3f@xxxxxxxxxx/ Without it, the x86 checks of arch_config fail. On x86 the test runs in the existing tools-tests jobs. I tested the Arm parts under QEMU, with GICv2 and GICv3 for now, since there is no Arm CI job running tools/tests yet. I'll send that later once again, once the discussion on the p2m pool is settled. Signed-off-by: Julian Vetter <julian.vetter@xxxxxxxxxx> Julian Vetter (2): tools/ocaml: check physinfo and domain_getinfolist in the bindings test tools/ocaml: check domain_create in the bindings test tools/ocaml/tests/bindings/main.ml | 230 ++++++++++++++++++++++++++++- 1 file changed, 229 insertions(+), 1 deletion(-) -- 2.53.0 -- Julian Vetter | Vates Hypervisor & Kernel Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |