Solaris package, was Re: Mercurial 1.3 released!

Mads Kiilerich mads at kiilerich.com
Sun Jul 5 06:23:17 CDT 2009


rupert.thurner wrote, On 07/04/2009 08:13 PM:
> we tried to package it for solaris, http://opencsw.org. some test
> 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.

> with some other tests i have no idea where the failure is coming from.
> what would be the best option to track this down? see http://pastebin.com/m32e3576f
> for the complete test result.
>    

test-repair-strip shouldn't rely on the cat error message. And the 
warning in test-gpg should probably just be ignored. Patches has been 
posted to -devel.

Just ignore these tests for now.  You can temporarily remove their x bit 
to avoid running them.

That will make the failure list shorter and make it easier to spot:

> an excerpt:
>
> ERROR: test-transplant output changed
> --- Expected output
> +++ Test output
> @@ -145,20 +145,20 @@
>   % test filter
>   filtering
>   applying 17ab29e464c6
> -17ab29e464c6 transplanted to e9ffc54ea104
> +17ab29e464c6 transplanted to 88e81fba5b32
>   filtering
>    

This kind of errors looks worse. Do you consistently get exactly the 
same errors?

/Mads


More information about the Mercurial mailing list