diff --git a/testsuite/Cargo.toml b/testsuite/Cargo.toml index 5078a98..3567356 100644 --- a/testsuite/Cargo.toml +++ b/testsuite/Cargo.toml @@ -6,6 +6,9 @@ publish = false edition = "2018" version = "0.1.0" +[lib] +harness = false + [[test]] name = "test" harness = false diff --git a/testsuite/src/lib.rs b/testsuite/src/lib.rs new file mode 100644 index 0000000..d4dd9ce --- /dev/null +++ b/testsuite/src/lib.rs @@ -0,0 +1,7 @@ +#![no_std] +#![cfg_attr(test, no_main)] + +use {{crate_name}} as _; // memory layout + panic handler + +#[defmt_test::tests] +mod tests {}