mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-29 08:31:13 +00:00
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 llvm-svn: 229704
This commit is contained in:
parent
3c42dba2dc
commit
4db1174f50
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user