fune/third_party/rust/regex-syntax/test
2021-06-15 22:17:31 +00:00

22 lines
416 B
Bash
Executable file

#!/bin/bash
set -e
# This is a convenience script for running a broad swath of the syntax tests.
echo "===== DEFAULT FEATURES ==="
cargo test
features=(
unicode
unicode-age
unicode-bool
unicode-case
unicode-gencat
unicode-perl
unicode-script
unicode-segment
)
for f in "${features[@]}"; do
echo "===== FEATURE: $f ==="
cargo test --no-default-features --features "$f"
done