[Lldb-commits] [lldb] r229704 - Add decorator for fd leak test failing on FreeBSD
Ed Maste
emaste at freebsd.org
Wed Feb 18 09:23:52 PST 2015
Author: emaste
Date: Wed Feb 18 11:23:52 2015
New Revision: 229704
URL: http://llvm.org/viewvc/llvm-project?rev=229704&view=rev
Log:
Add decorator for fd leak test failing on FreeBSD
An fd leak comes from Python on FreeBSD
FreeBSD ports PR: https://bugs.freebsd.org/197376
Python issue: https://bugs.python.org/issue23458
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=229704&r1=229703&r2=229704&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/avoids-fd-leak/TestFdLeak.py (original)
+++ lldb/trunk/test/functionalities/avoids-fd-leak/TestFdLeak.py Wed Feb 18 11:23:52 2015
@@ -12,10 +12,12 @@ class AvoidsFdLeakTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
+ @expectedFailureFreeBSD("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
@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"])
@@ -36,6 +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
@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