[PATCH v1] test: Allow simple glob pattern in the test name
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Fri Feb 5 18:34:49 CET 2021
On Thu, Feb 04, 2021 at 08:17:24PM -0700, Simon Glass wrote:
> On Wed, 3 Feb 2021 at 08:32, Andy Shevchenko
> <andriy.shevchenko at linux.intel.com> wrote:
> >
> > When run `ut dm [test name]` allow to use simple pattern to run all tests
> > started with given prefix. For example, to run all ACPI test cases:
> > ut dm acpi*
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> > ---
> > test/dm/test-main.c | 12 +++++++++---
> > 1 file changed, 9 insertions(+), 3 deletions(-)
>
> This seems like a good idea to me.
>
> Can you please send it rebased to u-boot-dm/test-working though? I
> have done a bit of refactoring and this function is now in
> test/test-main.c
I will look at it.
Btw, you have an issue there, i.e. if test case failed, all percentage after it
goes red, which is wrong.
--
With Best Regards,
Andy Shevchenko
More information about the U-Boot
mailing list