From: Andy Shevchenko Date: Fri, 5 Feb 2021 19:34:49 +0200 Subject: [PATCH v1] test: Allow simple glob pattern in the test name In-Reply-To: References: <20210203153234.18866-1-andriy.shevchenko@linux.intel.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Feb 04, 2021 at 08:17:24PM -0700, Simon Glass wrote: > On Wed, 3 Feb 2021 at 08:32, Andy Shevchenko > 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 > > --- > > 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