authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-13 16:22:44+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-10-18 09:28:43+01:00
loga7251e41914c5b24c27ed2669fce2a802a052c05
treed9f0f81dfc0df8d2543ed47f950723f872bb3d4a
parentb866c14328f0779b38f073b2ee3a8a3e437d129c
signaturelock-open Commit is signed but in an unrecognized format.

ci: bump unit test timeouts


8 files changed, 8 insertions(+), 8 deletions(-)

ci/riscv64-linux-debug.sh+1-1
...@@ -52,4 +52,4 @@ stage3-debug/bin/zig build test-cases test-modules test-unit test-c-abi test-sta...@@ -52,4 +52,4 @@ stage3-debug/bin/zig build test-cases test-modules test-unit test-c-abi test-sta
52 -Dtarget=native-native-musl \52 -Dtarget=native-native-musl \
53 --search-prefix "$PREFIX" \53 --search-prefix "$PREFIX" \
54 --zig-lib-dir "$PWD/../lib" \54 --zig-lib-dir "$PWD/../lib" \
55 --test-timeout-ms 60_00055 --test-timeout-ms 120_000
ci/riscv64-linux-release.sh+1-1
...@@ -52,4 +52,4 @@ stage3-release/bin/zig build test-cases test-modules test-unit test-c-abi test-s...@@ -52,4 +52,4 @@ stage3-release/bin/zig build test-cases test-modules test-unit test-c-abi test-s
52 -Dtarget=native-native-musl \52 -Dtarget=native-native-musl \
53 --search-prefix "$PREFIX" \53 --search-prefix "$PREFIX" \
54 --zig-lib-dir "$PWD/../lib" \54 --zig-lib-dir "$PWD/../lib" \
55 --test-timeout-ms 60_00055 --test-timeout-ms 120_000
ci/x86_64-linux-debug-llvm.sh+1-1
...@@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \...@@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \
62 --search-prefix "$PREFIX" \62 --search-prefix "$PREFIX" \
63 --zig-lib-dir "$PWD/../lib" \63 --zig-lib-dir "$PWD/../lib" \
64 -Denable-superhtml \64 -Denable-superhtml \
65 --test-timeout-ms 60_00065 --test-timeout-ms 240_000
ci/x86_64-linux-debug.sh+1-1
...@@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \...@@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \
62 --search-prefix "$PREFIX" \62 --search-prefix "$PREFIX" \
63 --zig-lib-dir "$PWD/../lib" \63 --zig-lib-dir "$PWD/../lib" \
64 -Denable-superhtml \64 -Denable-superhtml \
65 --test-timeout-ms 60_00065 --test-timeout-ms 240_000
ci/x86_64-linux-release.sh+1-1
...@@ -64,7 +64,7 @@ stage3-release/bin/zig build test docs \...@@ -64,7 +64,7 @@ stage3-release/bin/zig build test docs \
64 --search-prefix "$PREFIX" \64 --search-prefix "$PREFIX" \
65 --zig-lib-dir "$PWD/../lib" \65 --zig-lib-dir "$PWD/../lib" \
66 -Denable-superhtml \66 -Denable-superhtml \
67 --test-timeout-ms 60_00067 --test-timeout-ms 240_000
6868
69# Ensure that stage3 and stage4 are byte-for-byte identical.69# Ensure that stage3 and stage4 are byte-for-byte identical.
70stage3-release/bin/zig build \70stage3-release/bin/zig build \
ci/x86_64-windows-debug.ps1+1-1
...@@ -60,7 +60,7 @@ Write-Output "Main test suite..."...@@ -60,7 +60,7 @@ Write-Output "Main test suite..."
60 -Dskip-non-native `60 -Dskip-non-native `
61 -Dskip-release `61 -Dskip-release `
62 -Denable-symlinks-windows `62 -Denable-symlinks-windows `
63 --test-timeout-ms 60_00063 --test-timeout-ms 240_000
64CheckLastExitCode64CheckLastExitCode
6565
66Write-Output "Build x86_64-windows-msvc behavior tests using the C backend..."66Write-Output "Build x86_64-windows-msvc behavior tests using the C backend..."
ci/x86_64-windows-release.ps1+1-1
...@@ -59,7 +59,7 @@ Write-Output "Main test suite..."...@@ -59,7 +59,7 @@ Write-Output "Main test suite..."
59 -Dstatic-llvm `59 -Dstatic-llvm `
60 -Dskip-non-native `60 -Dskip-non-native `
61 -Denable-symlinks-windows `61 -Denable-symlinks-windows `
62 --test-timeout-ms 60_00062 --test-timeout-ms 240_000
63CheckLastExitCode63CheckLastExitCode
6464
65# Ensure that stage3 and stage4 are byte-for-byte identical.65# Ensure that stage3 and stage4 are byte-for-byte identical.
lib/std/Build/Step/Run.zig+1-1
...@@ -1814,7 +1814,7 @@ fn pollZigTest(...@@ -1814,7 +1814,7 @@ fn pollZigTest(
1814 // test. For instance, if the test runner leaves this much time between us requesting a test to1814 // test. For instance, if the test runner leaves this much time between us requesting a test to
1815 // start and it acknowledging the test starting, we terminate the child and raise an error. This1815 // start and it acknowledging the test starting, we terminate the child and raise an error. This
1816 // *should* never happen, but could in theory be caused by some very unlucky IB in a test.1816 // *should* never happen, but could in theory be caused by some very unlucky IB in a test.
1817 const response_timeout_ns = 30 * std.time.ns_per_s;1817 const response_timeout_ns = options.unit_test_timeout_ns orelse 60 * std.time.ns_per_s;
18181818
1819 const stdout = poller.reader(.stdout);1819 const stdout = poller.reader(.stdout);
1820 const stderr = poller.reader(.stderr);1820 const stderr = poller.reader(.stderr);