[test] Enable setting category for inline tests.
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 7 Feb 2018 16:10:59 +0000 (16:10 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 7 Feb 2018 16:10:59 +0000 (16:10 +0000)
commit466396592d7a5440379b0e606e7e8674c6d348fd
tree640119a5d8c2dc4438b29ba1044f30c25f7de3df
parent871c30e540318b1ba2a6f9547df1937707755529
[test] Enable setting category for inline tests.

Inlined tests have a test function that is actually an instance method,
which requires a slightly different approach when it comes to setting
the category attribute. The attribute must be set on the actual
function, rather than on a particular instance.

llvm-svn: 324488
lldb/packages/Python/lldbsuite/test/decorators.py