From de11105d2ece076e9d8dcfb01286643e81af8922 Mon Sep 17 00:00:00 2001 From: Michal Gorny Date: Mon, 4 Mar 2019 16:54:06 +0000 Subject: [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 --- .../lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py | 4 ++++ .../lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py | 1 + .../lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py | 1 + 3 files changed, 6 insertions(+) (limited to 'lldb/packages/Python/lldbsuite/test/tools/lldb-vscode') diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py index 67cd05b83c3..21e945bee73 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/attach/TestVSCode_attach.py @@ -48,6 +48,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase): @skipIfWindows @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin + @skipIfNetBSD # Hangs on NetBSD as well @no_debug_info_test def test_by_pid(self): ''' @@ -65,6 +66,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase): @skipIfWindows @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin + @skipIfNetBSD # Hangs on NetBSD as well @no_debug_info_test def test_by_name(self): ''' @@ -100,6 +102,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase): @skipUnlessDarwin @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin + @skipIfNetBSD # Hangs on NetBSD as well @no_debug_info_test def test_by_name_waitFor(self): ''' @@ -118,6 +121,7 @@ class TestVSCode_attach(lldbvscode_testcase.VSCodeTestCaseBase): @skipIfWindows @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin + @skipIfNetBSD # Hangs on NetBSD as well @no_debug_info_test def test_commands(self): ''' diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py index fdba683760e..65db69cbe24 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py @@ -21,6 +21,7 @@ class TestVSCode_setExceptionBreakpoints( @skipIfWindows @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots + @expectedFailureNetBSD @no_debug_info_test def test_functionality(self): '''Tests setting and clearing exception breakpoints. diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py index 064cf9a6783..759045ef4c4 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/launch/TestVSCode_launch.py @@ -168,6 +168,7 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase): @skipIfWindows @skipIfDarwin # Skip this test for now until we can figure out why tings aren't working on build bots @skipIfLinux # This test is timing out and/or failing on Linux as well as Darwin + @expectedFailureNetBSD @no_debug_info_test def test_shellExpandArguments_enabled(self): ''' -- cgit v1.2.3