Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some options to ptest to allow limit sets of tests to be run. #1941

Merged
merged 7 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/release-notes.d/ptest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- Update ptest to support test selection. Ptest can now be invoked with `list`
to show the available tests and `run` to run them. The `-t` argument will
select specific tests to run.
- Allow sim tests to skip slow tests. By setting `MCUBOOT_SKIP_SLOW_TESTS` in
the environment, the sim will skip two tests that are very slow. In one
instance this reduces the test time from 2 hours to about 5 minutes. These
slow tests are useful, in that they test bad powerdown recovery, but are
inconvenient when testing other areas.
189 changes: 185 additions & 4 deletions ptest/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions ptest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ log = "0.4.17"
num_cpus = "1.13.1"
std-semaphore = "0.1"
yaml-rust = "0.4"

[dependencies.clap]
version = "4.0"
features = ["derive"]
Loading
Loading