diff options
author | Pavel Labath <labath@google.com> | 2017-12-11 15:28:21 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-12-11 15:28:21 +0000 |
commit | e0b61e3c9aa1630b569fcaec08db332fabbb6f85 (patch) | |
tree | e7bc21c6bfc1596dd4a62a1180c2a3934e47337d /lldb/packages/Python | |
parent | 4f2c415a139d13dde3c9c22a0ce9ba1e85232953 (diff) | |
download | bcm5719-llvm-e0b61e3c9aa1630b569fcaec08db332fabbb6f85.tar.gz bcm5719-llvm-e0b61e3c9aa1630b569fcaec08db332fabbb6f85.zip |
dotest.py: Correctly annotate lldbinline tests with debug info categories
This enables one to run all dwo tests with dotest.py --category dwo, or
skip them with --skip-category.
llvm-svn: 320377
Diffstat (limited to 'lldb/packages/Python')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbinline.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbinline.py b/lldb/packages/Python/lldbsuite/test/lldbinline.py index 727e69d412a..70a0dda5343 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbinline.py +++ b/lldb/packages/Python/lldbsuite/test/lldbinline.py @@ -134,25 +134,28 @@ class InlineTest(TestBase): makefile.flush() makefile.close() - @skipUnlessDarwin + @add_test_categories(["dsym"]) def __test_with_dsym(self): self.using_dsym = True self.BuildMakefile() self.buildDsym() self.do_test() + @add_test_categories(["dwarf"]) def __test_with_dwarf(self): self.using_dsym = False self.BuildMakefile() self.buildDwarf() self.do_test() + @add_test_categories(["dwo"]) def __test_with_dwo(self): self.using_dsym = False self.BuildMakefile() self.buildDwo() self.do_test() + @add_test_categories(["gmodules"]) def __test_with_gmodules(self): self.using_dsym = False self.BuildMakefile() |