[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 <module>
    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 <module>
    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
```
This commit is contained in:
Michael Buch
2025-06-25 12:40:44 +01:00
parent c941bee75d
commit 7fcd2ca2ef
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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