Re: [PATCH v2] tests: print failed test numbers at the end of the test run

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

 



On Sun, Jul 24, 2011 at 03:35:54PM +0200, Jens Lehmann wrote:

> Am 24.07.2011 09:41, schrieb Junio C Hamano:
> > Jens Lehmann <Jens.Lehmann@xxxxxx> writes:
> > 
> >> Maybe I'm missing something completely obvious, but I always have a hard
> >> time finding out which test scripts did fail in a test run with -j30.
> > 
> > I run "ls -d t/trash*" for that ;-)
> 
> Yup. But that won't work when you use "-i" to continue to run all tests
> even when some fail, as all trash directories get deleted in the end. Or
> did I manage to overlook an option which stops that? ;-)

I used to use:

  make -k -j30
  grep 'failed [^0]' test-results/*

but these days I use the "prove" tool, which has much nicer output. You
can get Makefile support for it with:

  GIT_PROVE_OPTS = -j30
  DEFAULT_TEST_TARGET = prove

in your config.mak.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]