mirror of
https://github.com/uutils/coreutils
synced 2024-10-15 04:14:44 +00:00
android: try to use nextest again
This commit is contained in:
parent
ea26719e9a
commit
ada1df2e8e
|
@ -210,7 +210,7 @@ snapshot() {
|
||||||
# We need to install nextest via cargo currently, since there is no pre-built binary for android x86
|
# We need to install nextest via cargo currently, since there is no pre-built binary for android x86
|
||||||
command="'\
|
command="'\
|
||||||
export CARGO_TERM_COLOR=always; \
|
export CARGO_TERM_COLOR=always; \
|
||||||
# build fails for now (https://github.com/nextest-rs/nextest/issues/862): cargo install cargo-nextest; \
|
cargo install cargo-nextest; \
|
||||||
echo \$? > $probe'"
|
echo \$? > $probe'"
|
||||||
run_termux_command "$command" "$probe"
|
run_termux_command "$command" "$probe"
|
||||||
return_code=$?
|
return_code=$?
|
||||||
|
@ -225,7 +225,7 @@ pwd; \
|
||||||
command -v rustc && rustc -Vv; \
|
command -v rustc && rustc -Vv; \
|
||||||
ls -la ~/.cargo/bin; \
|
ls -la ~/.cargo/bin; \
|
||||||
cargo --list; \
|
cargo --list; \
|
||||||
#cargo nextest --version; \
|
cargo nextest --version; \
|
||||||
touch $probe'"
|
touch $probe'"
|
||||||
run_termux_command "$command" "$probe"
|
run_termux_command "$command" "$probe"
|
||||||
|
|
||||||
|
@ -329,7 +329,9 @@ tests() {
|
||||||
export RUST_BACKTRACE=1; \
|
export RUST_BACKTRACE=1; \
|
||||||
export CARGO_TERM_COLOR=always; \
|
export CARGO_TERM_COLOR=always; \
|
||||||
export CARGO_INCREMENTAL=0; \
|
export CARGO_INCREMENTAL=0; \
|
||||||
cd ~/coreutils && cargo test --features feat_os_unix_android; \
|
cd ~/coreutils; \
|
||||||
|
timeout --preserve-status --verbose -k 1m 60m \
|
||||||
|
cargo nextest run --profile ci --hide-progress-bar --features feat_os_unix_android; \
|
||||||
echo \$? >$probe'"
|
echo \$? >$probe'"
|
||||||
run_termux_command "$command" "$probe" || return
|
run_termux_command "$command" "$probe" || return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue