Web lists-archives.com

Re: How to see raw output from 'make test'?




On Thu, Mar 07, 2019 at 12:35:58AM -0500, Jeffrey Walton wrote:

> I built Git 2.2.0 from sources. I added CFLAGS="-DNDEBUG -g2 -O1
> -fsantize=undefined'. Then, a 'make test V=1'. The tests don't produce
> output. For example:
> 
> *** t0021-conversion.sh ***
> ok 1 - setup
> [...]

Try:

  make test GIT_TEST_OPTS=-v

Or if you have a specific test that's failing, you can just do:

  make
  cd t
  ./t0021-conversion.sh -v -i

(the "-i" will stop at the failing test).

-Peff