problem: run testsuite on Windows
Friedrich, Anna-Christina
Anna-Christina.Friedrich at draeger.com
Fri Apr 8 02:18:00 CDT 2011
Hi,
I am running tests (Batch-Files) on Windows using 'run-tests.py'.
You did consider .bat-files, but unfortunately it doesn't work until you make two changes to the code:
1. turn python into python.exe in run-tests.py
@@ -344,8 +345,9 @@
os.symlink(sys.executable, mypython)
except AttributeError:
# windows fallback
- shutil.copyfile(sys.executable, mypython)
- shutil.copymode(sys.executable, mypython)
+ mypythonexe = mypython + '.exe'
+ shutil.copyfile(sys.executable, mypythonexe)
+ shutil.copymode(sys.executable, mypythonexe)
2. change path in hg.bat
@@ -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
Did anybody test this issue on Windows? Or is it intended to behave like this without my changes?
Thanks for your reply, best regards
Anna Friedrich
</PRE>
<meta content="text/html; charset=ISO-8859-1"
<font face="Arial"><font color="#BABABA"><SPAN style="FONT-SIZE: 8pt">---<br>
This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records.<br>
<font face="Arial"><font color="#BABABA"><SPAN style="FONT-SIZE: 8pt"><br>
<font face="Arial"><font color="#BABABA"><SPAN style="FONT-SIZE: 8pt">Diese Nachricht enthält vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empfänger dieser E-mail sein, senden Sie bitte diese an den Absender zurück und löschen Sie die E-mail aus Ihrem System.
<PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110408/c316d576/attachment.htm>
More information about the Mercurial-devel
mailing list