cases: remove old incremental case system

We now run incremental tests with `tools/incr-check.zig` (with the
actual cases being in `test/incremental/`).
This commit is contained in:
mlugg
2025-02-05 14:13:26 +00:00
committed by Matthew Lugg
parent 5e203e157b
commit a3b3a33d7a
3 changed files with 68 additions and 277 deletions

View File

@@ -4,8 +4,7 @@ const Cases = @import("src/Cases.zig");
pub fn addCases(ctx: *Cases, b: *std.Build) !void {
{
const case = ctx.obj("multiline error messages", b.graph.host);
const case = ctx.obj("multiline error message", b.graph.host);
case.addError(
\\comptime {
\\ @compileError("hello\nworld");
@@ -14,7 +13,10 @@ pub fn addCases(ctx: *Cases, b: *std.Build) !void {
\\:2:5: error: hello
\\ world
});
}
{
const case = ctx.obj("multiline error message with trailing newline", b.graph.host);
case.addError(
\\comptime {
\\ @compileError(