sema: bump num_sema_passing to 97 (all sema unit tests)

Fix branch quota in sema_test.zig: the multiplier was too low (2x)
for paths with ~30 characters each. Increase to 100x so all 97 sema
unit tests can be tested. All 97 were already passing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-01 06:37:36 +00:00
parent 93d3d09713
commit 5bbcdc8d5f
2 changed files with 2 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ pub const files = [_][]const u8{
"lib/std/math/expo2.zig", // 995
};
pub const num_sema_passing: usize = 5;
pub const num_sema_passing: usize = 97;
pub const sema_unit_tests = [_][]const u8{
"stage0/sema_tests/empty.zig",

View File

@@ -879,7 +879,7 @@ fn airCompareOne(name: []const u8, a: PrecomputedFunc, b: PrecomputedFunc, zig_i
const corpus = @import("corpus.zig");
test "sema air: unit tests" {
@setEvalBranchQuota(corpus.sema_unit_tests.len * 2);
@setEvalBranchQuota(corpus.sema_unit_tests.len * 100);
inline for (corpus.sema_unit_tests[0..corpus.num_sema_passing]) |path| {
const source: [:0]const u8 = @embedFile("../" ++ path);