[Lldb-commits] [lldb] r247460 - XFAIL miscellaneous tests on windows.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 11 13:01:24 PDT 2015
Author: zturner
Date: Fri Sep 11 15:01:24 2015
New Revision: 247460
URL: http://llvm.org/viewvc/llvm-project?rev=247460&view=rev
Log:
XFAIL miscellaneous tests on windows.
llvm.org/pr24778
Modified:
lldb/trunk/test/expression_command/issue_11588/Test11588.py
lldb/trunk/test/functionalities/attach_resume/TestAttachResume.py
lldb/trunk/test/functionalities/conditional_break/TestConditionalBreak.py
lldb/trunk/test/functionalities/dead-strip/TestDeadStrip.py
lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py
lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py
lldb/trunk/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
lldb/trunk/test/functionalities/longjmp/TestLongjmp.py
lldb/trunk/test/functionalities/plugins/commands/TestPluginCommands.py
lldb/trunk/test/functionalities/return-value/TestReturnValue.py
lldb/trunk/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py
lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py
lldb/trunk/test/python_api/event/TestEvents.py
lldb/trunk/test/python_api/frame/TestFrames.py
lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py
lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py
lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py
lldb/trunk/test/python_api/target/TestTargetAPI.py
Modified: lldb/trunk/test/expression_command/issue_11588/Test11588.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/issue_11588/Test11588.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/issue_11588/Test11588.py (original)
+++ lldb/trunk/test/expression_command/issue_11588/Test11588.py Fri Sep 11 15:01:24 2015
@@ -14,6 +14,7 @@ class Issue11581TestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
+ @expectedFailureWindows("llvm.org/pr24778")
def test_11581_commands(self):
# This is the function to remove the custom commands in order to have a
# clean slate for the next test case.
Modified: lldb/trunk/test/functionalities/attach_resume/TestAttachResume.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/attach_resume/TestAttachResume.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/attach_resume/TestAttachResume.py (original)
+++ lldb/trunk/test/functionalities/attach_resume/TestAttachResume.py Fri Sep 11 15:01:24 2015
@@ -16,6 +16,7 @@ class AttachResumeTestCase(TestBase):
@expectedFailureFreeBSD('llvm.org/pr19310')
@expectedFlakeyLinux('llvm.org/pr19310')
+ @expectedFailureWindows("llvm.org/pr24778")
@skipIfRemote
@dwarf_test
def test_attach_continue_interrupt_detach(self):
Modified: lldb/trunk/test/functionalities/conditional_break/TestConditionalBreak.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/conditional_break/TestConditionalBreak.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/conditional_break/TestConditionalBreak.py (original)
+++ lldb/trunk/test/functionalities/conditional_break/TestConditionalBreak.py Fri Sep 11 15:01:24 2015
@@ -25,6 +25,7 @@ class ConditionalBreakTestCase(TestBase)
self.buildDsym()
self.do_conditional_break()
+ @expectedFailureWindows("llvm.org/pr24778")
@python_api_test
@dwarf_test
def test_with_dwarf_python(self):
Modified: lldb/trunk/test/functionalities/dead-strip/TestDeadStrip.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/dead-strip/TestDeadStrip.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/dead-strip/TestDeadStrip.py (original)
+++ lldb/trunk/test/functionalities/dead-strip/TestDeadStrip.py Fri Sep 11 15:01:24 2015
@@ -19,6 +19,7 @@ class DeadStripTestCase(TestBase):
self.buildDsym()
self.dead_strip()
+ @expectedFailureWindows("llvm.org/pr24778")
@skipIfFreeBSD # The -dead_strip linker option isn't supported on FreeBSD versions of ld.
@dwarf_test
def test_with_dwarf(self):
Modified: lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py (original)
+++ lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py Fri Sep 11 15:01:24 2015
@@ -16,6 +16,7 @@ class CrashingInferiorTestCase(TestBase)
self.inferior_crashing()
@expectedFailureFreeBSD("llvm.org/pr23699 SIGSEGV is reported as exception, not signal")
+ @expectedFailureWindows("llvm.org/pr24778") # This actually works, but the test relies on the output format instead of the API
def test_inferior_crashing_dwarf(self):
"""Test that lldb reliably catches the inferior crashing (command)."""
self.buildDwarf()
@@ -27,12 +28,14 @@ class CrashingInferiorTestCase(TestBase)
self.buildDsym()
self.inferior_crashing_registers()
+ @expectedFailureWindows("llvm.org/pr24778")
def test_inferior_crashing_register_dwarf(self):
"""Test that lldb reliably reads registers from the inferior after crashing (command)."""
self.buildDwarf()
self.inferior_crashing_registers()
@python_api_test
+ @expectedFailureWindows("llvm.org/pr24778")
def test_inferior_crashing_python(self):
"""Test that lldb reliably catches the inferior crashing (Python API)."""
self.buildDefault()
@@ -44,6 +47,7 @@ class CrashingInferiorTestCase(TestBase)
self.buildDsym()
self.inferior_crashing_expr()
+ @expectedFailureWindows("llvm.org/pr24778")
def test_inferior_crashing_expr_dwarf(self):
"""Test that the lldb expression interpreter can read from the inferior after crashing (command)."""
self.buildDwarf()
@@ -56,6 +60,7 @@ class CrashingInferiorTestCase(TestBase)
self.inferior_crashing_step()
@expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["i386"])
+ @expectedFailureWindows("llvm.org/pr24778")
def test_inferior_crashing_step_dwarf(self):
"""Test that stepping after a crash behaves correctly."""
self.buildDwarf()
@@ -68,6 +73,7 @@ class CrashingInferiorTestCase(TestBase)
self.inferior_crashing_step_after_break()
@skipIfFreeBSD # llvm.org/pr16684
+ @expectedFailureWindows("llvm.org/pr24778")
def test_inferior_crashing_step_after_break_dwarf(self):
"""Test that lldb functions correctly after stepping through a crash."""
self.buildDwarf()
@@ -80,6 +86,7 @@ class CrashingInferiorTestCase(TestBase)
self.inferior_crashing_expr_step_expr()
@expectedFailureFreeBSD('llvm.org/pr15989') # Couldn't allocate space for the stack frame
+ @expectedFailureWindows("llvm.org/pr24778")
@skipIfLinux # Inferior exits after stepping after a segfault. This is working as intended IMHO.
def test_inferior_crashing_expr_step_and_expr_dwarf(self):
"""Test that lldb expressions work before and after stepping after a crash."""
Modified: lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py (original)
+++ lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py Fri Sep 11 15:01:24 2015
@@ -17,6 +17,7 @@ class CrashingRecursiveInferiorTestCase(
self.recursive_inferior_crashing()
@expectedFailureFreeBSD("llvm.org/pr23699 SIGSEGV is reported as exception, not signal")
+ @expectedFailureWindows("llvm.org/pr24778")
def test_recursive_inferior_crashing_dwarf(self):
"""Test that lldb reliably catches the inferior crashing (command)."""
self.buildDwarf()
@@ -28,12 +29,14 @@ class CrashingRecursiveInferiorTestCase(
self.buildDsym()
self.recursive_inferior_crashing_registers()
+ @expectedFailureWindows("llvm.org/pr24778")
def test_recursive_inferior_crashing_register_dwarf(self):
"""Test that lldb reliably reads registers from the inferior after crashing (command)."""
self.buildDwarf()
self.recursive_inferior_crashing_registers()
@python_api_test
+ @expectedFailureWindows("llvm.org/pr24778")
def test_recursive_inferior_crashing_python(self):
"""Test that lldb reliably catches the inferior crashing (Python API)."""
self.buildDefault()
@@ -45,6 +48,7 @@ class CrashingRecursiveInferiorTestCase(
self.buildDsym()
self.recursive_inferior_crashing_expr()
+ @expectedFailureWindows("llvm.org/pr24778")
def test_recursive_inferior_crashing_expr_dwarf(self):
"""Test that the lldb expression interpreter can read from the inferior after crashing (command)."""
self.buildDwarf()
@@ -56,6 +60,7 @@ class CrashingRecursiveInferiorTestCase(
self.buildDsym()
self.recursive_inferior_crashing_step()
+ @expectedFailureWindows("llvm.org/pr24778")
def test_recursive_inferior_crashing_step_dwarf(self):
"""Test that stepping after a crash behaves correctly."""
self.buildDwarf()
@@ -68,6 +73,7 @@ class CrashingRecursiveInferiorTestCase(
self.recursive_inferior_crashing_step_after_break()
@skipIfFreeBSD # llvm.org/pr16684
+ @expectedFailureWindows("llvm.org/pr24778")
def test_recursive_inferior_crashing_step_after_break_dwarf(self):
"""Test that lldb functions correctly after stepping through a crash."""
self.buildDwarf()
@@ -81,6 +87,7 @@ class CrashingRecursiveInferiorTestCase(
@expectedFailureFreeBSD('llvm.org/pr15989') # Couldn't allocate space for the stack frame
@skipIfLinux # Inferior exits after stepping after a segfault. This is working as intended IMHO.
+ @expectedFailureWindows("llvm.org/pr24778")
def test_recursive_inferior_crashing_expr_step_and_expr_dwarf(self):
"""Test that lldb expressions work before and after stepping after a crash."""
self.buildDwarf()
Modified: lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py (original)
+++ lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py Fri Sep 11 15:01:24 2015
@@ -23,6 +23,7 @@ class TestInlineStepping(TestBase):
@expectedFailureFreeBSD('llvm.org/pr17214')
@expectedFailureIcc # Not really a bug. ICC combines two inlined functions.
@expectedFailureAll("llvm.org/pr23139", oslist=["linux"], compiler="gcc", compiler_version=[">=","4.9"], archs=["i386"])
+ @expectedFailureWindows("llvm.org/pr24778")
# failed 1/365 dosep runs, (i386-clang), TestInlineStepping.py:237 failed to stop at first breakpoint in main
@expectedFailureAll(oslist=["linux"], archs=["i386"])
def test_with_dwarf_and_python_api(self):
Modified: lldb/trunk/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py (original)
+++ lldb/trunk/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py Fri Sep 11 15:01:24 2015
@@ -23,6 +23,7 @@ class LaunchWithShellExpandTestCase(Test
@expectedFailureFreeBSD("llvm.org/pr22627 process launch w/ shell expansion not working")
@expectedFailureLinux("llvm.org/pr22627 process launch w/ shell expansion not working")
+ @expectedFailureWindows("llvm.org/pr24778")
@dwarf_test
def test_with_dwarf (self):
self.buildDwarf()
Modified: lldb/trunk/test/functionalities/longjmp/TestLongjmp.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/longjmp/TestLongjmp.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/longjmp/TestLongjmp.py (original)
+++ lldb/trunk/test/functionalities/longjmp/TestLongjmp.py Fri Sep 11 15:01:24 2015
@@ -18,6 +18,7 @@ class LongjmpTestCase(TestBase):
@skipIfDarwin # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
@skipIfFreeBSD # llvm.org/pr17214
@expectedFailureLinux("llvm.org/pr20231")
+ @expectedFailureWindows("llvm.org/pr24778")
def test_step_out(self):
"""Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out."""
self.buildDefault()
@@ -26,6 +27,7 @@ class LongjmpTestCase(TestBase):
@skipIfDarwin # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
@skipIfFreeBSD # llvm.org/pr17214
@expectedFailureLinux("llvm.org/pr20231")
+ @expectedFailureWindows("llvm.org/pr24778")
def test_step_over(self):
"""Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-over a longjmp."""
self.buildDefault()
@@ -34,6 +36,7 @@ class LongjmpTestCase(TestBase):
@skipIfDarwin # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
@skipIfFreeBSD # llvm.org/pr17214
@expectedFailureLinux("llvm.org/pr20231")
+ @expectedFailureWindows("llvm.org/pr24778")
def test_step_back_out(self):
"""Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out after thread step-in."""
self.buildDefault()
Modified: lldb/trunk/test/functionalities/plugins/commands/TestPluginCommands.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/plugins/commands/TestPluginCommands.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/plugins/commands/TestPluginCommands.py (original)
+++ lldb/trunk/test/functionalities/plugins/commands/TestPluginCommands.py Fri Sep 11 15:01:24 2015
@@ -21,6 +21,7 @@ class PluginCommandTestCase(TestBase):
@skipIfNoSBHeaders
@skipIfHostIncompatibleWithRemote # Requires a compatible arch and platform to link against the host's built lldb lib.
+ @expectedFailureWindows("llvm.org/pr24778")
def test_load_plugin(self):
"""Test that plugins that load commands work correctly."""
Modified: lldb/trunk/test/functionalities/return-value/TestReturnValue.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/return-value/TestReturnValue.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/return-value/TestReturnValue.py (original)
+++ lldb/trunk/test/functionalities/return-value/TestReturnValue.py Fri Sep 11 15:01:24 2015
@@ -22,6 +22,7 @@ class ReturnValueTestCase(TestBase):
self.do_return_value()
@expectedFailurei386
+ @expectedFailureWindows("llvm.org/pr24778")
@python_api_test
@dwarf_test
def test_with_dwarf_python(self):
Modified: lldb/trunk/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py (original)
+++ lldb/trunk/test/functionalities/thread/crash_during_step/TestCrashDuringStep.py Fri Sep 11 15:01:24 2015
@@ -20,6 +20,7 @@ class CreateDuringStepTestCase(TestBase)
self.crash_during_step_inst_test()
@dwarf_test
+ @expectedFailureWindows("llvm.org/pr24778")
@expectedFailureAndroid("llvm.org/pr24497", archs=['arm', 'aarch64'])
def test_step_inst_with_dwarf(self):
"""Test thread creation during step-inst handling."""
Modified: lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py (original)
+++ lldb/trunk/test/linux/builtin_trap/TestBuiltinTrap.py Fri Sep 11 15:01:24 2015
@@ -23,6 +23,7 @@ class BuiltinTrapTestCase(TestBase):
@dwarf_test
@expectedFailureAll("llvm.org/pr15936", compiler="gcc", compiler_version=["<=","4.6"])
@expectedFailureAll(archs="arm", compiler="gcc", triple=".*-android") # gcc generates incorrect linetable
+ @skipIfWindows
def test_with_dwarf_and_run_command(self):
"""Test that LLDB handles a function with __builtin_trap correctly."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/event/TestEvents.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/event/TestEvents.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/python_api/event/TestEvents.py (original)
+++ lldb/trunk/test/python_api/event/TestEvents.py Fri Sep 11 15:01:24 2015
@@ -56,6 +56,7 @@ class EventAPITestCase(TestBase):
@python_api_test
@dwarf_test
@expectedFailureLinux("llvm.org/pr23617") # Flaky, fails ~1/10 cases
+ @expectedFailureWindows("llvm.org/pr24778")
def test_add_listener_to_broadcaster_with_dwarf(self):
"""Exercise some SBBroadcaster APIs."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/frame/TestFrames.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/frame/TestFrames.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/python_api/frame/TestFrames.py (original)
+++ lldb/trunk/test/python_api/frame/TestFrames.py Fri Sep 11 15:01:24 2015
@@ -23,6 +23,7 @@ class FrameAPITestCase(TestBase):
@python_api_test
@dwarf_test
+ @expectedFailureWindows("llvm.org/pr24778")
def test_get_arg_vals_for_call_stack_with_dwarf(self):
"""Exercise SBFrame.GetVariables() API to get argument vals."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py (original)
+++ lldb/trunk/test/python_api/function_symbol/TestSymbolAPI.py Fri Sep 11 15:01:24 2015
@@ -22,6 +22,7 @@ class SymbolAPITestCase(TestBase):
@python_api_test
@dwarf_test
+ @expectedFailureWindows("llvm.org/pr24778")
def test_with_dwarf(self):
"""Exercise some SBSymbol and SBAddress APIs."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py (original)
+++ lldb/trunk/test/python_api/lldbutil/process/TestPrintStackTraces.py Fri Sep 11 15:01:24 2015
@@ -19,6 +19,7 @@ class ThreadsStackTracesTestCase(TestBas
self.line = line_number('main.cpp', '// Set break point at this line.')
@expectedFailureAll("llvm.org/pr23043", ["linux"], archs=["i386"]) # We are unable to produce a backtrace of the main thread when the thread is blocked in fgets
+ @expectedFailureWindows("llvm.org/pr24778")
@python_api_test
def test_stack_traces(self):
"""Test SBprocess and SBThread APIs with printing of the stack traces."""
Modified: lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py (original)
+++ lldb/trunk/test/python_api/symbol-context/TestSymbolContext.py Fri Sep 11 15:01:24 2015
@@ -22,6 +22,7 @@ class SymbolContextAPITestCase(TestBase)
@python_api_test
@dwarf_test
+ @expectedFailureWindows("llvm.org/pr24778")
def test_with_dwarf(self):
"""Exercise SBSymbolContext API extensively."""
self.buildDwarf()
Modified: lldb/trunk/test/python_api/target/TestTargetAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/target/TestTargetAPI.py?rev=247460&r1=247459&r2=247460&view=diff
==============================================================================
--- lldb/trunk/test/python_api/target/TestTargetAPI.py (original)
+++ lldb/trunk/test/python_api/target/TestTargetAPI.py Fri Sep 11 15:01:24 2015
@@ -50,6 +50,7 @@ class TargetAPITestCase(TestBase):
@python_api_test
@dwarf_test
+ @expectedFailureWindows("llvm.org/pr24778")
def test_find_functions_with_dwarf(self):
"""Exercise SBTarget.FindFunctions() API."""
d = {'EXE': 'b.out'}
More information about the lldb-commits
mailing list