Skip to content

Commit b6a1fdd

Browse files
committed
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 parent a3b3a33 commit b6a1fdd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/compile_errors.zig

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ const builtin = @import("builtin");
33
const Cases = @import("src/Cases.zig");
44

55
pub 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 {

0 commit comments

Comments
 (0)