summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-02-03 11:51:25 +0000
committerPavel Labath <labath@google.com>2016-02-03 11:51:25 +0000
commit5f496fb941fca3264c08c8559f6abbc940cfcfb2 (patch)
treeed9c1c862e060ca082dbc5069bfaecf275c3d4c2 /lldb/packages/Python/lldbsuite/test/lldbtest.py
parente774126c9623639b11f8716dee9e49cb2d97649b (diff)
downloadbcm5719-llvm-5f496fb941fca3264c08c8559f6abbc940cfcfb2.tar.gz
bcm5719-llvm-5f496fb941fca3264c08c8559f6abbc940cfcfb2.zip
Remove skipUnlessListedRemote test decorator
This decorator was used in only one test, and it's behaviour was quite complicated. It skipped if: - test was remote - platform was *not* android I am not aware of anyone running tests with this configuration (and even then, I am not aware of a reason why the test should not pass), but if TestLoadUnload starts breaking for you after this commit, please disable the test with @expectedFailureAll(remote=True, oslist=[YOUR_PLATFORM]) llvm-svn: 259642
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index 3a142a9af32..3b04c75cb2a 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -819,18 +819,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():
OpenPOWER on IntegriCloud