From 7fcd2ca2efc7e812ed66c6d1e7d923d0eeb57f83 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Wed, 25 Jun 2025 12:40:44 +0100 Subject: [PATCH] [lldb-dap][test] Import skipIfAsan decorator ``` Traceback (most recent call last): File "/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/test/API/dotest.py", line 8, in lldbsuite.test.run_suite() File "/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 1064, in run_suite visit("Test", dirpath, filenames) File "/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 706, in visit visit_file(dir, name) File "/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 649, in visit_file module = __import__(base) ^^^^^^^^^^^^^^^^ File "/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py", line 14, in class TestDAP_runInTerminal(lldbdap_testcase.DAPTestCaseBase): File "/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py", line 29, in TestDAP_runInTerminal @skipIfAsan ^^^^^^^^^^ NameError: name 'skipIfAsan' is not defined ``` --- .../API/tools/lldb-dap/restart/TestDAP_restart_runInTerminal.py | 2 +- .../API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_runInTerminal.py b/lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_runInTerminal.py index 33cd4c6247e7..35810feb4836 100644 --- a/lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_runInTerminal.py +++ b/lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_runInTerminal.py @@ -5,7 +5,7 @@ Test lldb-dap RestartRequest. from typing import Dict, Any, List import lldbdap_testcase -from lldbsuite.test.decorators import skipIfWindows, skipIf, skipIfBuildType +from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import line_number diff --git a/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py b/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py index a3ecfebcd6cd..af8b6b140da4 100644 --- a/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py +++ b/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py @@ -2,7 +2,7 @@ Test lldb-dap runInTerminal reverse request """ -from lldbsuite.test.decorators import skipIfBuildType, skipIfWindows, skipIf, no_match +from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import line_number import lldbdap_testcase import os