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");
33const Cases = @import("src/Cases.zig");
44
55pub 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) {
79 const case = ctx.obj("multiline error message", b.graph.host);
810 case.addError(
911 \\comptime {
......@@ -15,7 +17,9 @@ pub fn addCases(ctx: *Cases, b: *std.Build) !void {
1517 });
1618 }
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) {
1923 const case = ctx.obj("multiline error message with trailing newline", b.graph.host);
2024 case.addError(
2125 \\comptime {