[Lldb-commits] [lldb] r260423 - Remove skipUnlessListedRemote.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 10 11:53:45 PST 2016


Author: zturner
Date: Wed Feb 10 13:53:45 2016
New Revision: 260423

URL: http://llvm.org/viewvc/llvm-project?rev=260423&view=rev
Log:
Remove skipUnlessListedRemote.

This was supposed to have been removed but made it back in
accidentally.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/decorators.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/decorators.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/decorators.py?rev=260423&r1=260422&r2=260423&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/decorators.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/decorators.py Wed Feb 10 13:53:45 2016
@@ -391,18 +391,6 @@ def skipIfRemote(func):
         return "skip on remote platform" if lldb.remote_platform else None
     return skipTestIfFn(is_remote)(func)
 
-def skipUnlessListedRemote(remote_list=None):
-    def is_remote_unlisted(self):
-        if remote_list and lldb.remote_platform:
-            triple = self.dbg.GetSelectedPlatform().GetTriple()
-            for r in remote_list:
-                if r in triple:
-                    return None
-            return "skipping because remote is not listed"
-        else:
-            return None
-    return skipTestIfFn(is_remote_unlisted)
-
 def skipIfRemoteDueToDeadlock(func):
     """Decorate the item to skip tests if testing remotely due to the test deadlocking."""
     def is_remote():




More information about the lldb-commits mailing list