[Lldb-commits] [lldb] r374574 - [lldb] Mark import-std-module/empty-module as libc++ test

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 11 10:34:44 PDT 2019


Author: teemperor
Date: Fri Oct 11 10:34:44 2019
New Revision: 374574

URL: http://llvm.org/viewvc/llvm-project?rev=374574&view=rev
Log:
[lldb] Mark import-std-module/empty-module as libc++ test

Same as with the import-std-module/sysroot test before.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py?rev=374574&r1=374573&r2=374574&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/commands/expression/import-std-module/empty-module/TestEmptyStdModule.py Fri Oct 11 10:34:44 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