diff options
| author | Martin Wickham <spexguy070@gmail.com> | 2022-05-11 02:22:13 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-09-14 14:42:58 -0700 |
| commit | 5523e2061b37de2b884c1c53fdcefb823755c7d0 (patch) | |
| tree | ca47846fc11ebbbefd0d2c8d1f35b17887407ec1 /lib/std/testing.zig | |
| parent | 61aaef0b074dc2567e4c35c9cb55cb042c18d065 (diff) | |
| download | zig-5523e2061b37de2b884c1c53fdcefb823755c7d0.tar.gz zig-5523e2061b37de2b884c1c53fdcefb823755c7d0.zip | |
Move std.testing.zig_exe_path into build options
Diffstat (limited to 'lib/std/testing.zig')
| -rw-r--r-- | lib/std/testing.zig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/std/testing.zig b/lib/std/testing.zig index 67f6b33122..c71e2d39c9 100644 --- a/lib/std/testing.zig +++ b/lib/std/testing.zig @@ -22,10 +22,6 @@ pub var base_allocator_instance = std.heap.FixedBufferAllocator.init(""); /// TODO https://github.com/ziglang/zig/issues/5738 pub var log_level = std.log.Level.warn; -/// This is available to any test that wants to execute Zig in a child process. -/// It will be the same executable that is running `zig test`. -pub var zig_exe_path: []const u8 = undefined; - /// This function is intended to be used only in tests. It prints diagnostics to stderr /// and then returns a test failure error when actual_error_union is not expected_error. pub fn expectError(expected_error: anyerror, actual_error_union: anytype) !void { |
