Skip to content

Commit 81018c8

Browse files
committed
[lldb] Add import-std-module/sysroot to the libc++ test category.
We essentially test libc++ in a sysroot here so let's make sure that we actually only run this test on platforms where libc++ testing is enabled. llvm-svn: 374572
1 parent 1edb7e0 commit 81018c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ class ImportStdModule(TestBase):
1111

1212
mydir = TestBase.compute_mydir(__file__)
1313

14+
# We only emulate a fake libc++ in this test and don't use the real libc++,
15+
# but we still add the libc++ category so that this test is only run in
16+
# test configurations where libc++ is actually supposed to be tested.
17+
@add_test_categories(["libc++"])
1418
@skipIf(compiler=no_match("clang"))
1519
def test(self):
1620
self.build()

0 commit comments

Comments
 (0)