Add ulimit check to stable test suite
cargo test needs larger ulimit than default as well.
This commit is contained in:
committed by
sakridge
parent
8cc751d1cc
commit
5c71f2a439
@ -12,6 +12,11 @@ _() {
|
|||||||
"$@"
|
"$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ $(ulimit -n) -lt 65000 ]]; then
|
||||||
|
echo 'Error: nofiles too small, run "ulimit -n 65000" to continue'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
_ cargo build --all --verbose
|
_ cargo build --all --verbose
|
||||||
_ cargo test --verbose --lib -- --nocapture
|
_ cargo test --verbose --lib -- --nocapture
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user