1#!/bin/bash 2 3set -e 4 5# This is a convenience script for running a broad swath of the syntax tests. 6echo "===== DEFAULT FEATURES ===" 7cargo test 8 9features=( 10 unicode 11 unicode-age 12 unicode-bool 13 unicode-case 14 unicode-gencat 15 unicode-perl 16 unicode-script 17 unicode-segment 18) 19for f in "${features[@]}"; do 20 echo "===== FEATURE: $f ===" 21 cargo test --no-default-features --features "$f" 22done 23