[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
This commit is contained in:
Raphael Isemann 2019-10-11 17:17:58 +00:00
parent 1edb7e0b6f
commit 81018c85b9
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ class ImportStdModule(TestBase):
mydir = TestBase.compute_mydir(__file__) mydir = TestBase.compute_mydir(__file__)
# We only emulate a fake libc++ in this test and don't use the real libc++,
# but we still add the libc++ category so that this test is only run in
# test configurations where libc++ is actually supposed to be tested.
@add_test_categories(["libc++"])
@skipIf(compiler=no_match("clang")) @skipIf(compiler=no_match("clang"))
def test(self): def test(self):
self.build() self.build()