This is an archive of the discontinued LLVM Phabricator instance.

Remove excessive copy-and-paste from expectedFailure decorators
ClosedPublic

Authored by emaste on Apr 22 2014, 9:16 AM.

Details

Summary

The 7 expectedFailureClang,Gcc,Icc etc. decorators were almost entirely copy-and-pasted. Each of those in turn had two copies of the implementation. Refactor this to an expectedFailure decorator that takes a callback function for the failure expectation.

Diff Detail

Event Timeline

emaste updated this revision to Diff 8732.Apr 22 2014, 9:16 AM
emaste retitled this revision from to Remove excessive copy-and-paste from expectedFailure decorators.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a subscriber: Unknown Object (MLST).
emaste accepted this revision.Apr 23 2014, 6:44 AM
emaste added a reviewer: emaste.
This revision is now accepted and ready to land.Apr 23 2014, 6:44 AM