Windows Tests
Patrick Mézard
pmezard at gmail.com
Mon May 23 08:42:59 CDT 2011
Le 23/05/11 15:28, Friedrich, Anna-Christina a écrit :
> Thank you very much for this first step. It'll help us a lot.
> What about the other proposals:
> 1. Turning replacement into case-insensitive-replacement
>
> diff -r ec0a6fe1d001 tests/run-tests.py
> --- a/tests/run-tests.py Wed May 04 15:16:52 2011 +0200
> +++ b/tests/run-tests.py Mon May 23 15:21:09 2011 +0200
> @@ -705,7 +705,7 @@
> signal.alarm(options.timeout)
>
> ret, out = runner(testpath, options, [
> - (re.escape(testtmp), '$TESTTMP'),
> + ('(?i)' + re.escape(testtmp), '$TESTTMP'),
> (r':%s\b' % options.port, ':$HGPORT'),
> (r':%s\b' % (options.port + 1), ':$HGPORT1'),
> (r':%s\b' % (options.port + 2), ':$HGPORT2'),
I will look at this one, I am not sure what's the best way to handle it right now.
> 2. As well as adjusting pythonpath in hg.bat
>
> diff -r 788e88d90033 contrib/win32/hg.bat
> --- a/contrib/win32/hg.bat Wed Feb 09 13:28:29 2011 +0100
> +++ b/contrib/win32/hg.bat Wed Apr 20 15:43:30 2011 +0200
> @@ -8,5 +8,5 @@
> rem install does not put python.exe on the PATH...
> rem %~dp0 is the directory of this script
>
> -"%~dp0..\python" "%~dp0hg" %*
> +"%~dp0\python" "%~dp0hg" %*
> endlocal
>
> Unfortunately I don't know if changing hg.bat affects anything else inside the code.
The issue raised by hg.bat script path should have been fixed already by:
http://hg.intevation.org/mercurial/crew/rev/0cbf0d1f7939
Do you still have problems with it?
--
Patrick Mézard
More information about the Mercurial-devel
mailing list