[Lldb-commits] [lldb] r374572 - [lldb] Add import-std-module/sysroot to the libc++ test category.
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 11 10:17:59 PDT 2019
Author: teemperor
Date: Fri Oct 11 10:17:58 2019
New Revision: 374572
URL: http://llvm.org/viewvc/llvm-project?rev=374572&view=rev
Log:
[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.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py?rev=374572&r1=374571&r2=374572&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py Fri Oct 11 10:17:58 2019
@@ -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()
More information about the lldb-commits
mailing list