test-dm.c 430 B

1234567891011121314151617
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (c) 2013 Google, Inc
  4. */
  5. #include <common.h>
  6. #include <test/suites.h>
  7. #include <test/test.h>
  8. int do_ut_dm(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
  9. {
  10. struct unit_test *tests = UNIT_TEST_SUITE_START(dm_test);
  11. const int n_ents = UNIT_TEST_SUITE_COUNT(dm_test);
  12. return cmd_ut_category("driver model", "dm_test_", tests, n_ents, argc,
  13. argv);
  14. }