[Lldb-commits] [lldb] [lldb][test] Add test categories for Linux and Darwin tests (PR #116194)

via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 14 02:00:51 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Vladislav Dzhidzhoev (dzhidzhoev)

<details>
<summary>Changes</summary>

Label Linux and Darwin tests with the corresponding categories so that buildbots could be set up to skip them.

This is to speed up https://lab.llvm.org/staging/#/builders/195/builds/4739 later.

---
Full diff: https://github.com/llvm/llvm-project/pull/116194.diff


3 Files Affected:

- (modified) lldb/packages/Python/lldbsuite/test/test_categories.py (+3) 
- (added) lldb/test/API/linux/categories (+1) 
- (added) lldb/test/API/macosx/categories (+1) 


``````````diff
diff --git a/lldb/packages/Python/lldbsuite/test/test_categories.py b/lldb/packages/Python/lldbsuite/test/test_categories.py
index 036bda9c957d11..537a7aa4025d5c 100644
--- a/lldb/packages/Python/lldbsuite/test/test_categories.py
+++ b/lldb/packages/Python/lldbsuite/test/test_categories.py
@@ -17,6 +17,7 @@
 all_categories = {
     "basic_process": "Basic process execution sniff tests.",
     "cmdline": "Tests related to the LLDB command-line interface",
+    "darwin": "Darwin-related tests",
     "dataformatters": "Tests related to the type command and the data formatters subsystem",
     "debugserver": "Debugserver tests",
     "dsym": "Tests that can be run with DSYM debug information",
@@ -30,6 +31,7 @@
     "instrumentation-runtime": "Tests for the instrumentation runtime plugins",
     "libc++": "Test for libc++ data formatters",
     "libstdcxx": "Test for libstdcxx data formatters",
+    "linux": "Linux-related tests",
     "lldb-server": "Tests related to lldb-server",
     "lldb-dap": "Tests for the Debug Adaptor Protocol with lldb-dap",
     "llgs": "Tests for the gdb-server functionality of lldb-server",
@@ -39,6 +41,7 @@
     "std-module": "Tests related to importing the std module",
     "stresstest": "Tests related to stressing lldb limits",
     "watchpoint": "Watchpoint-related tests",
+    "windows": "Windows-related tests",
 }
 
 
diff --git a/lldb/test/API/linux/categories b/lldb/test/API/linux/categories
new file mode 100644
index 00000000000000..a08e1f35eb7c51
--- /dev/null
+++ b/lldb/test/API/linux/categories
@@ -0,0 +1 @@
+linux
diff --git a/lldb/test/API/macosx/categories b/lldb/test/API/macosx/categories
new file mode 100644
index 00000000000000..1498f270fc2b31
--- /dev/null
+++ b/lldb/test/API/macosx/categories
@@ -0,0 +1 @@
+darwin

``````````

</details>


https://github.com/llvm/llvm-project/pull/116194


More information about the lldb-commits mailing list