Skip to content

Commit 0ce70fe

Browse files
authored
Merge pull request #6706 from Michael137/bugfix/lldb-test-fix-preferred_nmae
[lldb][tests] TestPreferredName.py: Fix for older compilers
2 parents 88a3b34 + 4b4f0a3 commit 0ce70fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lldb/test/API/lang/cpp/preferred_name/TestPreferredName.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
import lldb
77
import lldbsuite.test.lldbutil as lldbutil
88
from lldbsuite.test.lldbtest import *
9-
from lldbsuite.test import decorators
10-
9+
from lldbsuite.test.decorators import *
1110

1211
class TestPreferredName(TestBase):
1312

13+
@skipIf(compiler="clang", compiler_version=['<', '16.0'])
1414
def test_frame_var(self):
1515
self.build()
1616
lldbutil.run_to_source_breakpoint(self, "return", lldb.SBFileSpec("main.cpp"))
@@ -26,6 +26,7 @@ def test_frame_var(self):
2626
self.expect("frame variable varChar", substrs=["Bar<char>"])
2727
self.expect("frame variable varFooInt", substrs=["Foo<BarInt>"])
2828

29+
@skipIf(compiler="clang", compiler_version=['<', '16.0'])
2930
def test_expr(self):
3031
self.build()
3132
lldbutil.run_to_source_breakpoint(self, "return", lldb.SBFileSpec("main.cpp"))

0 commit comments

Comments
 (0)