This is an archive of the discontinued LLVM Phabricator instance.

Fix dependency-generation-crash test to actually execute clang and to clean up after itself
ClosedPublic

Authored by gbedwell on Feb 10 2015, 6:27 AM.

Details

Summary

I've been having an issue on my Windows box where often my build directory would not be able to be deleted from a script due to a permission denied error from a temp file created during one of the Clang tests. Looking at the test, it appears to be badly formed, creating a temp file and then removing all permissions via chmod without actually involving clang at all. I've attempted to fix the test to carry out what I think is its original intent and made sure it cleans up after itself on success now so fixes my original issue of not being able to delete the build folder.

Thanks,

Greg Bedwell
SN Systems - Sony Computer Entertainment Inc.

Diff Detail

Repository
rL LLVM

Event Timeline

gbedwell updated this revision to Diff 19672.Feb 10 2015, 6:27 AM
gbedwell retitled this revision from to Fix dependency-generation-crash test to actually execute clang and to clean up after itself.
gbedwell updated this object.
gbedwell edited the test plan for this revision. (Show Details)
gbedwell added a reviewer: bogner.
gbedwell added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.