summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-01-27 18:49:31 +0000
committerZachary Turner <zturner@google.com>2016-01-27 18:49:31 +0000
commit7289e43831d55be74a2814f2bd83789e5f390a76 (patch)
tree66438ba12e524c9cffb5d2f4dceb385b64d6f238 /lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb
parent74b7965d3861ea5bf252701b5d1814cd7e430c87 (diff)
downloadbcm5719-llvm-7289e43831d55be74a2814f2bd83789e5f390a76.tar.gz
bcm5719-llvm-7289e43831d55be74a2814f2bd83789e5f390a76.zip
Refactor some of the xfail / skip decorators to share logic.
Previously the logic of skipIf and expectedFailure were 99% the same, but they took different sets of arguments since they were maintained separately, and had slightly differences in their behavior. This makes everything consistent, there is now only one real implementation, and the previous ones are changed to use the single master implementation. llvm-svn: 258966
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py b/lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py
index c7abf346441..8c38f4c8bfd 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py
@@ -16,7 +16,7 @@ class JITLoaderGDBTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @skipTestIfFn(lambda x: True, "llvm.org/pr24702", "Skipped because the test crashes the test runner")
+ @skipTestIfFn(lambda x: (True, "Skipped because the test crashes the test runner"), bugnumber="llvm.org/pr24702")
@unittest2.expectedFailure("llvm.org/pr24702")
def test_bogus_values(self):
"""Test that we handle inferior misusing the GDB JIT interface"""
OpenPOWER on IntegriCloud