This is an archive of the discontinued LLVM Phabricator instance.

Fix mach-o tests on Windows
ClosedPublic

Authored by ruiu on Jul 29 2014, 11:34 AM.

Details

Summary

The tests assume the path separator is '/', but if you run
them on Windows it is '\'. As a result the tests are failing
on Windows. This should be the minimal change to make these
tests to pass on Windows platform.

Diff Detail

Repository
rL LLVM

Event Timeline

ruiu updated this revision to Diff 11990.Jul 29 2014, 11:34 AM
ruiu retitled this revision from to Fix mach-o tests on Windows.
ruiu updated this object.
ruiu edited the test plan for this revision. (Show Details)
ruiu added a reviewer: t.p.northover.
ruiu added a subscriber: Unknown Object (MLST).
t.p.northover accepted this revision.Aug 6 2014, 1:56 AM
t.p.northover edited edge metadata.

Oh bother. Sorry about that. And very sorry for taking so long to reply too.

I think this looks reasonable. A bit fragile, but mostly on the testing code path, so we can work around it if there ever is a problem.

Cheers.

Tim.

This revision is now accepted and ready to land.Aug 6 2014, 1:56 AM
ruiu closed this revision.Aug 6 2014, 12:46 PM
ruiu updated this revision to Diff 12247.

Closed by commit rL214990 (authored by @ruiu).