I can't say anything about the logic as I don't know the testing
framework,
but in places where path separator conversion, python has specialized
versions of its path handling for different platforms.
os.path.normalize would convert all path separators to the platform default
os.ntpath.normalize would convert all path separators to back-slashes
os.posixpath.normalize would convert all path separators to forward-slashes
These API became available in version 2.6.2, I don't know if that would be a
problem or not.
-Nathan
On Fri, Jun 11, 2010 at 1:45 AM, Michael Spencer <bigcheesegs at
gmail.com>wrote:
> Here's a (more) proper patch for getting the tests to run on windows.
> With this only ~250 tests Unexpected Fail. I just need someone to make
> sure it doesn't break anything on other platforms.
>
> It feels kind of hacky, and I would appreciate any ideas on improvements.
>
> http://codereview.appspot.com/1657041/show
>
> - Michael Spencer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20100611/d388a5ad/attachment.html>