From 64b6e5af136231c23ef2613af11e23e44bc6c158 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 2 Nov 2017 22:13:09 +0000 Subject: Remove getCategories mechanism of specifying test categories Summary: This mechanism was mostly redundant with the file-based .categories mechanism, and it was interfering with it, as any test which implemented a getCategories method would not inherit the filesystem categories. This patch removes it. The existing categories are preserved either by adding a .categories file, or using the @add_test_categories decorator. Reviewers: jingham, clayborg, zturner Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D39515 llvm-svn: 317277 --- .../Python/lldbsuite/test/functionalities/load_unload/.categories | 1 + .../lldbsuite/test/functionalities/load_unload/TestLoadUnload.py | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/load_unload/.categories (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/load_unload') diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/.categories b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/.categories new file mode 100644 index 00000000000..c00c25822e4 --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/.categories @@ -0,0 +1 @@ +basic_process diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py index 8e548e11658..98b0c9ca197 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py @@ -17,9 +17,6 @@ from lldbsuite.test import lldbutil @skipIfWindows # Windows doesn't have dlopen and friends, dynamic libraries work differently class LoadUnloadTestCase(TestBase): - def getCategories(self): - return ['basic_process'] - mydir = TestBase.compute_mydir(__file__) def setUp(self): -- cgit v1.2.3