oden/third-party/vendor/regex-syntax-0.6.29/test
2024-03-08 11:03:01 -08: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