summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-03-04 16:54:06 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-03-04 16:54:06 +0000
commitde11105d2ece076e9d8dcfb01286643e81af8922 (patch)
treef86ceffdc68f59f5666d5681d1ecd83640d28425 /lldb/packages/Python/lldbsuite/test/expression_command
parent502ba11583b2f183ca98dd6f98f496f1a5e9fda4 (diff)
downloadbcm5719-llvm-de11105d2ece076e9d8dcfb01286643e81af8922.tar.gz
bcm5719-llvm-de11105d2ece076e9d8dcfb01286643e81af8922.zip
[lldb] [test] Mark failing tests XFAIL on NetBSD
Add a convenience 'expectedFailureNetBSD' decorator and mark all tests currently failing on NetBSD with it. Also skip a few tests that hang the test suite. This should establish a baseline for the test suite and get us closer to enabling tests on buildbot. This will help us catch regressions while we still have a lot of work to do to get tests working. It seems that there are also some flaky tests. I am going to address them later on. Differential Revision: https://reviews.llvm.org/D58527 llvm-svn: 355320
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/save_jit_objects/TestSaveJITObjects.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py1
8 files changed, 8 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py
index 1182b156e80..235ce74fe81 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py
@@ -26,6 +26,7 @@ class ExprCommandThatRestartsTestCase(TestBase):
@skipIfFreeBSD # llvm.org/pr19246: intermittent failure
@skipIfDarwin # llvm.org/pr19246: intermittent failure
@skipIfWindows # Test relies on signals, unsupported on Windows
+ @expectedFailureNetBSD
@expectedFlakeyAndroid(bugnumber="llvm.org/pr19246")
def test(self):
"""Test calling function that hits a signal and restarts."""
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py b/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py
index dd31424dbbd..2ea3952f7f3 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py
@@ -17,6 +17,7 @@ class ExprSyscallTestCase(TestBase):
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr21765, getpid() does not exist on Windows")
+ @expectedFailureNetBSD
def test_setpgid(self):
self.build()
self.expr_syscall()
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py b/lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py
index ee5c4a0ee1d..b13d6555f33 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py
@@ -23,6 +23,7 @@ class ExprFormattersTestCase(TestBase):
'// Stop here')
@skipIfFreeBSD # llvm.org/pr24691 skipping to avoid crashing the test runner
+ @expectedFailureNetBSD
@expectedFailureAll(
oslist=['freebsd'],
bugnumber='llvm.org/pr19011 Newer Clang omits C1 complete object constructor')
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py b/lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py
index d8a8038c845..e440f26bbe2 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/ir-interpreter/TestIRInterpreter.py
@@ -47,6 +47,7 @@ class IRInterpreterTestCase(TestBase):
@expectedFailureAll(
oslist=['windows'],
bugnumber="http://llvm.org/pr21765")
+ @expectedFailureNetBSD
@expectedFailureAll(
oslist=['linux'],
archs=['arm'],
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py
index dc8ee77fd6f..e6b5285c677 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py
@@ -18,6 +18,7 @@ class Radar9531204TestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
# rdar://problem/9531204
+ @expectedFailureNetBSD
def test_expr_commands(self):
"""The evaluating printf(...) after break stop and then up a stack frame."""
self.build()
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/save_jit_objects/TestSaveJITObjects.py b/lldb/packages/Python/lldbsuite/test/expression_command/save_jit_objects/TestSaveJITObjects.py
index fe6816f6aba..460536b42dd 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/save_jit_objects/TestSaveJITObjects.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/save_jit_objects/TestSaveJITObjects.py
@@ -26,6 +26,7 @@ class SaveJITObjectsTestCase(TestBase):
return
@expectedFailureAll(oslist=["windows"])
+ @expectedFailureNetBSD
def test_save_jit_objects(self):
self.build()
os.chdir(self.getBuildDir())
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py b/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py
index deae7feb3ac..6e20e82bbe0 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py
@@ -202,6 +202,7 @@ class BasicExprCommandsTestCase(TestBase):
# rdar://problem/8686536
# CommandInterpreter::HandleCommand is stripping \'s from input for
# WantsRawCommand commands
+ @expectedFailureNetBSD
def test_expr_commands_can_handle_quotes(self):
"""Throw some expression commands with quotes at lldb."""
self.build()
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py b/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py
index 7862477001e..f5c55998cd9 100644
--- a/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py
+++ b/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py
@@ -27,6 +27,7 @@ class ExprCommandWithTimeoutsTestCase(TestBase):
oslist=[
"windows"],
bugnumber="llvm.org/pr21765")
+ @expectedFailureNetBSD
def test(self):
"""Test calling std::String member function."""
self.build()
OpenPOWER on IntegriCloud