threads / discuss / 2397

make tests ignorable with "make -i"

Subject: make tests ignorable with "make -i"

## tl;dr

4 messages between Nov 8, 2005 and Nov 9, 2005.

replies: 3people: 2as markdown or json

Alex Riesen· Nov 8, 2005, 09:51 UTC · lore

Allow failed tests to be ignored using make's "-i". The patch also disables parallel make in t/. This doesn't make the testing any different as before: the tests were run sequentially before.

It also allows to run more tests, ignoring the ones usually failing just to figure out if something else broke. (Or to ignore plainly uninteresting situations because of the testing being done on say... cygwin ;)

---
How about hiding "ok ..." output?
Junio C Hamano· Nov 8, 2005, 19:29 UTC · re: Alex Riesen · lore

Re: make tests ignorable with "make -i"

Alex Riesen <raa.lkml@gmail.com> writes:
> ...  (Or to ignore plainly
> uninteresting situations because of the testing being done on say...
> cygwin ;)
Could you tell us which ones break on Cygwin?
Alex Riesen· Nov 8, 2005, 21:16 UTC · re: Junio C Hamano · lore

Re: make tests ignorable with "make -i"

Junio C Hamano, Tue, Nov 08, 2005 20:29:59 +0100:
Show 5 quoted lines
> > ...  (Or to ignore plainly uninteresting situations because of the
> > testing being done on say...  cygwin ;)
> 
> Could you tell us which ones break on Cygwin?
> 

of course. I remember t4000-diff-format having problems, using chmod +x and comparing the results afterwards (it's not really cygwin problem, but FAT). I let the whole suite running tomorrow and just post the failed here (instead of dreaming how nice would it be to live in a perfect world).

Alex Riesen· Nov 9, 2005, 08:15 UTC · re: Alex Riesen · lore

Re: make tests ignorable with "make -i"

On 11/8/05, Alex Riesen <raa.lkml@gmail.com> wrote:
Show 6 quoted lines
> Junio C Hamano, Tue, Nov 08, 2005 20:29:59 +0100:
> > > ...  (Or to ignore plainly uninteresting situations because of the
> > > testing being done on say...  cygwin ;)
> >
> > Could you tell us which ones break on Cygwin?
> >
So far:
t4000-diff-format.sh
* FAIL 3: validate git-diff-files -p output.
        compare_diff_patch current expected
t4006-diff-mode.sh
* FAIL 3: verify
        diff -u expected check
t4102-apply-rename.sh
* FAIL 3: validate
        test -f bar && ls -l bar | grep "^-..x......"

← back to recent threads