From 7de0ee42b266d47b17c372b5b33da411fc0860ac Mon Sep 17 00:00:00 2001 From: RonLogic <307541314+RonLogic@users.noreply.github.com> Date: Sat, 28 Nov 2026 02:02:49 +0200 Subject: [PATCH] Allow the revision marker in the native Dispatch cache check --- tests/startup_compute_dispatch_native_check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/startup_compute_dispatch_native_check.py b/tests/startup_compute_dispatch_native_check.py index d622bc9858..9c0b1b2bfb 100644 --- a/tests/startup_compute_dispatch_native_check.py +++ b/tests/startup_compute_dispatch_native_check.py @@ -76,7 +76,8 @@ def main(consumer, dxc_dir, adapter): refused = lines(result, 'refused: ') assert got == untouched, 'a Dispatch with no descriptor at table byte 32 wrote the output' assert len(refused) == 1 and 'no translation' not in refused[0], result.stderr[-3000:] - published = sorted(p.name for p in cache.iterdir() if not p.name.startswith('req_') and p.name != 'native') + published = sorted(p.name for p in cache.iterdir() + if not p.name.startswith('req_') and p.name not in ('native', 'revision.txt')) assert not published, f'the native route left {published} in the cache' (directory / 'program').write_bytes(case_a)