diff options
| author | Igor Anić <igor.anic@gmail.com> | 2024-03-04 22:47:53 +0100 |
|---|---|---|
| committer | Igor Anić <igor.anic@gmail.com> | 2024-03-11 12:24:11 +0100 |
| commit | 8ec990d6d71174fbc3961fa11d4a74d6ec81f58a (patch) | |
| tree | 10aef65b22be3fa388c9193fc831fd480692a7f5 /lib/std | |
| parent | 8cc35a0255cae7728cfadfbe625986dc7c509def (diff) | |
| download | zig-8ec990d6d71174fbc3961fa11d4a74d6ec81f58a.tar.gz zig-8ec990d6d71174fbc3961fa11d4a74d6ec81f58a.zip | |
disable test which is hanging on windows in ci
When this test is enabled something like:
`zig build test docs --zig-lib-dir .\lib\ -Dstatic-llvm -Dskip-non-native -Denable-symlinks-windows`
never finishes.
Those are failed runs from ci:
https://github.com/ziglang/zig/actions/runs/8137710393
https://github.com/ziglang/zig/actions/runs/8129619923
https://github.com/ziglang/zig/actions/runs/8125845128
Isolating that test and running it is not a problem. Running something
like `zig test .\lib\std\std.zig --zig-lib-dir .\lib\` is fine.
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/tar.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/std/tar.zig b/lib/std/tar.zig index a6ec42d415..7730eb9ae7 100644 --- a/lib/std/tar.zig +++ b/lib/std/tar.zig @@ -896,6 +896,11 @@ test "header parse mode" { } test "create file and symlink" { + // With test enabled this is hanging under windows: + // zig build test docs --zig-lib-dir .\lib\ -Dstatic-llvm -Dskip-non-native -Denable-symlinks-windows + const builtin = @import("builtin"); + if (builtin.os.tag == .windows) return error.SkipZigTest; + var root = std.testing.tmpDir(.{}); defer root.cleanup(); |
