Skip to content

Commit 7fcd2ca

Browse files
committed
[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 ```
1 parent c941bee commit 7fcd2ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_runInTerminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from typing import Dict, Any, List
66

77
import lldbdap_testcase
8-
from lldbsuite.test.decorators import skipIfWindows, skipIf, skipIfBuildType
8+
from lldbsuite.test.decorators import *
99
from lldbsuite.test.lldbtest import line_number
1010

1111

lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Test lldb-dap runInTerminal reverse request
33
"""
44

5-
from lldbsuite.test.decorators import skipIfBuildType, skipIfWindows, skipIf, no_match
5+
from lldbsuite.test.decorators import *
66
from lldbsuite.test.lldbtest import line_number
77
import lldbdap_testcase
88
import os

0 commit comments

Comments
 (0)