aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-02-20 01:37:24 +0000
committerMatthew Lugg <mlugg@mlugg.co.uk>2025-02-23 00:52:50 +0000
commitb6a1fdd3fa167878f75b4f12ac170d1a10e4e9a2 (patch)
tree1277d71f2f688e42ea4eeef6c8c8effd4daef3a4 /test/compile_errors.zig
parenta3b3a33d7a365bde9cb71cd5a5bf6663754b5ade (diff)
downloadzig-b6a1fdd3fa167878f75b4f12ac170d1a10e4e9a2.tar.gz
zig-b6a1fdd3fa167878f75b4f12ac170d1a10e4e9a2.zip
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.
Diffstat (limited to 'test/compile_errors.zig')
-rw-r--r--test/compile_errors.zig8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index 669970aee7..109347cde8 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -3,7 +3,9 @@ const builtin = @import("builtin");
const Cases = @import("src/Cases.zig");
pub fn addCases(ctx: *Cases, b: *std.Build) !void {
- {
+ // This test is currently disabled because the leading spaces aligning non-initial lines of the
+ // error message don't play nice with the test runner.
+ if (false) {
const case = ctx.obj("multiline error message", b.graph.host);
case.addError(
\\comptime {
@@ -15,7 +17,9 @@ pub fn addCases(ctx: *Cases, b: *std.Build) !void {
});
}
- {
+ // This test is currently disabled because the leading spaces aligning non-initial lines of the
+ // error message don't play nice with the test runner.
+ if (false) {
const case = ctx.obj("multiline error message with trailing newline", b.graph.host);
case.addError(
\\comptime {