summaryrefslogtreecommitdiffstats
path: root/third_party/rust/regex-syntax/test
blob: 9970a9945a810ccb48ee64c1024fe1455ccd6857 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

# 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