Re: [pcre-dev] using 'diff -u' in 'make test'

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: Zachary Miller
CC: pcre-dev
Régi témák: [pcre-dev] using 'diff -u' in 'make test'
Tárgy: Re: [pcre-dev] using 'diff -u' in 'make test'
On Thu, 7 Feb 2008, Zachary Miller wrote:

> when running 'make test' your framework ends up invoking 'diff -u'.
>
> if it's not strictly necessary to get diffs in unified format, you should
> consider getting rid of the '-u' flag. it is not supported on some platforms,
> in particular:
> HPUX 11
> AIX 5.2
> SOLARIS 5.8
>
> ... and probably others but those are the only ones i've explicitly tried.


I have committed a source patch so that it now tests to see if 'diff -u'
works; if not, it doesn't use it. I find the unified format useful when
modifying the code and wanting to see what's changed, so I wanted to
keep it in my environment.

Philip

--
Philip Hazel