[Lldb-commits] [lldb] [lldb][test] Add test categories for Linux and Darwin tests (PR #116194)
Vladislav Dzhidzhoev via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 15 05:24:45 PST 2024
https://github.com/dzhidzhoev updated https://github.com/llvm/llvm-project/pull/116194
>From 34047d525f1caeda6817142ec0d53ec8129a6adb Mon Sep 17 00:00:00 2001
From: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: Thu, 14 Nov 2024 10:21:36 +0100
Subject: [PATCH 1/2] [lldb][test] Add test categories for Linux and Darwin
tests
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.
---
lldb/packages/Python/lldbsuite/test/test_categories.py | 3 +++
lldb/test/API/linux/categories | 1 +
lldb/test/API/macosx/categories | 1 +
3 files changed, 5 insertions(+)
create mode 100644 lldb/test/API/linux/categories
create mode 100644 lldb/test/API/macosx/categories
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
>From 561798c1a2eddb43b9d559a08bfcd0d38324bee3 Mon Sep 17 00:00:00 2001
From: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: Fri, 15 Nov 2024 14:24:30 +0100
Subject: [PATCH 2/2] Removed "windows" decorator
---
lldb/packages/Python/lldbsuite/test/test_categories.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/lldb/packages/Python/lldbsuite/test/test_categories.py b/lldb/packages/Python/lldbsuite/test/test_categories.py
index 537a7aa4025d5c..a376f110262dd6 100644
--- a/lldb/packages/Python/lldbsuite/test/test_categories.py
+++ b/lldb/packages/Python/lldbsuite/test/test_categories.py
@@ -41,7 +41,6 @@
"std-module": "Tests related to importing the std module",
"stresstest": "Tests related to stressing lldb limits",
"watchpoint": "Watchpoint-related tests",
- "windows": "Windows-related tests",
}
More information about the lldb-commits
mailing list