[lldb] [test] Mark a few tests flakey on NetBSD

llvm-svn: 355830
This commit is contained in:
Michal Gorny 2019-03-11 15:46:07 +00:00
parent 3836a49039
commit 3aa36c9a47
7 changed files with 9 additions and 0 deletions

View File

@ -102,6 +102,7 @@ class BasicExprCommandsTestCase(TestBase):
# (const char *) $8 = 0x... "/Volumes/data/lldb/svn/trunk/test/expression_command/test/a.out" # (const char *) $8 = 0x... "/Volumes/data/lldb/svn/trunk/test/expression_command/test/a.out"
@add_test_categories(['pyapi']) @add_test_categories(['pyapi'])
@expectedFlakeyNetBSD
def test_evaluate_expression_python(self): def test_evaluate_expression_python(self):
"""Test SBFrame.EvaluateExpression() API for evaluating an expression.""" """Test SBFrame.EvaluateExpression() API for evaluating an expression."""
self.build() self.build()

View File

@ -13,6 +13,7 @@ class BreakpointSetRestart(TestBase):
mydir = TestBase.compute_mydir(__file__) mydir = TestBase.compute_mydir(__file__)
BREAKPOINT_TEXT = 'Set a breakpoint here' BREAKPOINT_TEXT = 'Set a breakpoint here'
@expectedFlakeyNetBSD
def test_breakpoint_set_restart(self): def test_breakpoint_set_restart(self):
self.build() self.build()

View File

@ -23,6 +23,7 @@ class CategoriesDataFormatterTestCase(TestBase):
# Find the line number to break at. # Find the line number to break at.
self.line = line_number('main.cpp', '// Set break point at this line.') self.line = line_number('main.cpp', '// Set break point at this line.')
@expectedFlakeyNetBSD
def test_with_run_command(self): def test_with_run_command(self):
"""Test that that file and class static variables display correctly.""" """Test that that file and class static variables display correctly."""
self.build() self.build()

View File

@ -42,6 +42,7 @@ class LoadUsingPathsTestCase(TestBase):
@skipIfFreeBSD # llvm.org/pr14424 - missing FreeBSD Makefiles/testcase support @skipIfFreeBSD # llvm.org/pr14424 - missing FreeBSD Makefiles/testcase support
@not_remote_testsuite_ready @not_remote_testsuite_ready
@skipIfWindows # Windows doesn't have dlopen and friends, dynamic libraries work differently @skipIfWindows # Windows doesn't have dlopen and friends, dynamic libraries work differently
@expectedFlakeyNetBSD
def test_load_using_paths(self): def test_load_using_paths(self):
"""Test that we can load a module by providing a set of search paths.""" """Test that we can load a module by providing a set of search paths."""
if self.platformIsDarwin(): if self.platformIsDarwin():

View File

@ -23,6 +23,7 @@ class LongjmpTestCase(TestBase):
@skipIfFreeBSD # llvm.org/pr17214 @skipIfFreeBSD # llvm.org/pr17214
@expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231") @expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
@expectedFlakeyNetBSD
def test_step_out(self): def test_step_out(self):
"""Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out.""" """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out."""
self.build() self.build()
@ -32,6 +33,7 @@ class LongjmpTestCase(TestBase):
@skipIfFreeBSD # llvm.org/pr17214 @skipIfFreeBSD # llvm.org/pr17214
@expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231") @expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
@expectedFlakeyNetBSD
def test_step_over(self): def test_step_over(self):
"""Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-over a longjmp.""" """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-over a longjmp."""
self.build() self.build()
@ -41,6 +43,7 @@ class LongjmpTestCase(TestBase):
@skipIfFreeBSD # llvm.org/pr17214 @skipIfFreeBSD # llvm.org/pr17214
@expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231") @expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
@expectedFlakeyNetBSD
def test_step_back_out(self): def test_step_back_out(self):
"""Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out after thread step-in.""" """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out after thread step-in."""
self.build() self.build()

View File

@ -37,6 +37,7 @@ class CppVirtualMadness(TestBase):
compiler="icc", compiler="icc",
bugnumber="llvm.org/pr16808 lldb does not call the correct virtual function with icc.") bugnumber="llvm.org/pr16808 lldb does not call the correct virtual function with icc.")
@skipIfWindows # This test will hang on windows llvm.org/pr21753 @skipIfWindows # This test will hang on windows llvm.org/pr21753
@expectedFlakeyNetBSD
def test_virtual_madness(self): def test_virtual_madness(self):
"""Test that expression works correctly with virtual inheritance as well as virtual function.""" """Test that expression works correctly with virtual inheritance as well as virtual function."""
self.build() self.build()

View File

@ -71,6 +71,7 @@ class MiSyntaxTestCase(lldbmi_testcase.MiTestCaseBase):
@skipIfWindows # llvm.org/pr24452: Get lldb-mi tests working on Windows @skipIfWindows # llvm.org/pr24452: Get lldb-mi tests working on Windows
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races @skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
@skipIfDarwin @skipIfDarwin
@expectedFlakeyNetBSD
@skipIfRemote # We do not currently support remote debugging via the MI. @skipIfRemote # We do not currently support remote debugging via the MI.
def test_lldbmi_output_grammar(self): def test_lldbmi_output_grammar(self):
"""Test that 'lldb-mi --interpreter' uses standard output syntax.""" """Test that 'lldb-mi --interpreter' uses standard output syntax."""