tools: port tests to shunit2
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v11 patch 7 repliesSuperseded
Changes in v2 from the cover letter
- don't change the way symlinks are handled
- drop remaining bats-specific workarounds
- restore dropped calls to num_lines_is
- require shunit version 2.1.8 and add a test for it
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tools: tests: add short sleeps between generating edge eventstools/ | +4 | 0 replies | |
| 2/2 | tools: tests: port tests to shunit2README TODO configure.ac +3 more | +262 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Kent Gibson |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] tools: port tests to shunit2
From: Bartosz Golaszewski <[email protected]>
This is a two-patch respin of the previous port of gpio-tools tests to shunit2. The first patch fixes a potential problem (which for me became real after the switch) with losing edge events. The second is the actual port.
v1 -> v2:
- don't change the way symlinks are handled
- drop remaining bats-specific workarounds
- restore dropped calls to num_lines_is
- require shunit version 2.1.8 and add a test for it
Bartosz Golaszewski (2):
tools: tests: add short sleeps between generating edge events
tools: tests: port tests to shunit2
README | 6 +-
TODO | 2 +-
configure.ac | 6 +-
tools/Makefile.am | 4 +-
tools/gpio-tools-test | 57 ---
...o-tools-test.bats => gpio-tools-test.bash} | 469 ++++++++++--------
6 files changed, 266 insertions(+), 278 deletions(-)
delete mode 100755 tools/gpio-tools-test
rename tools/{gpio-tools-test.bats => gpio-tools-test.bash} (87%)Signature · 1 line
2.39.2