diff options
author | Simon Glass <sjg@chromium.org> | 2015-07-06 12:54:23 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 17:39:30 -0600 |
commit | c02790ce12f3bf01a49fbef71da64322fde863e6 (patch) | |
tree | cf2268090d0b1486c43eace7a0a6c7cad500cbd5 /test/common.sh | |
parent | 97f3ee34b6725f9fa5431e91db3223a53e55761c (diff) | |
download | u-boot-imx-c02790ce12f3bf01a49fbef71da64322fde863e6.zip u-boot-imx-c02790ce12f3bf01a49fbef71da64322fde863e6.tar.gz u-boot-imx-c02790ce12f3bf01a49fbef71da64322fde863e6.tar.bz2 |
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>
Diffstat (limited to 'test/common.sh')
0 files changed, 0 insertions, 0 deletions