On Mon, Jul 25, 2005 at 02:06:27PM +0200, Julien Anguenot wrote:
| Dominik Huber wrote:
| > Julien Anguenot wrote:
| > 
| > Hi,
| > 
| > Could someone try to launch the tests with a Zope3 checkout under
| > Windows this way ? :
| > 
| > $ python bin/test -vpu --dir src\\zope\\

| >> E:\dev\zope3_trunk>python test -vpu --dir src\\zope\\
| >> ValueError: src\\zope\\ does not exist!
| > 
| >> but...
| > 
| >> E:\dev\zope3_trunk>python test -vpu --dir src\zope\
| >> Ran 5574 tests in 106.754s
| >> OK
| Is it supposed to work with the double \ ('\\') on windows ?

I wouldn't expect it to.  cmd.exe doesn't treat \ as an escape
character because CP/M chose to use \ as the path separator.

However, if the user is using bash (cygwin), then they would need to
escape the backslashes since bash does interpret it as an escape

Windows C library does accept '/' as a path separator (eg fopen())
so perhaps using / with cmd.exe would work, and probably using / with
cygwin's python.exe would work.

| The error reported was different on this issue but seems to be related
| though.
| http://www.zope.org/Collectors/Zope3-dev/316/

Hmm, the original report there looks like the user is using
bash and the win32 python.exe.

I think some more testing with those various combinations is needed to
verify that the original issue is really resolved.


One OS to rule them all, one OS to find them,
One OS to bring them all and in the darkness bind them,
In the Land of Redmond, where the Shadows lie.
www: http://dman13.dyndns.org/~dman/            jabber: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to