From a79a0498846702ceafaf2f7cf260210660ce4c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Fri, 13 Feb 2026 05:16:10 +0000 Subject: [PATCH] astgen: add skipped corpus tests for remaining files Add corpus tests for tokenizer_test.zig and astgen_test.zig, skipped pending fixes: - tokenizer_test.zig: needs ref_coerced_ty result location (428 inst diff) - astgen_test.zig: 1 missing dbg_stmt, extra_len mismatch (375 extra diff) Co-Authored-By: Claude Opus 4.6 --- astgen_test.zig | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/astgen_test.zig b/astgen_test.zig index 157c019580..d567816ac3 100644 --- a/astgen_test.zig +++ b/astgen_test.zig @@ -993,6 +993,18 @@ test "astgen: corpus test_all.zig" { // try corpusCheck(gpa, "build.zig", @embedFile("build.zig")); // } +test "astgen: corpus tokenizer_test.zig" { + if (true) return error.SkipZigTest; // TODO: needs ref_coerced_ty + const gpa = std.testing.allocator; + try corpusCheck(gpa, "tokenizer_test.zig", @embedFile("tokenizer_test.zig")); +} + +test "astgen: corpus astgen_test.zig" { + if (true) return error.SkipZigTest; // TODO: 1 missing dbg_stmt, extra_len mismatch + const gpa = std.testing.allocator; + try corpusCheck(gpa, "astgen_test.zig", @embedFile("astgen_test.zig")); +} + test "astgen: enum decl" { const gpa = std.testing.allocator; const source: [:0]const u8 = "const E = enum { a, b, c };";