forked from ferrumfix/ferrumfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-suite.sh
executable file
·30 lines (24 loc) · 942 Bytes
/
test-suite.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env bash
set -euxo pipefail
git submodule init
git submodule update
# TODO: Were there integration tests setup against this at some point?
# mkdir -p lib/quickfix/config
# cd lib/quickfix/config
# cmake ..
# make
# cd ../../..
# Increase number of iteration for QuickCheck.
export QUICKCHECK_TESTS="2500"
# TODO: Is there an xtask for running a test suite against an array of feature sets
cargo test
cargo test --no-default-features
cargo test --no-default-features --features "fix40"
cargo test --no-default-features --features "fix42"
cargo test --no-default-features --features "fixt11"
# TODO: What happened to fixs
# cargo test --no-default-features --features "fixs"
cargo test --no-default-features --features "utils-bytes, utils-rust-decimal"
cargo test --no-default-features --features "derive, fix43"
cargo test --no-default-features --features "full"
RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --all-features