File: test

package info (click to toggle)
clamav 1.0.7%2Bdfsg-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 262,812 kB
  • sloc: ansic: 182,876; cpp: 6,947; python: 4,133; sh: 2,679; javascript: 2,195; yacc: 1,357; asm: 1,245; lex: 716; makefile: 108; perl: 17
file content (22 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download | duplicates (35)
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