Skip to content

Commit 52882de

Browse files
committed
[lldb][test] TestCPP20Standard.py: make it a libc++ test
We just want to test whether the language switch works. This is easier to control for libc++, since for bots building the tests against libstdc++ we might not have the necessary `<compare>` header available currently.
1 parent e15d6b5 commit 52882de

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lldb/test/API/lang/cpp/standards/cpp20/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
USE_LIBCPP := 1
12
CXX_SOURCES := main.cpp
23
CXXFLAGS_EXTRAS := -std=c++20
34

lldb/test/API/lang/cpp/standards/cpp20/TestCPP20Standard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from lldbsuite.test import lldbutil
55

66
class TestCPP20Standard(TestBase):
7+
@add_test_categories(["libc++"])
78
@skipIf(compiler="clang", compiler_version=['<', '11.0'])
89
def test_cpp20(self):
910
"""

0 commit comments

Comments
 (0)