summaryrefslogtreecommitdiffstats
path: root/vendor/regex-syntax-0.6.29/test
blob: 4b1b9fb1a99964df729e11adcef65c7817e8b3ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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