Andrew Gallant 0abcada3a7 ci: test scripts should fail on errors
While these test scripts are running in CI, if any of their commands
fail, they don't actually fail the build.
2021-05-01 18:52:18 -04:00

23 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