diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-09-21 13:00:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-21 13:00:12 +0000 |
| commit | c8621d78b9b1c0c67dff31404ade873a9d7b426e (patch) | |
| tree | a958fa60fbeafedb7d8578c47fcaf506722e316f /README.md | |
| parent | bf9df9fe73e9c1442a7a31ae93a91e7a8288f6f3 (diff) | |
| parent | 7f45254e3939af5aa940c65e52c63fa83b93c16d (diff) | |
Merge #526
526: implement run-pass tests as xtasks r=korken89 a=Lotterleben
resolves https://github.com/rtic-rs/cortex-m-rtic/issues/499 .
With this PR, you should be able to run `cargo xtask --target <desired target>` or `cargo xtask --target all` locally. Of course, it also reconfigures the CI workflow to do the same.
Note that I've translated the old `Run-pass tests` verbatim for now, which means the code includes checks for a `"types"`example which doesn't exist anymore.
The examples could be collected much more nicely to prevent leftovers like this in the future, but imo that could also be achieved in a separate PR.
Co-authored-by: Lotte Steenbrink <lotte.steenbrink@ferrous-systems.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -86,6 +86,16 @@ New features and big changes should go through the RFC process in the [rfcs]: https://github.com/rtic-rs/rfcs +## Running tests locally + +To check all `Run-pass tests` locally on your `thumbv6m-none-eabi` or `thumbv7m-none-eabi` target device, run + +```console +$ cargo xtask --target <your target> +# ˆˆˆˆˆˆˆˆˆˆˆˆ +# e.g. thumbv7m-none-eabi +``` + ## Acknowledgments This crate is based on the [Real-Time For the Masses language][rtfm-lang] |
