zturner added a subscriber: zturner.
zturner added a comment.

Yea so basically what it does is allow you to use the same decorator with
arguments or without arguments.  Like this:

@expectedFailureWindows   # Python actually calls
expectedFailureWindows(func)
@expectedFailureWindows(debug_info='dwarf') # Python calls
expectedFailureWindows(debug_info='dwarf')(func)

If the goal is to delete all the highly specialized decorators (after all,
expectedFailureWindows is just expectedFailureAll(oslist=['windows'])) then
this problem goes away  by itself once everything is using
expectedFailureAll, since that will always be called with arguments.


http://reviews.llvm.org/D16615



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to