diff options
author | Zachary Turner <zturner@google.com> | 2016-02-02 22:22:53 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-02-02 22:22:53 +0000 |
commit | c67466054f8dd467283f17fd31c2c7763ab25016 (patch) | |
tree | f318ae510a6696e2d9173e0ad582a1197d64da4c /lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py | |
parent | 3a92c35539bd729e12bed95c65c2878f7fb93983 (diff) | |
download | bcm5719-llvm-c67466054f8dd467283f17fd31c2c7763ab25016.tar.gz bcm5719-llvm-c67466054f8dd467283f17fd31c2c7763ab25016.zip |
Don't return a tuple from the skip test function.
Previously we were returning a tuple of (bool, skip_reason) from
the tuple function. This makes for some awkward code, especially
since a value of True for the first argument implies that the
second argument is None, and a value of False implies that the
second argument is not None. So it was basically redundant, and
with this patch we simply return the skip reason or None directly.
llvm-svn: 259590
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py | 2 |
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 8c38f4c8bfd..8cb450e65b9 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, "Skipped because the test crashes the test runner"), bugnumber="llvm.org/pr24702") + @skipTestIfFn(lambda : "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""" |