[Lldb-commits] [PATCH] D16936: Remove expectedFailureWindows decorator

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 8 10:00:16 PST 2016

tfiala added a comment.

> I agree but I also might consider going further where the only thing you can specify is a function and we remove all arguments. Then we implement functions like architectureMatches, targetOsMatches, hostOsMatches, etc.. and some logical function what can combine them (e.g. not, any_of, all_of). This way we just build up the condition in the decorator and we don't have a lot of check inside expectedFailure. What do you think?

That does sound pretty appealing.

So then there would be some kind of combinator functions that do the equivalent of "or" and "and" logical operations?  So you can get something like ((tes1() && test2()) or test3())?



More information about the lldb-commits mailing list