test: Tidy up the test/ directory
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest20 patches 14 repliesIn review
- v121 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- Leave the bootm rule alone, as the bootm test only runs on sandbox
- Make the test dependent on sandbox
- Add missing 'common' help in this patch instead of bloblist
- Drop patch to move bloblist into the common suite
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | bloblist: test: Move test into commontest/ test/ test/ | +3 | 2 replies | |
| 2/20 | bloblist: test: Drop global_data declarationstest/ | +0 | 0 replies | |
| 3/20 | test: Drop test-trace.sh and common.shtest/ test/ | +0 | 0 replies | |
| 4/20 | compression: test: Move test into libtest/ test/ test/ | +3 | 2 replies | |
| 5/20 | compression: test: Move into the lib suiteinclude/ test/ test/ | +14 | 0 replies | |
| 6/20 | command_ut: test: Move test into libtest/ test/ test/ | +1 | 2 replies | |
| 7/20 | command: test: Move into the cmd suitetest/ | +13 | 0 replies | |
| 8/20 | test: Update command test to use unit-test functionstest/ | +32 | 0 replies | |
| 9/20 | bootm: test: Move test into boottest/ test/ test/ | +3 | 2 replies | |
| 10/20 | test: Move print_ut test into commontest/ test/ test/ | +1 | 0 replies | |
| 11/20 | test: Move print_ut into the common suitetest/ test/ | +9 | 0 replies | |
| 12/20 | test: Move str_ut test into libtest/ test/ test/ | +1 | 2 replies | |
| 13/20 | str: test: Move into the lib suitetest/ test/ | +10 | 0 replies | |
| 14/20 | test: Move unicode_ut test into libtest/ test/ test/ | +1 | 1 reply | |
| 15/20 | test: Move unicode tests into the lib suitetest/ test/ | +29 | 1 reply | |
| 16/20 | test: Move time_ut test into libtest/ test/ test/ | +1 | 0 replies | |
| 17/20 | test: Move time tests into the lib suitetest/ test/ | +10 | 0 replies | |
| 18/20 | test: Update time tests to use unit-test assertstest/ | +7 | 0 replies | |
| 19/20 | test: Correct display of failing testtest/ | +1 | 0 replies | |
| 20/20 | test: Quote test namestest/ | +4 | 0 replies |
Reviews trailers per patch
3 of 20 patches have a Reviewed-by or Acked-by.
| Patch | Tom Rini | Heinrich Schuchardt |
|---|---|---|
| Series | T-b | |
| 1/20 | ||
| 2/20 | ||
| 3/20 | ||
| 4/20 | ||
| 5/20 | ||
| 6/20 | R-b | |
| 7/20 | ||
| 8/20 | ||
| 9/20 | ||
| 10/20 | ||
| 11/20 | ||
| 12/20 | ||
| 13/20 | ||
| 14/20 | R-b | |
| 15/20 | R-b | |
| 16/20 | ||
| 17/20 | ||
| 18/20 | ||
| 19/20 | ||
| 20/20 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/20] test: Tidy up the test/ directory
Some tests do not use the unit-test framework. Others are in a suite of their own, for no obvious reason.
This series tidies this up.
Changes in v2:
- Leave the bootm rule alone, as the bootm test only runs on sandbox
- Make the test dependent on sandbox
- Add missing 'common' help in this patch instead of bloblist
- Drop patch to move bloblist into the common suite
Simon Glass (20):
bloblist: test: Move test into common
bloblist: test: Drop global_data declarations
test: Drop test-trace.sh and common.sh
compression: test: Move test into lib
compression: test: Move into the lib suite
command_ut: test: Move test into lib
command: test: Move into the cmd suite
test: Update command test to use unit-test functions
bootm: test: Move test into boot
test: Move print_ut test into common
test: Move print_ut into the common suite
test: Move str_ut test into lib
str: test: Move into the lib suite
test: Move unicode_ut test into lib
test: Move unicode tests into the lib suite
test: Move time_ut test into lib
test: Move time tests into the lib suite
test: Update time tests to use unit-test asserts
test: Correct display of failing test
test: Quote test names
include/test/compression.h | 16 ----
test/Makefile | 10 ---
test/boot/Makefile | 3 +
test/{ => boot}/bootm.c | 0
test/cmd/Makefile | 1 +
test/cmd/command.c | 108 +++++++++++++++++++++++++++
test/cmd_ut.c | 25 +------
test/command_ut.c | 104 --------------------------
test/common.sh | 20 -----
test/common/Makefile | 4 +
test/{ => common}/bloblist.c | 3 -
test/{print_ut.c => common/print.c} | 27 ++-----
test/lib/Makefile | 6 ++
test/{ => lib}/compression.c | 39 ++++------
test/{str_ut.c => lib/str.c} | 31 +++-----
test/{time_ut.c => lib/time.c} | 60 +++++----------
test/{unicode_ut.c => lib/unicode.c} | 70 +++++++----------
test/test-main.c | 8 +-
test/trace/test-trace.sh | 64 ----------------
19 files changed, 205 insertions(+), 394 deletions(-)
delete mode 100644 include/test/compression.h
rename test/{ => boot}/bootm.c (100%)
create mode 100644 test/cmd/command.c
delete mode 100644 test/command_ut.c
delete mode 100644 test/common.sh
rename test/{ => common}/bloblist.c (99%)
rename test/{print_ut.c => common/print.c} (94%)
rename test/{ => lib}/compression.c (95%)
rename test/{str_ut.c => lib/str.c} (93%)
rename test/{time_ut.c => lib/time.c} (56%)
rename test/{unicode_ut.c => lib/unicode.c} (92%)
delete mode 100755 test/trace/test-trace.shSignature · 1 line
2.43.0