From ad1c3924daed9d8810a3bb26d3235e8df01ef108 Mon Sep 17 00:00:00 2001 From: Dextroid17 <217507631+Dextroid17@users.noreply.github.com> Date: Thu, 8 Oct 2026 14:14:59 -0400 Subject: [PATCH] ci: accept the device limitations the CI jobs actually report --- tools/check_skips.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/check_skips.py b/tools/check_skips.py index 0644b271f..5b2098c83 100644 --- a/tools/check_skips.py +++ b/tools/check_skips.py @@ -3,9 +3,9 @@ import re import xml.etree.ElementTree as ET from pathlib import Path -NARROW_SUBGROUPS = re.compile(r"skipped,.*subgroup", re.IGNORECASE) +DEVICE_LIMITATION = re.compile(r"skipped,.*(subgroup|the device has no|the device reports)", re.IGNORECASE) -WINDOWS_PREFIX = "agc_driver_" +WINDOWS_PREFIX = "agc" def skips(path): @@ -35,8 +35,8 @@ if __name__ == "__main__": unexpected = [name for name, _ in found if not name.startswith(WINDOWS_PREFIX)] expected = f"any {WINDOWS_PREFIX}* test, which the runner has no Vulkan driver for" else: - unexpected = [name for name, output in found if not NARROW_SUBGROUPS.search(output)] - expected = "any test that reports the device's subgroups are too narrow for it" + unexpected = [name for name, output in found if not DEVICE_LIMITATION.search(output)] + expected = "any test that reports the device limitation it needs, such as narrow subgroups or a missing extension" for name in unexpected: print(f"error: {name} skipped") if unexpected: