[U-Boot] [PATCH 02/18] dm: test: Allow test names to leave out the dm_test_ prefix
Simon Glass
sjg at chromium.org
Sat Jul 18 01:58:28 CEST 2015
On 6 July 2015 at 12:54, Simon Glass <sjg at chromium.org> wrote:
> All driver model tests have a dm_test_ prefix. Ignore it when matching a
> test name. This makes it easier to run individual tests, like this:
>
> ./sandbox/u-boot -d ./sandbox/arch/sandbox/dts/test.dtb \
> -c "ut dm clk_periph"
>
> We can use 'clk_periph' instead of 'dm_test_clk_periph'.
>
> Also print a message if the requested test is not found.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> test/dm/test-main.c | 15 +++++++++++++--
> 1 file changed, 13 insertions(+), 2 deletions(-)
Applied to u-boot-dm.
More information about the U-Boot
mailing list