From 4d2b216121e5fbdb019ab8e727df654e7b08e984 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Tue, 10 Jun 2025 21:57:46 -0400 Subject: test-stack-traces: correct expected object file name The name of the ZCU object file emitted by the LLVM backend has been changed in this branch from e.g. `foo.obj` to `foo_zcu.obj`. This is to avoid name clashes. This commit just updates the stack trace tests which started failing on windows because of the object name change. --- test/src/check-stack-trace.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/src/check-stack-trace.zig') diff --git a/test/src/check-stack-trace.zig b/test/src/check-stack-trace.zig index fccbbe3609..43800086af 100644 --- a/test/src/check-stack-trace.zig +++ b/test/src/check-stack-trace.zig @@ -65,7 +65,7 @@ pub fn main() !void { // This actually violates the DWARF specification (DWARF5 ยง 3.1.1, lines 24-27). // The self-hosted backend uses the root Zig source file of the module (in compilance with the spec). if (std.mem.eql(u8, file_name, "test") or - std.mem.eql(u8, file_name, "test.exe.obj") or + std.mem.eql(u8, file_name, "test_zcu.obj") or std.mem.endsWith(u8, file_name, ".zig")) { try buf.appendSlice("[main_file]"); -- cgit v1.2.3