summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHaitao Liu <haitao.liu@windriver.com>2026-05-29 10:39:41 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2026-06-12 18:44:00 +0000
commit3ed3d6b3f36ae4876dbb39d8fec4cfff66c0c337 (patch)
tree07407cdeb1013407846686615f842b7e9473e059 /scripts
parent3bab17837218acb9668c5382bde1d916245b281b (diff)
downloadmeta-virtualization-3ed3d6b3f36ae4876dbb39d8fec4cfff66c0c337.tar.gz
libvirt: re-add ptest support for meson build system
libvirt has switched its build system from Makefile to meson, so the original run-ptest which relied on "make -C tests -k check-TESTS" no longer works. Re-add ptest support based on the meson build system: - Rewrite run-ptest to directly execute the compiled test binaries instead of invoking make. - Patch meson.build at configure time to replace absolute build/source paths with the ptest install paths, removing the need for separate path-stripping patches. - Install test binaries and their required data files into the ptest directory. Test results on genericx86-64: All 120 tests passed (0 failures, 0 skips). root@genericx86-64:/usr/lib/libvirt/ptest# ./run-ptest PASS: chxml2xmltest PASS: nssguestlinktest PASS: virbuftest PASS: viracpitest PASS: esxutilstest PASS: ssh PASS: storagepoolxml2xmltest PASS: commandtest ... ... PASS: nwfilterebiptablestest PASS: cputest === Test Summary === PASS: 120 FAIL: 0 SKIP: 0 TOTAL: 120 Signed-off-by: Haitao Liu <haitao.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions