test: describe naming conventions for macro UNIT_TEST
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 6 May 2020 16:26:07 +0000 (18:26 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 8 May 2020 22:29:13 +0000 (18:29 -0400)
commitd0ba026bd22e4b1dfe918da8460bb418bc9f3217
tree0c9c757e6556fc503915084d65478e23d4f0fef2
parent6d3524c2ad9f5b38cf759566c78e4761aeab4c97
test: describe naming conventions for macro UNIT_TEST

Strict naming conventions have to be followed for Python function
generate_ut_subtest() to collect C unit tests to be executed via
command 'ut'.

Describe the requirements both on the C as well on the Python side.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/test/test.h
test/py/tests/test_ut.py