Solaris package, was Re: Mercurial 1.3 released!

Trygve Laugstøl trygvis at inamo.no
Sun Jul 5 14:47:30 CDT 2009


David Champion wrote:
> * On 05 Jul 2009, David Champion wrote: 
>>>> cases fail. some failures are because the test suite did not use /opt/
>>>> csw/bin/gdiff, but "diff" from solaris. how do we specify the diff
>>>> tool used, or the path to it?
>>> The testsuite uses whatever diff tool is in its path. So you could just 
>>> set PATH correctly before running the test suite.
>> Ideally the test suite would not depend on non-POSIX extensions to POSIX
>> commands.  Would a patch to the tests be feasible and acceptable?
> 
> Should have paid closer attention and noticed that this concerns -u,
> so obviously a patch to use standard behavior is infeasible.  (BTW,
> OpenSolaris ships two diffs, Sun and GNU, and both support -u now;
> curious what Solaris version Rupert is using.)

OpenCSW and by extent Rupert and me are building on Solaris 8.

> The test could choose to use 'gdiff' when available though, since
> this is a common convention on platforms where GNU tools are add-ons.
> Opinions?

That would definitely work for us.

--
Trygve


More information about the Mercurial mailing list