Open coyotemarin opened 12 years ago
Some other issues:
echo
as a command (use type
)Yep, the counter parsing was a real bug. Using just \n
in StringIO
s seems to work fine.
I've changed rstrip('\n')
to rstrip('\r\n')
everywhere in the code. Usually, Python's Unix line endings compatibility stuff works fine, but in some cases it fails (such as $
in regexes).
Also, Windows sort is apparently case-insensitive (see Issue #298), causing some of the tests in tests.runner_test.TestInvokeSort
to fail. Probably should have a separate test for case-sensitivity that can fail or be skipped on Windows.
Symlinks are a problem on Windows.
Also, we sometimes end up not having permission to delete files created by tests; not sure what that's about.
Not entirely sure how to create fake binaries on Windows. Maybe .bat
files?
Appveyor CI is integrated with GitHub and tests on Windows.
Got partway through this. This is too much hassle to do on both v0.5.x and v0.6.0; some of the test framework is very unix-oriented. Going to make sure v0.6.0 works on Windows, and may backport fixes for any obvious problems.
The lack of sh
on Windows means we'll need to skip a lot of local mode tests.
This is harder than I thought. Let's try to finish this in v0.6.1.
I tried running the automated tests on a Windows 7 machine (well, a virtual machine), and about half of them failed. The most common problems had to do with
tzset()
(which isn't available on Windows) and trying to unlink (delete) files that were still in use.It would make releases a lot smoother if we could just run the test suite on Windows.