-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tres Seaver wrote:
Mark Hammond wrote:
Not on Windows:
Windows test failures on Zope trunk http://www.zope.org/Collectors/Zope/1931
CMF-trunk runs fine on the Zope trunk, etc.
Certainly agree it would help to have a specific list of what (if anything) still needs to fixed. FWIW, I don't expect Windows test failures to hold up a beta release (note that I didn't say that's a policy I agree with ;-)).
Without Windows-centric developers who are motivated to investigate and fix those bugs, I don't know what else we can do.
That bugs points at http://mail.zope.org/pipermail/zope-dev/2005-October/025512.html, which quotes Tim as saying:
: No idea where this slash-vs-backslash confusion ultimately comes from, : though. Who recently checked code in hard-coding "/" as a path : separator?
So in this specific example, the problem seems less a lack of Windows centric developers, but more an abundance of non-Windows-centric developers :)
These test failures appear at first glance to not be windows specific at all - just possibly pointing at non-portable code written by others. As a Windows developer, I'm afraid I have no idea where I would start looking for this bug.
test.py in the root is the likely culprit, as it is mucking with sys.path. Does this patch make the Windows tests pass?
--- test.py (revision 40087) +++ test.py (working copy) @@ -30,7 +30,7 @@ if shome: shome = os.path.abspath(shome) else: - shome = os.path.join(zhome, 'lib/python') + shome = os.path.join(zhome, 'lib', 'python') elif shome: shome = os.path.abspath(shome) zhome = os.path.dirname(os.path.dirname(shome))
Whoops, needs another one, too: - --- test.py (revision 40091) +++ test.py (working copy) @@ -42,7 +42,7 @@ else: # No zope home, assume that it is the script directory zhome = os.path.abspath(os.path.dirname(sys.argv[0])) - - shome = os.path.join(zhome, 'lib/python') + shome = os.path.join(zhome, 'lib', 'python') sys.path.insert(0, shome) Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDeBkn+gerLs4ltQ4RAuyiAKCI5i2L4PvNnuw6lRq873VpBgw1YACdHPlO V6YGX2AQcAvoHcyHSnTbWgI= =BfFn -----END PGP SIGNATURE-----