This is an archive of the discontinued LLVM Phabricator instance.

Adds stable-runtime to ubsan to avoid broken ARM tests with asan
ClosedPublic

Authored by rengolin on Oct 15 2014, 3:35 AM.

Details

Summary

I haven't tested this, just want to make sure that's what you meant to disable the test altogether instead of XFAIL.

The problem with testing is that I use a different hardware on the bot that I have for testing (no NEON, different OS), and things fail differently here and there. Actually, on my test bot things stopped failing a while ago, but on the bot we still have that kind of bugs.

Basically, I'm trying to move the same logic we use in ASAN to UBSAN, so we can avoid them in the same way. Will just adding the lit.cfg be enough to make the option available to the test case?

Diff Detail

Event Timeline

rengolin updated this revision to Diff 14917.Oct 15 2014, 3:35 AM
rengolin retitled this revision from to Adds stable-runtime to ubsan to avoid broken ARM tests with asan.
rengolin updated this object.
rengolin edited the test plan for this revision. (Show Details)
rengolin added a reviewer: eugenis.
rengolin set the repository for this revision to rL LLVM.
rengolin added subscribers: Unknown Object (MLST), kcc.
samsonov added a subscriber: samsonov.
samsonov added inline comments.
test/ubsan/lit.cfg
8

Add this piece to the end of test/ubsan/lit.common.cfg instead.

rengolin added inline comments.Oct 15 2014, 3:30 PM
test/ubsan/lit.cfg
8

I was wondering if they were interchangeable. Will do that, thanks!

rengolin accepted this revision.Oct 16 2014, 6:34 AM
rengolin added a reviewer: rengolin.

It worked! :)

Thanks

This revision is now accepted and ready to land.Oct 16 2014, 6:34 AM
rengolin closed this revision.Oct 16 2014, 6:34 AM