mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02:00
dm: test: Allow 'dm test' to select a particular test to run
As well as running all tests, it is useful to be able to run a selected test. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
This commit is contained in:
@@ -205,12 +205,13 @@ void dm_leak_check_start(struct dm_test_state *dms);
|
||||
|
||||
|
||||
/**
|
||||
* dm_test_main() - Run all the tests
|
||||
* dm_test_main() - Run all or one of the tests
|
||||
*
|
||||
* This runs all available driver model tests
|
||||
* This runs all available driver model tests, or a selected one
|
||||
*
|
||||
* @test_name: Name of test to run, or NULL for all
|
||||
* @return 0 if OK, -ve on error
|
||||
*/
|
||||
int dm_test_main(void);
|
||||
int dm_test_main(const char *test_name);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user