test_external_diffest_external_diff fails when run with py2exe build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
If you run bzr selftest with the py2exe created bzr.exe, test_external_
FAIL: blackbox.
Text attachment: log
------------
218.174 creating config parent directory: 'C:/docume~
218.174 creating config directory: 'C:/docume~
218.214 creating repository in file://
218.234 creating branch <bzrlib.
Diff.test_
218.274 opening working tree 'C:/docume~
218.334 preparing to commit
INFO Committing to: C:/docume~
218.334 Selecting files for commit with filter None
INFO added hello
INFO Committed revision 1.
218.494 Committed revid <email address hidden> as revno 1.
218.534 preparing to commit
INFO Committing to: C:/docume~
218.544 Selecting files for commit with filter None
INFO added goodbye
INFO Committed revision 2.
218.674 Committed revid <email address hidden> as revno 2.
220.056 opening working tree 'C:/docume~
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "testtools\
File "testtools\
File "bzrlib\
AssertionError: not equal:
a = ''
b = 'bzr: ERROR: [Error 2] The system cannot find the file specified\n'
------------
tags: | added: selftest-in-py2exe |
tags: | added: test-failure |
tags: | added: check-for-breezy |
This depends on whether or not it can find a "diff" program to run. If you have one it passes, if you don't it fails. Regardless of the standalone installer or not.
What is really weird is that on my machine I get: diff.TestExtern alDiff jameinel/ dev/bzr/ bzr.dev/ bzr jameinel\ dev\bzr\ bzr.dev\ bzrlib Vista-6. 0.6002- SP2
$ bzr selftest -s bb.test_
bzr selftest: C:/Users/
C:\Users\
bzr-2.3.0dev4 python-2.6.4 Windows-
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 2 tests in 4.352s
OK
Missing feature 'diff executable' skipped 1 tests.
Which says that it does check for "diff" being runnable and skips the test. So the real question is why does it think you have a 'diff' that it can run, but it fails to run it.