Skip to content

Commit bbca9df

Browse files
committed
Merge branch 'refactor-tests'
2 parents bcbf12f + ac3ef5d commit bbca9df

11 files changed

+1705
-1603
lines changed

README-rust.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ tested with.
1818

1919
To run them, use:
2020

21-
cargo test --features=simulator,tokio
21+
cargo test --features=simulator,tokio -- --test-threads 1
22+
23+
Use `--nocapture` to also see some useful simulator output.
24+
25+
cargo test --features=simulator,tokio -- --test-threads 1 --nocapture
2226

2327
If you want to test against a custom simulator build (e.g. when developing new firmware features),
2428
you can run:

ci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cargo fmt --check
2424

2525
for feature_set in "${features[@]}"; do
2626
echo $feature_set
27-
cargo test --tests --locked --features="$feature_set" -- --nocapture
27+
cargo test --tests --locked --features="$feature_set" -- --nocapture --test-threads 1
2828
cargo clippy --tests --locked --features="$feature_set" -- -D warnings -A clippy::empty-docs
2929
done
3030

tests/simulator_tests.rs

-248
This file was deleted.

tests/subtests/mod.rs

-19
This file was deleted.

0 commit comments

Comments
 (0)