Re: [PATCH] check: skip parsing if the file is not shell script.

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Sun, Oct 28, 2018 at 09:44:52PM +0800, Eryu Guan wrote:
> On Wed, Oct 24, 2018 at 10:33:07AM -0400, Masayoshi Mizuma wrote:
> > From: Masayoshi Mizuma <m.mizuma@xxxxxxxxxxxxxx>
> > 
> > If we run tests using '*', for example './check xfs/*', we will
> > get following error messages. This patch introduces to avoid
> > the messages.
> > 
> > ./check xfs/*
> > xfs/001.out - unknown test, ignored
> > xfs/002.out - unknown test, ignored
> > xfs/003.out - unknown test, ignored
> > xfs/004.out - unknown test, ignored
> > ...
> 
> Hmm, that's just not the recommended way to run tests. Not all tests are
> valid (yes, there're broken tests) and sometimes we may forget to add x
> permission on a test (though I have a local script to catch that, but it
> did happen before).

Got it, thanks!

> Please either use a more precise pattern to match the tests you want to
> run, or even better, run tests by specifying the groups, e.g.
> 
> ./check -g xfs/log
> 
> to run all tests in 'log' group in 'xfs' directory.

What is the better way to run all the tests?
Should I set the all groups? look like check -g xfs/auto,xfs/ioctl,...?

Thanks,
Masa



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux