authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-02-20 01:37:24+00:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-02-23 00:52:50+00:00
logb6a1fdd3fa167878f75b4f12ac170d1a10e4e9a2
tree1277d71f2f688e42ea4eeef6c8c8effd4daef3a4
parenta3b3a33d7a365bde9cb71cd5a5bf6663754b5ade

tests: disable failing tests

These were previously incremental tests, so weren't running. They didn't *need* to be incremental. They worked under the old runner because of how it directly integrated with the compiler so tracked error messages differently.

1 files changed, 6 insertions(+), 2 deletions(-)

test/compile_errors.zig+6-2
...@@ -3,7 +3,9 @@ const builtin = @import("builtin");...@@ -3,7 +3,9 @@ const builtin = @import("builtin");
3const Cases = @import("src/Cases.zig");3const Cases = @import("src/Cases.zig");
44
5pub fn addCases(ctx: *Cases, b: *std.Build) !void {5pub fn addCases(ctx: *Cases, b: *std.Build) !void {
6 {6 // This test is currently disabled because the leading spaces aligning non-initial lines of the
7 // error message don't play nice with the test runner.
8 if (false) {
7 const case = ctx.obj("multiline error message", b.graph.host);9 const case = ctx.obj("multiline error message", b.graph.host);
8 case.addError(10 case.addError(
9 \\comptime {11 \\comptime {
...@@ -15,7 +17,9 @@ pub fn addCases(ctx: *Cases, b: *std.Build) !void {...@@ -15,7 +17,9 @@ pub fn addCases(ctx: *Cases, b: *std.Build) !void {
15 });17 });
16 }18 }
1719
18 {20 // This test is currently disabled because the leading spaces aligning non-initial lines of the
21 // error message don't play nice with the test runner.
22 if (false) {
19 const case = ctx.obj("multiline error message with trailing newline", b.graph.host);23 const case = ctx.obj("multiline error message with trailing newline", b.graph.host);
20 case.addError(24 case.addError(
21 \\comptime {25 \\comptime {