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

Message ID 20181221081311.3291-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • test: Define libtest
Related show

Message

Kieran Bingham Dec. 21, 2018, 8:13 a.m. UTC
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%)