flipperzero-rs / flipperzero

Rust on the Flipper Zero
MIT License
518 stars 34 forks source link

Update test harness for upstream changes to loader #95

Closed str4d closed 1 year ago

str4d commented 1 year ago

This now enables test filtering:

$ cd crates/
$ cargo test -- FILTER ANOTHER_FILTER
str4d commented 1 year ago

The syntax cargo test FILTER doesn't work, because that requires every crate in the workspace to have a main() when the test harness is disabled (and we need it disabled for the flipperzero tests to work). You can use either cargo test -p flipperzero FILTER or cargo test -- FILTER instead.