aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-30 11:21:33 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-30 11:22:27 -0700
commit47dfaf47b89d4d87a9a15aed512e910fdec5cbb0 (patch)
treeb7fcd3857aa0c8e93ac10ef48ba19610ff697711 /test/compile_errors.zig
parentf5d9160f1b9fcf7b459c6746e8256d349f0c6873 (diff)
downloadzig-47dfaf47b89d4d87a9a15aed512e910fdec5cbb0.tar.gz
zig-47dfaf47b89d4d87a9a15aed512e910fdec5cbb0.zip
stage2: test compile errors independently
Until we land some incremental compilation bug fixes, this prevents CI failures when running the compile errors test cases.
Diffstat (limited to 'test/compile_errors.zig')
-rw-r--r--test/compile_errors.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index 7da410f9e3..4d18d77ce4 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -13,7 +13,8 @@ pub fn addCases(ctx: *TestContext) !void {
var stage2_dir = try compile_errors_dir.openDir("stage2", .{ .iterate = true, .no_follow = true });
defer stage2_dir.close();
- const one_test_case_per_file = false;
+ // TODO make this false once the bug is solved that it triggers
+ const one_test_case_per_file = true;
try ctx.addErrorCasesFromDir("stage2", stage2_dir, .stage2, .Obj, false, one_test_case_per_file);
}