Skip to content

Commit bbeb7cb

Browse files
authored
Merge pull request #185 from xcp-ng/stormi/fix-xtf
tests/xen: add test-pv64-xsa-444 to list of common skips for XTF
2 parents e313ff2 + 27e63c4 commit bbeb7cb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: tests/xen/test_xtf.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@
1111
@pytest.mark.usefixtures("host_with_hvm_fep", "host_with_dynamically_disabled_ept_sp")
1212
class TestXtf:
1313
_common_skips = [
14+
# UMIP requires hardware support, that is a recent enough CPU
1415
'test-hvm32-umip',
1516
'test-hvm64-umip',
17+
# PV Superpages, a thing which was removed long ago from the hypervisor. Always skips
1618
'test-pv64-xsa-167',
17-
'test-pv64-xsa-182'
19+
# Depends on pv linear pagetables, which is disabled by default but can be activated on Xen's cmdline.
20+
# Is not needed for Linux. It is for a NetBSD PV guest.
21+
'test-pv64-xsa-182',
22+
# Will skip if DBEXT support is not present
23+
'test-pv64-xsa-444',
1824
]
1925

2026
def _extract_skipped_tests(self, output):
@@ -42,6 +48,7 @@ def test_all(self, host, xtf_runner):
4248
"Checking whether they belong to the allowed list...")
4349
for skipped_test in skipped_tests:
4450
if skipped_test not in self._common_skips:
51+
logging.error(f"... At least one doesn't")
4552
raise
4653
logging.info("... They do")
4754
else:

0 commit comments

Comments
 (0)