mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-15 19:36:16 +00:00
Merge pull request #3841 from niyaznigmatullin/android_add_timeout
CI/android: add 60 min timeout for cargo test to see where it's stuck
This commit is contained in:
commit
3523f12862
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ build () {
|
|||
|
||||
tests () {
|
||||
probe='/sdcard/tests.probe'
|
||||
command="'cd ~/coreutils && cargo test --features feat_os_unix_android --no-fail-fast >/sdcard/tests.log 2>&1; echo \$? >$probe'"
|
||||
command="'cd ~/coreutils && timeout --preserve-status --verbose -k 1m 60m cargo test --features feat_os_unix_android --no-fail-fast >/sdcard/tests.log 2>&1; echo \$? >$probe'"
|
||||
run_termux_command "$command" "$probe"
|
||||
return_code=$?
|
||||
adb pull /sdcard/tests.log .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue