[MERGE] fix blackbox failures when run from windows executable
mhammond at skippinet.com.au
Sat Aug 9 09:30:06 BST 2008
Some of the blackbox tests are failing when run under a py2exe executable.
The problem is that the test suite attempts to execute 'sys.executable + " "
+ bzr_path', but when executed in a frozen environment, the 'bzr_path'
portion makes things fail.
This fixes 20 tests in the windows binary builds. I'd also like to
request this be merged into the 1.6 branch.
FWIW, test\blackbox\test_serve.py almost certainly has the same problem.
However, I haven't included that in the patch: if I do make the same change
there, the test failure changes from:
Connection closed: please check connectivity and permissions (and try
-Dhpss if further diagnosis is required)
File "bzrlib\remote.pyo", line 80, in __init__
NotBranchError: Not a branch:
So its not clear if that got better or worse :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2457 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080809/9f1e7a5e/attachment.obj
More information about the bazaar