commit | c02790ce12f3bf01a49fbef71da64322fde863e6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jul 06 12:54:23 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jul 21 17:39:30 2015 -0600 |
tree | cf2268090d0b1486c43eace7a0a6c7cad500cbd5 | |
parent | 97f3ee34b6725f9fa5431e91db3223a53e55761c [diff] |
dm: test: Allow test names to leave out the dm_test_ prefix 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@chromium.org>