]> git.proxmox.com Git - rustc.git/blame - vendor/regex-0.2.11/ci/run-shootout-test
New upstream version 1.33.0+dfsg1
[rustc.git] / vendor / regex-0.2.11 / ci / run-shootout-test
CommitLineData
94b46f34
XL
1#!/bin/bash
2
3set -e
4
5cargo build --example shootout-regex-dna
6diff \
7 ./examples/regexdna-output.txt \
8 <(./target/debug/examples/shootout-regex-dna < ./examples/regexdna-input.txt)
9
10cargo build --example shootout-regex-dna-single
11diff \
12 ./examples/regexdna-output.txt \
13 <(./target/debug/examples/shootout-regex-dna-single < ./examples/regexdna-input.txt)
14
15cargo build --example shootout-regex-dna-cheat
16diff \
17 ./examples/regexdna-output.txt \
18 <(./target/debug/examples/shootout-regex-dna-cheat < ./examples/regexdna-input.txt)