gecko-dev/third_party/rust/regex/ci/run-shootout-test

19 строки
538 B
Bash
Executable File

#!/bin/bash
set -e
cargo build --example shootout-regex-dna
diff \
./examples/regexdna-output.txt \
<(./target/debug/examples/shootout-regex-dna < ./examples/regexdna-input.txt)
cargo build --example shootout-regex-dna-single
diff \
./examples/regexdna-output.txt \
<(./target/debug/examples/shootout-regex-dna-single < ./examples/regexdna-input.txt)
cargo build --example shootout-regex-dna-cheat
diff \
./examples/regexdna-output.txt \
<(./target/debug/examples/shootout-regex-dna-cheat < ./examples/regexdna-input.txt)