]> git.baikalelectronics.ru Git - uboot.git/commit
test: Add a command function for test execution
authorSimon Glass <sjg@chromium.org>
Sat, 25 Nov 2017 18:57:29 +0000 (11:57 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 2 Dec 2017 23:32:58 +0000 (18:32 -0500)
commitc97c67c5c79fd6abde3f0a99aee8c5ce89b30cfe
tree43478b125299c63748298b33f400e9a6ecd08d03
parente7fbb17c6a52354e97b619c9b921f16cebe1ebb9
test: Add a command function for test execution

The logic to either iterate through a list of tests or pick a named test
is common to at lest two test suits. Move this logic into a new function
and call it from the environment tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/suites.h
test/cmd_ut.c
test/env/cmd_ut_env.c