summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-10-11 17:17:58 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-10-11 17:17:58 +0000
commit81018c85b9c8275cc3bd0b60aa7a3ef4b601fa16 (patch)
treef252eca194f5cf4813aaed6e8ea5619982dce450 /lldb/packages/Python/lldbsuite/test
parent1edb7e0b6f390b066f5218208a7c8ac974ee243c (diff)
downloadbcm5719-llvm-81018c85b9c8275cc3bd0b60aa7a3ef4b601fa16.tar.gz
bcm5719-llvm-81018c85b9c8275cc3bd0b60aa7a3ef4b601fa16.zip
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py b/lldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
index 90072fc3fdf..684e287a69e 100644
--- a/lldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
+++ b/lldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
@@ -11,6 +11,10 @@ class ImportStdModule(TestBase):
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"))
def test(self):
self.build()
OpenPOWER on IntegriCloud