[Lldb-commits] [lldb] r230215 - Disable file descriptor leak tests on python >=2.7.8
Pavel Labath
labath at google.com
Mon Feb 23 03:14:30 PST 2015
Author: labath
Date: Mon Feb 23 05:14:28 2015
New Revision: 230215
URL: http://llvm.org/viewvc/llvm-project?rev=230215&view=rev
Log:
Disable file descriptor leak tests on python >=2.7.8
this version introduced an internal leak, which we cannot reasonably fix.
Modified:
lldb/trunk/test/functionalities/avoids-fd-leak/TestFdLeak.py
Modified: lldb/trunk/test/functionalities/avoids-fd-leak/TestFdLeak.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/avoids-fd-leak/TestFdLeak.py?rev=230215&r1=230214&r2=230215&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/avoids-fd-leak/TestFdLeak.py (original)
+++ lldb/trunk/test/functionalities/avoids-fd-leak/TestFdLeak.py Mon Feb 23 05:14:28 2015
@@ -12,12 +12,12 @@ class AvoidsFdLeakTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
- @expectedFailureFreeBSD("bugs.freebsd.org/197376") # python random leaks fd
+ @expectedFailure(lambda x: sys.version_info >= (2, 7, 8), "bugs.freebsd.org/197376") # python random leaks fd
@skipIfWindows # The check for descriptor leakage needs to be implemented differently here.
def test_fd_leak_basic (self):
self.do_test([])
- @expectedFailureFreeBSD("bugs.freebsd.org/197376") # python random leaks fd
+ @expectedFailure(lambda x: sys.version_info >= (2, 7, 8), "bugs.freebsd.org/197376") # python random leaks fd
@skipIfWindows # The check for descriptor leakage needs to be implemented differently here.
def test_fd_leak_log (self):
self.do_test(["log enable -f '/dev/null' lldb commands"])
@@ -38,7 +38,7 @@ class AvoidsFdLeakTestCase(TestBase):
self.assertTrue(process.GetExitStatus() == 0,
"Process returned non-zero status. Were incorrect file descriptors passed?")
- @expectedFailureFreeBSD("bugs.freebsd.org/197376") # python random leaks fd
+ @expectedFailure(lambda x: sys.version_info >= (2, 7, 8), "bugs.freebsd.org/197376") # python random leaks fd
@skipIfWindows # The check for descriptor leakage needs to be implemented differently here.
def test_fd_leak_multitarget (self):
self.buildDefault()
More information about the lldb-commits
mailing list