代码拉取完成,页面将自动刷新
#!/bin/bash
set -e
# This is a convenience script for running a broad swath of tests across
# features. We don't test the complete space, since the complete space is quite
# large. Hopefully once we migrate the test suite to better infrastructure
# (like regex-automata), we'll be able to test more of the space.
echo "===== DEFAULT FEATURES ==="
cargo test
echo "===== DOC TESTS ==="
cargo test --doc
features=(
"std"
"std unicode"
"std unicode-perl"
"std perf"
"std perf-cache"
"std perf-dfa"
"std perf-inline"
"std perf-literal"
)
for f in "${features[@]}"; do
echo "===== FEATURE: $f (default) ==="
cargo test --test default --no-default-features --features "$f"
echo "===== FEATURE: $f (default-bytes) ==="
cargo test --test default-bytes --no-default-features --features "$f"
done
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。