mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
ci: bump unit test timeouts
This commit is contained in:
parent
b866c14328
commit
a7251e4191
8 changed files with 8 additions and 8 deletions
|
|
@ -52,4 +52,4 @@ stage3-debug/bin/zig build test-cases test-modules test-unit test-c-abi test-sta
|
|||
-Dtarget=native-native-musl \
|
||||
--search-prefix "$PREFIX" \
|
||||
--zig-lib-dir "$PWD/../lib" \
|
||||
--test-timeout-ms 60_000
|
||||
--test-timeout-ms 120_000
|
||||
|
|
|
|||
|
|
@ -52,4 +52,4 @@ stage3-release/bin/zig build test-cases test-modules test-unit test-c-abi test-s
|
|||
-Dtarget=native-native-musl \
|
||||
--search-prefix "$PREFIX" \
|
||||
--zig-lib-dir "$PWD/../lib" \
|
||||
--test-timeout-ms 60_000
|
||||
--test-timeout-ms 120_000
|
||||
|
|
|
|||
|
|
@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \
|
|||
--search-prefix "$PREFIX" \
|
||||
--zig-lib-dir "$PWD/../lib" \
|
||||
-Denable-superhtml \
|
||||
--test-timeout-ms 60_000
|
||||
--test-timeout-ms 240_000
|
||||
|
|
|
|||
|
|
@ -62,4 +62,4 @@ stage3-debug/bin/zig build test docs \
|
|||
--search-prefix "$PREFIX" \
|
||||
--zig-lib-dir "$PWD/../lib" \
|
||||
-Denable-superhtml \
|
||||
--test-timeout-ms 60_000
|
||||
--test-timeout-ms 240_000
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ stage3-release/bin/zig build test docs \
|
|||
--search-prefix "$PREFIX" \
|
||||
--zig-lib-dir "$PWD/../lib" \
|
||||
-Denable-superhtml \
|
||||
--test-timeout-ms 60_000
|
||||
--test-timeout-ms 240_000
|
||||
|
||||
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
||||
stage3-release/bin/zig build \
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ Write-Output "Main test suite..."
|
|||
-Dskip-non-native `
|
||||
-Dskip-release `
|
||||
-Denable-symlinks-windows `
|
||||
--test-timeout-ms 60_000
|
||||
--test-timeout-ms 240_000
|
||||
CheckLastExitCode
|
||||
|
||||
Write-Output "Build x86_64-windows-msvc behavior tests using the C backend..."
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ Write-Output "Main test suite..."
|
|||
-Dstatic-llvm `
|
||||
-Dskip-non-native `
|
||||
-Denable-symlinks-windows `
|
||||
--test-timeout-ms 60_000
|
||||
--test-timeout-ms 240_000
|
||||
CheckLastExitCode
|
||||
|
||||
# Ensure that stage3 and stage4 are byte-for-byte identical.
|
||||
|
|
|
|||
|
|
@ -1814,7 +1814,7 @@ fn pollZigTest(
|
|||
// test. For instance, if the test runner leaves this much time between us requesting a test to
|
||||
// start and it acknowledging the test starting, we terminate the child and raise an error. This
|
||||
// *should* never happen, but could in theory be caused by some very unlucky IB in a test.
|
||||
const response_timeout_ns = 30 * std.time.ns_per_s;
|
||||
const response_timeout_ns = options.unit_test_timeout_ns orelse 60 * std.time.ns_per_s;
|
||||
|
||||
const stdout = poller.reader(.stdout);
|
||||
const stderr = poller.reader(.stderr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue