[Lldb-commits] [lldb] 311cca8 - [lldb] [test] Rename '.categories' to 'categories'

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 10 03:02:51 PST 2020


Author: Michał Górny
Date: 2020-11-10T12:02:38+01:00
New Revision: 311cca8bbf882cd93124d5ee9f40ee47f5e1f57d

URL: https://github.com/llvm/llvm-project/commit/311cca8bbf882cd93124d5ee9f40ee47f5e1f57d
DIFF: https://github.com/llvm/llvm-project/commit/311cca8bbf882cd93124d5ee9f40ee47f5e1f57d.diff

LOG: [lldb] [test] Rename '.categories' to 'categories'

Make category-specifying files visible.  There is really no good reason
to keep them hidden, and having them visible increases the chances
that someone will actually spot them.

Differential Revision: https://reviews.llvm.org/D91065

Added: 
    lldb/test/API/api/multiple-debuggers/categories
    lldb/test/API/commands/command/categories
    lldb/test/API/commands/expression/categories
    lldb/test/API/commands/expression/completion/categories
    lldb/test/API/commands/expression/import-std-module/categories
    lldb/test/API/commands/frame/recognizer/categories
    lldb/test/API/commands/watchpoints/categories
    lldb/test/API/functionalities/abbreviation/categories
    lldb/test/API/functionalities/alias/categories
    lldb/test/API/functionalities/asan/categories
    lldb/test/API/functionalities/backticks/categories
    lldb/test/API/functionalities/completion/categories
    lldb/test/API/functionalities/darwin_log/categories
    lldb/test/API/functionalities/data-formatter/categories
    lldb/test/API/functionalities/data-formatter/data-formatter-objc/categories
    lldb/test/API/functionalities/load_unload/categories
    lldb/test/API/functionalities/load_using_paths/categories
    lldb/test/API/functionalities/mtc/categories
    lldb/test/API/functionalities/thread/step_until/categories
    lldb/test/API/functionalities/tsan/categories
    lldb/test/API/functionalities/ubsan/categories
    lldb/test/API/functionalities/wrong_commands/categories
    lldb/test/API/lang/c/step-target/categories
    lldb/test/API/lang/cpp/char1632_t/categories
    lldb/test/API/lang/cpp/wchar_t/categories
    lldb/test/API/lang/objc/categories
    lldb/test/API/lang/objc/objc-dyn-sbtype/categories
    lldb/test/API/lang/objcxx/categories
    lldb/test/API/macosx/nslog/categories
    lldb/test/API/python_api/categories
    lldb/test/API/python_api/watchpoint/categories
    lldb/test/API/tools/lldb-server/categories
    lldb/test/API/tools/lldb-vscode/categories

Modified: 
    lldb/packages/Python/lldbsuite/test/test_result.py

Removed: 
    lldb/test/API/api/multiple-debuggers/.categories
    lldb/test/API/commands/command/.categories
    lldb/test/API/commands/expression/.categories
    lldb/test/API/commands/expression/completion/.categories
    lldb/test/API/commands/expression/import-std-module/.categories
    lldb/test/API/commands/frame/recognizer/.categories
    lldb/test/API/commands/watchpoints/.categories
    lldb/test/API/functionalities/abbreviation/.categories
    lldb/test/API/functionalities/alias/.categories
    lldb/test/API/functionalities/asan/.categories
    lldb/test/API/functionalities/backticks/.categories
    lldb/test/API/functionalities/completion/.categories
    lldb/test/API/functionalities/darwin_log/.categories
    lldb/test/API/functionalities/data-formatter/.categories
    lldb/test/API/functionalities/data-formatter/data-formatter-objc/.categories
    lldb/test/API/functionalities/load_unload/.categories
    lldb/test/API/functionalities/load_using_paths/.categories
    lldb/test/API/functionalities/mtc/.categories
    lldb/test/API/functionalities/thread/step_until/.categories
    lldb/test/API/functionalities/tsan/.categories
    lldb/test/API/functionalities/ubsan/.categories
    lldb/test/API/functionalities/wrong_commands/.categories
    lldb/test/API/lang/c/step-target/.categories
    lldb/test/API/lang/cpp/char1632_t/.categories
    lldb/test/API/lang/cpp/wchar_t/.categories
    lldb/test/API/lang/objc/.categories
    lldb/test/API/lang/objc/objc-dyn-sbtype/.categories
    lldb/test/API/lang/objcxx/.categories
    lldb/test/API/macosx/nslog/.categories
    lldb/test/API/python_api/.categories
    lldb/test/API/python_api/watchpoint/.categories
    lldb/test/API/tools/lldb-server/.categories
    lldb/test/API/tools/lldb-vscode/.categories


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/test_result.py b/lldb/packages/Python/lldbsuite/test/test_result.py
index cab446d95e6d..ff01b21a561a 100644
--- a/lldb/packages/Python/lldbsuite/test/test_result.py
+++ b/lldb/packages/Python/lldbsuite/test/test_result.py
@@ -112,7 +112,7 @@ def _getTestPath(self, test):
     def _getFileBasedCategories(self, test):
         """
         Returns the list of categories to which this test case belongs by
-        collecting values of ".categories" files. We start at the folder the test is in
+        collecting values of "categories" files. We start at the folder the test is in
         and traverse the hierarchy upwards until the test-suite root directory.
         """
         start_path = self._getTestPath(test)
@@ -126,7 +126,7 @@ def _getFileBasedCategories(self, test):
 
         categories = set()
         while not os.path.samefile(folder, test_root):
-            categories_file_name = os.path.join(folder, ".categories")
+            categories_file_name = os.path.join(folder, "categories")
             if os.path.exists(categories_file_name):
                 categories_file = open(categories_file_name, 'r')
                 categories_str = categories_file.readline().strip()

diff  --git a/lldb/test/API/api/multiple-debuggers/.categories b/lldb/test/API/api/multiple-debuggers/categories
similarity index 100%
rename from lldb/test/API/api/multiple-debuggers/.categories
rename to lldb/test/API/api/multiple-debuggers/categories

diff  --git a/lldb/test/API/commands/command/.categories b/lldb/test/API/commands/command/categories
similarity index 100%
rename from lldb/test/API/commands/command/.categories
rename to lldb/test/API/commands/command/categories

diff  --git a/lldb/test/API/commands/expression/.categories b/lldb/test/API/commands/expression/categories
similarity index 100%
rename from lldb/test/API/commands/expression/.categories
rename to lldb/test/API/commands/expression/categories

diff  --git a/lldb/test/API/commands/expression/completion/.categories b/lldb/test/API/commands/expression/completion/categories
similarity index 100%
rename from lldb/test/API/commands/expression/completion/.categories
rename to lldb/test/API/commands/expression/completion/categories

diff  --git a/lldb/test/API/commands/expression/import-std-module/.categories b/lldb/test/API/commands/expression/import-std-module/categories
similarity index 100%
rename from lldb/test/API/commands/expression/import-std-module/.categories
rename to lldb/test/API/commands/expression/import-std-module/categories

diff  --git a/lldb/test/API/commands/frame/recognizer/.categories b/lldb/test/API/commands/frame/recognizer/categories
similarity index 100%
rename from lldb/test/API/commands/frame/recognizer/.categories
rename to lldb/test/API/commands/frame/recognizer/categories

diff  --git a/lldb/test/API/commands/watchpoints/.categories b/lldb/test/API/commands/watchpoints/categories
similarity index 100%
rename from lldb/test/API/commands/watchpoints/.categories
rename to lldb/test/API/commands/watchpoints/categories

diff  --git a/lldb/test/API/functionalities/abbreviation/.categories b/lldb/test/API/functionalities/abbreviation/categories
similarity index 100%
rename from lldb/test/API/functionalities/abbreviation/.categories
rename to lldb/test/API/functionalities/abbreviation/categories

diff  --git a/lldb/test/API/functionalities/alias/.categories b/lldb/test/API/functionalities/alias/categories
similarity index 100%
rename from lldb/test/API/functionalities/alias/.categories
rename to lldb/test/API/functionalities/alias/categories

diff  --git a/lldb/test/API/functionalities/asan/.categories b/lldb/test/API/functionalities/asan/categories
similarity index 100%
rename from lldb/test/API/functionalities/asan/.categories
rename to lldb/test/API/functionalities/asan/categories

diff  --git a/lldb/test/API/functionalities/backticks/.categories b/lldb/test/API/functionalities/backticks/categories
similarity index 100%
rename from lldb/test/API/functionalities/backticks/.categories
rename to lldb/test/API/functionalities/backticks/categories

diff  --git a/lldb/test/API/functionalities/completion/.categories b/lldb/test/API/functionalities/completion/categories
similarity index 100%
rename from lldb/test/API/functionalities/completion/.categories
rename to lldb/test/API/functionalities/completion/categories

diff  --git a/lldb/test/API/functionalities/darwin_log/.categories b/lldb/test/API/functionalities/darwin_log/categories
similarity index 100%
rename from lldb/test/API/functionalities/darwin_log/.categories
rename to lldb/test/API/functionalities/darwin_log/categories

diff  --git a/lldb/test/API/functionalities/data-formatter/.categories b/lldb/test/API/functionalities/data-formatter/categories
similarity index 100%
rename from lldb/test/API/functionalities/data-formatter/.categories
rename to lldb/test/API/functionalities/data-formatter/categories

diff  --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/.categories b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/categories
similarity index 100%
rename from lldb/test/API/functionalities/data-formatter/data-formatter-objc/.categories
rename to lldb/test/API/functionalities/data-formatter/data-formatter-objc/categories

diff  --git a/lldb/test/API/functionalities/load_unload/.categories b/lldb/test/API/functionalities/load_unload/categories
similarity index 100%
rename from lldb/test/API/functionalities/load_unload/.categories
rename to lldb/test/API/functionalities/load_unload/categories

diff  --git a/lldb/test/API/functionalities/load_using_paths/.categories b/lldb/test/API/functionalities/load_using_paths/categories
similarity index 100%
rename from lldb/test/API/functionalities/load_using_paths/.categories
rename to lldb/test/API/functionalities/load_using_paths/categories

diff  --git a/lldb/test/API/functionalities/mtc/.categories b/lldb/test/API/functionalities/mtc/categories
similarity index 100%
rename from lldb/test/API/functionalities/mtc/.categories
rename to lldb/test/API/functionalities/mtc/categories

diff  --git a/lldb/test/API/functionalities/thread/step_until/.categories b/lldb/test/API/functionalities/thread/step_until/categories
similarity index 100%
rename from lldb/test/API/functionalities/thread/step_until/.categories
rename to lldb/test/API/functionalities/thread/step_until/categories

diff  --git a/lldb/test/API/functionalities/tsan/.categories b/lldb/test/API/functionalities/tsan/categories
similarity index 100%
rename from lldb/test/API/functionalities/tsan/.categories
rename to lldb/test/API/functionalities/tsan/categories

diff  --git a/lldb/test/API/functionalities/ubsan/.categories b/lldb/test/API/functionalities/ubsan/categories
similarity index 100%
rename from lldb/test/API/functionalities/ubsan/.categories
rename to lldb/test/API/functionalities/ubsan/categories

diff  --git a/lldb/test/API/functionalities/wrong_commands/.categories b/lldb/test/API/functionalities/wrong_commands/categories
similarity index 100%
rename from lldb/test/API/functionalities/wrong_commands/.categories
rename to lldb/test/API/functionalities/wrong_commands/categories

diff  --git a/lldb/test/API/lang/c/step-target/.categories b/lldb/test/API/lang/c/step-target/categories
similarity index 100%
rename from lldb/test/API/lang/c/step-target/.categories
rename to lldb/test/API/lang/c/step-target/categories

diff  --git a/lldb/test/API/lang/cpp/char1632_t/.categories b/lldb/test/API/lang/cpp/char1632_t/categories
similarity index 100%
rename from lldb/test/API/lang/cpp/char1632_t/.categories
rename to lldb/test/API/lang/cpp/char1632_t/categories

diff  --git a/lldb/test/API/lang/cpp/wchar_t/.categories b/lldb/test/API/lang/cpp/wchar_t/categories
similarity index 100%
rename from lldb/test/API/lang/cpp/wchar_t/.categories
rename to lldb/test/API/lang/cpp/wchar_t/categories

diff  --git a/lldb/test/API/lang/objc/.categories b/lldb/test/API/lang/objc/categories
similarity index 100%
rename from lldb/test/API/lang/objc/.categories
rename to lldb/test/API/lang/objc/categories

diff  --git a/lldb/test/API/lang/objc/objc-dyn-sbtype/.categories b/lldb/test/API/lang/objc/objc-dyn-sbtype/categories
similarity index 100%
rename from lldb/test/API/lang/objc/objc-dyn-sbtype/.categories
rename to lldb/test/API/lang/objc/objc-dyn-sbtype/categories

diff  --git a/lldb/test/API/lang/objcxx/.categories b/lldb/test/API/lang/objcxx/categories
similarity index 100%
rename from lldb/test/API/lang/objcxx/.categories
rename to lldb/test/API/lang/objcxx/categories

diff  --git a/lldb/test/API/macosx/nslog/.categories b/lldb/test/API/macosx/nslog/categories
similarity index 100%
rename from lldb/test/API/macosx/nslog/.categories
rename to lldb/test/API/macosx/nslog/categories

diff  --git a/lldb/test/API/python_api/.categories b/lldb/test/API/python_api/categories
similarity index 100%
rename from lldb/test/API/python_api/.categories
rename to lldb/test/API/python_api/categories

diff  --git a/lldb/test/API/python_api/watchpoint/.categories b/lldb/test/API/python_api/watchpoint/categories
similarity index 100%
rename from lldb/test/API/python_api/watchpoint/.categories
rename to lldb/test/API/python_api/watchpoint/categories

diff  --git a/lldb/test/API/tools/lldb-server/.categories b/lldb/test/API/tools/lldb-server/categories
similarity index 100%
rename from lldb/test/API/tools/lldb-server/.categories
rename to lldb/test/API/tools/lldb-server/categories

diff  --git a/lldb/test/API/tools/lldb-vscode/.categories b/lldb/test/API/tools/lldb-vscode/categories
similarity index 100%
rename from lldb/test/API/tools/lldb-vscode/.categories
rename to lldb/test/API/tools/lldb-vscode/categories


        


More information about the lldb-commits mailing list