Skip to content

Move tests to the 'tests' directory

Ivan Orlov opensbi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib: tests: Move tests to a separate directoryMakefile lib/sbi/objects.mk lib/sbi/sbi_console.c +5 more+9 -71 reply
1/2lib: tests: Move tests to a separate directory+0 -01 reply
1/2lib: tests: Move tests to a separate directory+0 -00 replies
1/2lib: tests: Move tests to a separate directory+0 -00 replies
2/2docs/writing_tests: Update tests pathsdocs/writing_tests.md+10 -111 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAnup Patel
1/2R-b
1/2R-b
1/2R-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Move tests to the 'tests' directory

As it was suggested by Anup Patel <[email protected]>, the tests should be moved to the separate directory lib/sbi/tests. This patch series puts the test-related code into the right place and updates the documentation correspondingly.

Ivan Orlov (2):
lib: tests: Move tests to a separate directory
docs/writing_tests: Update tests paths

 Makefile                                  |  2 ++
 docs/writing_tests.md                     | 21 ++++++++++-----------
 lib/sbi/objects.mk                        |  6 ------
 lib/sbi/sbi_console.c                     |  2 +-
 lib/sbi/tests/objects.mk                  |  6 ++++++
 lib/sbi/{ => tests}/sbi_bitmap_test.c     |  0
 lib/sbi/{ => tests}/sbi_console_test.c    |  0
 lib/sbi/{ => tests}/sbi_unit_test.c       |  0
 lib/sbi/{ => tests}/sbi_unit_tests.carray |  0
 9 files changed, 19 insertions(+), 18 deletions(-)
 create mode 100644 lib/sbi/tests/objects.mk
 rename lib/sbi/{ => tests}/sbi_bitmap_test.c (100%)
 rename lib/sbi/{ => tests}/sbi_console_test.c (100%)
 rename lib/sbi/{ => tests}/sbi_unit_test.c (100%)
 rename lib/sbi/{ => tests}/sbi_unit_tests.carray (100%)
Signature · 1 line
2.34.1