[Lldb-commits] [lldb] r233081 - Skip SetSID test cases on remote platform

Tamas Berghammer tberghammer at google.com
Tue Mar 24 06:50:36 PDT 2015


Author: tberghammer
Date: Tue Mar 24 08:50:36 2015
New Revision: 233081

URL: http://llvm.org/viewvc/llvm-project?rev=233081&view=rev
Log:
Skip SetSID test cases on remote platform

On remote platform --setsid option is not used and currently it is also
impossible to get the sid of an lldb-platform instance running on a
remote target.

Differential revision: http://reviews.llvm.org/D8317

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

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=233081&r1=233080&r2=233081&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-server/commandline/TestStubSetSID.py (original)
+++ lldb/trunk/test/tools/lldb-server/commandline/TestStubSetSID.py Tue Mar 24 08:50:36 2015
@@ -34,6 +34,7 @@ class TestStubSetSIDTestCase(gdbremote_t
         self.assertNotEquals(stub_sid, os.getsid(0))
 
     @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()
@@ -41,6 +42,7 @@ class TestStubSetSIDTestCase(gdbremote_t
         self.sid_is_same_without_setsid()
 
     @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.
     def test_sid_is_same_without_setsid_llgs(self):
         self.init_llgs_test()
@@ -48,24 +50,28 @@ class TestStubSetSIDTestCase(gdbremote_t
         self.sid_is_same_without_setsid()
 
     @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
     def test_sid_is_different_with_setsid_debugserver(self):
         self.init_debugserver_test()
         self.set_inferior_startup_launch()
         self.sid_is_different_with_setsid()
 
     @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
     def test_sid_is_different_with_setsid_llgs(self):
         self.init_llgs_test()
         self.set_inferior_startup_launch()
         self.sid_is_different_with_setsid()
 
     @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
     def test_sid_is_different_with_S_debugserver(self):
         self.init_debugserver_test()
         self.set_inferior_startup_launch()
         self.sid_is_different_with_S()
 
     @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
     def test_sid_is_different_with_S_llgs(self):
         self.init_llgs_test()
         self.set_inferior_startup_launch()





More information about the lldb-commits mailing list