[Lldb-commits] [lldb] r247605 - Fixes lldb-server commandline test xpass for OS X and Linux; resolves llvm.org/pr20273

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 14 12:53:00 PDT 2015


Author: tfiala
Date: Mon Sep 14 14:53:00 2015
New Revision: 247605

URL: http://llvm.org/viewvc/llvm-project?rev=247605&view=rev
Log:
Fixes lldb-server commandline test xpass for OS X and Linux; resolves llvm.org/pr20273

Modified:
    lldb/trunk/test/python_api/target/TestTargetAPI.py
    lldb/trunk/test/tools/lldb-server/commandline/TestStubSetSID.py

Modified: lldb/trunk/test/python_api/target/TestTargetAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/target/TestTargetAPI.py?rev=247605&r1=247604&r2=247605&view=diff
==============================================================================
--- lldb/trunk/test/python_api/target/TestTargetAPI.py (original)
+++ lldb/trunk/test/python_api/target/TestTargetAPI.py Mon Sep 14 14:53:00 2015
@@ -76,7 +76,6 @@ class TargetAPITestCase(TestBase):
     @skipUnlessDarwin
     @python_api_test
     @dsym_test
-    @expectedFailureDarwin("llvm.org/pr20273")
     def test_launch_new_process_and_redirect_stdout_with_dsym(self):
         """Exercise SBTaget.Launch() API."""
         self.buildDsym()
@@ -84,7 +83,6 @@ class TargetAPITestCase(TestBase):
 
     @python_api_test
     @dwarf_test
-    @expectedFailureDarwin("llvm.org/pr20273")
     def test_launch_new_process_and_redirect_stdout_with_dwarf(self):
         """Exercise SBTarget.Launch() API."""
         self.buildDwarf()

Modified: lldb/trunk/test/tools/lldb-server/commandline/TestStubSetSID.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-server/commandline/TestStubSetSID.py?rev=247605&r1=247604&r2=247605&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-server/commandline/TestStubSetSID.py (original)
+++ lldb/trunk/test/tools/lldb-server/commandline/TestStubSetSID.py Mon Sep 14 14:53:00 2015
@@ -38,7 +38,6 @@ class TestStubSetSIDTestCase(gdbremote_t
 
     @debugserver_test
     @skipIfRemote # --setsid not used on remote platform and currently it is also impossible to get the sid of lldb-platform running on a remote target
-    @unittest2.expectedFailure() # This is the whole purpose of this feature, I would expect it to be the same without --setsid. Investigate.
     def test_sid_is_same_without_setsid_debugserver(self):
         self.init_debugserver_test()
         self.set_inferior_startup_launch()
@@ -46,7 +45,7 @@ class TestStubSetSIDTestCase(gdbremote_t
 
     @llgs_test
     @skipIfRemote # --setsid not used on remote platform and currently it is also impossible to get the sid of lldb-platform running on a remote target
-    @unittest2.expectedFailure() # This is the whole purpose of this feature, I would expect it to be the same without --setsid. Investigate.
+    @expectedFailureFreeBSD()
     def test_sid_is_same_without_setsid_llgs(self):
         self.init_llgs_test()
         self.set_inferior_startup_launch()




More information about the lldb-commits mailing list