[Lldb-commits] [lldb] r343016 - XFAIL some tests in TestTargetCreateDeps on linux

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 25 12:52:04 PDT 2018


Author: labath
Date: Tue Sep 25 12:52:04 2018
New Revision: 343016

URL: http://llvm.org/viewvc/llvm-project?rev=343016&view=rev
Log:
XFAIL some tests in TestTargetCreateDeps on linux

On linux, we do not support automatic loading of dependent modules, so
the module list will always contain just one module (until the target is
launched).

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_create_deps/TestTargetCreateDeps.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_create_deps/TestTargetCreateDeps.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_create_deps/TestTargetCreateDeps.py?rev=343016&r1=343015&r2=343016&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_create_deps/TestTargetCreateDeps.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/target_create_deps/TestTargetCreateDeps.py Tue Sep 25 12:52:04 2018
@@ -30,12 +30,14 @@ class TargetDependentsTestCase(TestBase)
         self.expect(
             "image list", msg, matching=should_match, substrs=['[  1]'])
 
+    @expectedFailureAll(oslist=["linux"]) #linux does not support loading dependent files
     def test_dependents_implicit_default_exe(self):
         """Test default behavior"""
         exe = self.getBuildArtifact("a.out")
         self.runCmd("target create  " + exe, CURRENT_EXECUTABLE_SET)
         self.has_exactly_one_image(False)
 
+    @expectedFailureAll(oslist=["linux"]) #linux does not support loading dependent files
     def test_dependents_explicit_default_exe(self):
         """Test default behavior"""
         exe = self.getBuildArtifact("a.out")
@@ -48,6 +50,7 @@ class TargetDependentsTestCase(TestBase)
         self.runCmd("target create -dtrue " + exe, CURRENT_EXECUTABLE_SET)
         self.has_exactly_one_image(True)
 
+    @expectedFailureAll(oslist=["linux"]) #linux does not support loading dependent files
     def test_dependents_explicit_false_exe(self):
         """Test default behavior"""
         exe = self.getBuildArtifact("a.out")
@@ -81,6 +84,7 @@ class TargetDependentsTestCase(TestBase)
         self.runCmd("target create -dtrue " + lib, CURRENT_EXECUTABLE_SET)
         self.has_exactly_one_image(True)
 
+    @expectedFailureAll(oslist=["linux"]) #linux does not support loading dependent files
     def test_dependents_explicit_false_lib(self):
         ctx = self.platformContext
         dylibName = ctx.shlib_prefix + 'load_a.' + ctx.shlib_extension




More information about the lldb-commits mailing list