[Lldb-commits] [lldb] r233716 - Enabled a bunch of tests on Linux
Vince Harron
vince at nethacker.com
Tue Mar 31 10:44:37 PDT 2015
Author: vharron
Date: Tue Mar 31 12:44:37 2015
New Revision: 233716
URL: http://llvm.org/viewvc/llvm-project?rev=233716&view=rev
Log:
Enabled a bunch of tests on Linux
Removed expectedFailureLinux from failures that I was unable to
reproduce, updated and improved some other comments near XFAIL tests
Differential Revision: http://reviews.llvm.org/D8676
Modified:
lldb/trunk/test/expression_command/formatters/TestFormatters.py
lldb/trunk/test/functionalities/attach_resume/TestAttachResume.py
lldb/trunk/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
lldb/trunk/test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py
lldb/trunk/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py
lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py
lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py
lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py
lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py
lldb/trunk/test/python_api/thread/TestThreadAPI.py
lldb/trunk/test/python_api/value_var_update/TestValueVarUpdate.py
Modified: lldb/trunk/test/expression_command/formatters/TestFormatters.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/formatters/TestFormatters.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/formatters/TestFormatters.py (original)
+++ lldb/trunk/test/expression_command/formatters/TestFormatters.py Tue Mar 31 12:44:37 2015
@@ -26,7 +26,6 @@ class ExprFormattersTestCase(TestBase):
self.do_my_test()
@expectedFailureFreeBSD('llvm.org/pr19011') # Newer Clang omits C1 complete object constructor
- @expectedFailureLinux('llvm.org/pr20230')
@dwarf_test
def test_with_dwarf(self):
"""Test expr + formatters for good interoperability."""
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=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/attach_resume/TestAttachResume.py (original)
+++ lldb/trunk/test/functionalities/attach_resume/TestAttachResume.py Tue Mar 31 12:44:37 2015
@@ -22,7 +22,7 @@ class AttachResumeTestCase(TestBase):
self.buildDwarf()
self.process_attach_continue_interrupt_detach()
- @expectedFailureLinux('llvm.org/pr19478')
+ @expectedFailureLinux('llvm.org/pr19478') # intermittent ~2/14 runs
@skipIfRemote
def process_attach_continue_interrupt_detach(self):
"""Test attach/continue/interrupt/detach"""
Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py Tue Mar 31 12:44:37 2015
@@ -20,10 +20,6 @@ class DataFormatterSynthValueTestCase(Te
self.data_formatter_commands()
@skipIfFreeBSD # llvm.org/pr20545 bogus output confuses buildbot parser
- @expectedFailureLinux # non-core functionality, need to reenable and fix
- # later (DES 2014.11.07). Most likely failing because
- # of mis-match is version of libstdc++ supported by
- # the data-formatters.
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Test using Python synthetic children provider to provide a value."""
Modified: lldb/trunk/test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py Tue Mar 31 12:44:37 2015
@@ -21,7 +21,6 @@ class Radar9974002DataFormatterTestCase(
self.data_formatter_commands()
@dwarf_test
- @expectedFailureLinux("llvm.org/pr20232")
def test_with_dwarf_and_run_command(self):
"""Test data formatter commands."""
self.buildDwarf()
Modified: lldb/trunk/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py (original)
+++ lldb/trunk/test/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py Tue Mar 31 12:44:37 2015
@@ -21,7 +21,7 @@ class DynamicValueChildCountTestCase(Tes
self.buildDsym(dictionary=self.getBuildFlags())
self.do_get_dynamic_vals()
- @expectedFailureLinux # FIXME: This needs to be root-caused. It looks like the DWARF info is anticipating the derived class assignment.
+ @expectedFailureLinux("llvm.org/pr23039")
@expectedFailureFreeBSD("llvm.org/pr19311") # continue at a breakpoint does not work
@python_api_test
@dwarf_test
Modified: lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py (original)
+++ lldb/trunk/test/functionalities/expr-doesnt-deadlock/TestExprDoesntBlock.py Tue Mar 31 12:44:37 2015
@@ -24,7 +24,6 @@ class ExprDoesntDeadlockTestCase(TestBas
@dwarf_test
@expectedFailureFreeBSD('llvm.org/pr17946')
- @expectedFailureLinux('llvm.org/pr15258') # disabled due to assertion failure in ProcessMonitor::GetCrashReasonForSIGSEGV:
def test_with_dwarf_and_run_command(self):
"""Test that expr will time out and allow other threads to run if it blocks."""
self.buildDwarf()
Modified: lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py (original)
+++ lldb/trunk/test/functionalities/inferior-assert/TestInferiorAssert.py Tue Mar 31 12:44:37 2015
@@ -38,7 +38,6 @@ class AssertingInferiorTestCase(TestBase
@expectedFailurei386("llvm.org/pr17384: lldb needs to be aware of linux-vdso.so to unwind stacks properly")
@expectedFailureFreeBSD('llvm.org/pr18533 - PC in __assert frame is outside of function')
- @expectedFailureLinux("PC in __GI___assert_fail frame is just after the function (this is a no-return so there is no epilogue afterwards)")
@expectedFailureWindows("llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows")
def test_inferior_asserting_disassemble(self):
"""Test that lldb reliably disassembles frames after asserting (command)."""
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=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py (original)
+++ lldb/trunk/test/functionalities/inferior-crashing/TestInferiorCrashing.py Tue Mar 31 12:44:37 2015
@@ -66,7 +66,6 @@ class CrashingInferiorTestCase(TestBase)
self.inferior_crashing_step_after_break()
@skipIfFreeBSD # llvm.org/pr16684
- @expectedFailureLinux # due to llvm.org/pr15988 -- step over misbehaves after crash
def test_inferior_crashing_step_after_break_dwarf(self):
"""Test that lldb functions correctly after stepping through a crash."""
self.buildDwarf()
@@ -79,7 +78,6 @@ class CrashingInferiorTestCase(TestBase)
self.inferior_crashing_expr_step_expr()
@expectedFailureFreeBSD('llvm.org/pr15989') # Couldn't allocate space for the stack frame
- @expectedFailureLinux # due to llvm.org/pr15989 -- expression fails after crash and step
def test_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/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py (original)
+++ lldb/trunk/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py Tue Mar 31 12:44:37 2015
@@ -21,8 +21,7 @@ class WatchpointForMultipleThreadsTestCa
self.setTearDownCleanup(dictionary=self.d)
self.hello_multiple_threads()
- @skipIfGcc # causes intermittent gcc debian buildbot failures, skip until we can investigate
- @expectedFailureLinux("llvm.org/pr20233") # note due to a @skipIfGcc above, this is going to check failure on Linux if using non-GCC (most likely clang)
+ @expectedFailureGcc("llvm.org/pr20233")
@dwarf_test
def test_watchpoint_multiple_threads_with_dwarf(self):
"""Test that lldb watchpoint works for multiple threads."""
Modified: lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py (original)
+++ lldb/trunk/test/lang/cpp/class_types/TestClassTypes.py Tue Mar 31 12:44:37 2015
@@ -10,7 +10,6 @@ import lldbutil
class ClassTypesTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
- failing_compilers = ['clang', 'gcc']
@skipUnlessDarwin
@dsym_test
@@ -74,7 +73,6 @@ class ClassTypesTestCase(TestBase):
# test/class_types test failures: runCmd: expr this->m_c_int
@dwarf_test
@expectedFailureFreeBSD('llvm.org/pr14540')
- @expectedFailureLinux('llvm.org/pr14540', failing_compilers)
@expectedFailureDarwin(16362674)
def test_with_dwarf_and_constructor_name (self):
"""Test 'frame variable this' and 'expr this' when stopped inside a constructor."""
Modified: lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py (original)
+++ lldb/trunk/test/lang/cpp/dynamic-value/TestDynamicValue.py Tue Mar 31 12:44:37 2015
@@ -21,7 +21,6 @@ class DynamicValueTestCase(TestBase):
self.do_get_dynamic_vals()
@expectedFailureFreeBSD # FIXME: This needs to be root-caused.
- @expectedFailureLinux # FIXME: This needs to be root-caused. It looks like the DWARF info is anticipating the derived class assignment.
@python_api_test
@dwarf_test
def test_get_dynamic_vals_with_dwarf(self):
Modified: lldb/trunk/test/python_api/thread/TestThreadAPI.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/thread/TestThreadAPI.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/python_api/thread/TestThreadAPI.py (original)
+++ lldb/trunk/test/python_api/thread/TestThreadAPI.py Tue Mar 31 12:44:37 2015
@@ -75,7 +75,7 @@ class ThreadAPITestCase(TestBase):
self.step_out_of_malloc_into_function_b(self.exe_name)
@expectedFailureFreeBSD # llvm.org/pr20476
- @expectedFailureLinux # llvm.org/pr14416
+ @expectedFailureLinux # need to 'thread step-out' twice to get out of malloc
@python_api_test
@dwarf_test
def test_step_out_of_malloc_into_function_b_with_dwarf(self):
Modified: lldb/trunk/test/python_api/value_var_update/TestValueVarUpdate.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/value_var_update/TestValueVarUpdate.py?rev=233716&r1=233715&r2=233716&view=diff
==============================================================================
--- lldb/trunk/test/python_api/value_var_update/TestValueVarUpdate.py (original)
+++ lldb/trunk/test/python_api/value_var_update/TestValueVarUpdate.py Tue Mar 31 12:44:37 2015
@@ -19,7 +19,6 @@ class HelloWorldTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.do_test()
- @expectedFailureLinux # non-core functionality, need to reenable and fix later (DES 2014.11.07)
@expectedFailureFreeBSD("llvm.org/pr21620 GetValueDidChange() wrong")
@python_api_test
@dwarf_test
More information about the lldb-commits
mailing list