verification/rvgen: validate the monitor type
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v12 patches 1 replySuperseded
Changes in v2 from the cover letter
- Thread the series; 2/2 replies to this cover letter.
- Tag both patches verification/rvgen: and capitalise the subject.
- Patch content unchanged.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | verification/rvgen: Validate the monitor typetools/ | +1 | 1 reply | |
| 2/2 | verification/rvgen: Cover an invalid monitor typetools/ | +4 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Gabriele Monaco |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] verification/rvgen: validate the monitor type
rvgen takes the monitor type on the command line and pastes it into the generated monitor as RV_MON_<TYPE>. Nothing validates it, so a typo produces a monitor that cannot build while the tool still exits 0. Monitor.monitor_types already holds the accepted set; pass it to argparse as choices. Patch 2 covers the rejection next to the other error tests.
v2:
- Thread the series; 2/2 replies to this cover letter.
- Tag both patches verification/rvgen: and capitalise the subject.
- Patch content unchanged.
Testing: make check in tools/verification/rvgen -- 31/31 pass.
Chaosheng Qu (2):
verification/rvgen: Validate the monitor type verification/rvgen: Cover an invalid monitor type
tools/verification/rvgen/__main__.py | 1 + tools/verification/rvgen/tests/rvgen_monitor.t | 4 ++++ 2 files changed, 5 insertions(+)
Signature · 1 line
2.43.0