[libcamera-devel] [PATCH 0/5] test: Define libtest

Kieran Bingham kieran.bingham at ideasonboard.com
Fri Dec 21 09:13:06 CET 2018


Define a libtest folder structure, adding appropriate return codes to
match the meson test infrastructure. Then fix the base class to SKIP
tests that return TEST_SKIPPED in their init stage.

Appended to this series is a small fix to checkstyle to add an extra
flag, and remove extraneous description from our top level meson.build
file.

Kieran Bingham (5):
  test: Move test objects to libtest
  test: libtest: Add test return codes
  test: libtest: Return all non-zero init values
  utils: checkstyle: add keep-one-line-blocks
  meson: Shorten project description

 meson.build                 |  2 +-
 test/libtest/meson.build    |  7 +++++++
 test/{ => libtest}/test.cpp |  2 +-
 test/{ => libtest}/test.h   |  4 ++++
 test/meson.build            | 20 ++++++++++++++------
 utils/checkstyle.py         |  1 +
 6 files changed, 28 insertions(+), 8 deletions(-)
 create mode 100644 test/libtest/meson.build
 rename test/{ => libtest}/test.cpp (95%)
 rename test/{ => libtest}/test.h (89%)

-- 
2.17.1



More information about the libcamera-devel mailing list