[Lldb-commits] [lldb] r236403 - un-skipped a bunch of tests on Linux
Vince Harron
vince at nethacker.com
Sun May 3 20:06:05 PDT 2015
Author: vharron
Date: Sun May 3 22:06:04 2015
New Revision: 236403
URL: http://llvm.org/viewvc/llvm-project?rev=236403&view=rev
Log:
un-skipped a bunch of tests on Linux
Some have been marked as skipIfLinux for years.
The seem to be passing so I've enabled them.
Differential Revision: http://reviews.llvm.org/D9428
Modified:
lldb/trunk/test/benchmarks/continue/TestBenchmarkContinue.py
lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py
lldb/trunk/test/functionalities/dead-strip/Makefile
lldb/trunk/test/functionalities/dead-strip/TestDeadStrip.py
lldb/trunk/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
lldb/trunk/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
lldb/trunk/test/lang/c/modules/TestCModules.py
lldb/trunk/test/python_api/event/TestEvents.py
Modified: lldb/trunk/test/benchmarks/continue/TestBenchmarkContinue.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/benchmarks/continue/TestBenchmarkContinue.py?rev=236403&r1=236402&r2=236403&view=diff
==============================================================================
--- lldb/trunk/test/benchmarks/continue/TestBenchmarkContinue.py (original)
+++ lldb/trunk/test/benchmarks/continue/TestBenchmarkContinue.py Sun May 3 22:06:04 2015
@@ -21,7 +21,6 @@ class TestBenchmarkContinue(BenchBase):
self.data_formatter_commands()
@benchmarks_test
- @skipIfLinux # No standard locations for libc++ on Linux, so skip for now
@dwarf_test
def test_with_dwarf_and_run_command(self):
"""Benchmark different ways to continue a process"""
Modified: lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py?rev=236403&r1=236402&r2=236403&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py (original)
+++ lldb/trunk/test/expression_command/call-restarts/TestCallThatRestarts.py Sun May 3 22:06:04 2015
@@ -29,7 +29,7 @@ class ExprCommandThatRestartsTestCase(Te
@dwarf_test
@skipIfFreeBSD # llvm.org/pr19246: intermittent failure
- @skipIfLinux # llvm.org/pr19246: intermittent failure
+ @expectedFailureLinux("llvm.org/pr19246") # intermittent failure
@skipIfDarwin # llvm.org/pr19246: intermittent failure
@skipIfWindows # Test relies on signals, unsupported on Windows
def test_with_dwarf(self):
Modified: lldb/trunk/test/functionalities/dead-strip/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/dead-strip/Makefile?rev=236403&r1=236402&r2=236403&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/dead-strip/Makefile (original)
+++ lldb/trunk/test/functionalities/dead-strip/Makefile Sun May 3 22:06:04 2015
@@ -1,7 +1,14 @@
LEVEL = ../../make
C_SOURCES := main.c
-LDFLAGS = $(CFLAGS) -Xlinker -dead_strip
+
+ifeq "$(OS)" "Darwin"
+ LDFLAGS = $(CFLAGS) -Xlinker -dead_strip
+else
+ CFLAGS += -fdata-sections -ffunction-sections
+ LDFLAGS = $(CFLAGS) -Wl,--gc-sections
+endif
+
MAKE_DSYM := NO
include $(LEVEL)/Makefile.rules
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=236403&r1=236402&r2=236403&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/dead-strip/TestDeadStrip.py (original)
+++ lldb/trunk/test/functionalities/dead-strip/TestDeadStrip.py Sun May 3 22:06:04 2015
@@ -20,7 +20,6 @@ class DeadStripTestCase(TestBase):
self.dead_strip()
@skipIfFreeBSD # The -dead_strip linker option isn't supported on FreeBSD versions of ld.
- @skipIfLinux # The -dead_strip linker option isn't supported on Linux versions of ld.
@dwarf_test
def test_with_dwarf(self):
"""Test breakpoint works correctly with dead-code stripping."""
Modified: lldb/trunk/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py?rev=236403&r1=236402&r2=236403&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py (original)
+++ lldb/trunk/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py Sun May 3 22:06:04 2015
@@ -41,7 +41,7 @@ class ReturnValueTestCase(TestBase):
@python_api_test
@dwarf_test
- @skipIfLinux # intermittent failure - llvm.org/pr19247
+ @expectedFailureGcc("llvm.org/pr19247")
def test_step_over_with_dwarf_python(self):
"""Test stepping over using avoid-no-debug with dwarf."""
self.buildDwarf()
@@ -59,7 +59,7 @@ class ReturnValueTestCase(TestBase):
@python_api_test
@dwarf_test
- @skipIfLinux # intermittent failure - llvm.org/pr19247
+ @expectedFailureGcc("llvm.org/pr19247")
def test_step_in_with_dwarf_python(self):
"""Test stepping in using avoid-no-debug with dwarf."""
self.buildDwarf()
Modified: lldb/trunk/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py?rev=236403&r1=236402&r2=236403&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py (original)
+++ lldb/trunk/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py Sun May 3 22:06:04 2015
@@ -22,7 +22,6 @@ class CreateAfterAttachTestCase(TestBase
@skipIfFreeBSD # Hangs. May be the same as Linux issue llvm.org/pr16229 but
# not yet investigated. Revisit once required functionality
# is implemented for FreeBSD.
- @skipIfLinux # Hangs, see llvm.org/pr16229
@dwarf_test
def test_create_after_attach_with_dwarf_and_popen(self):
"""Test thread creation after process attach."""
Modified: lldb/trunk/test/lang/c/modules/TestCModules.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/modules/TestCModules.py?rev=236403&r1=236402&r2=236403&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/modules/TestCModules.py (original)
+++ lldb/trunk/test/lang/c/modules/TestCModules.py Sun May 3 22:06:04 2015
@@ -22,7 +22,6 @@ class CModulesTestCase(TestBase):
@dwarf_test
@skipIfFreeBSD
- @skipIfLinux
def test_expr_with_dwarf(self):
self.buildDwarf()
self.expr()
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=236403&r1=236402&r2=236403&view=diff
==============================================================================
--- lldb/trunk/test/python_api/event/TestEvents.py (original)
+++ lldb/trunk/test/python_api/event/TestEvents.py Sun May 3 22:06:04 2015
@@ -36,7 +36,6 @@ class EventAPITestCase(TestBase):
self.buildDsym()
self.do_wait_for_event()
- @skipIfLinux # non-core functionality, need to reenable and fix later (DES 2014.11.07)
@python_api_test
@dwarf_test
def test_wait_for_event_with_dwarf(self):
@@ -53,7 +52,6 @@ class EventAPITestCase(TestBase):
self.do_add_listener_to_broadcaster()
@skipIfFreeBSD # llvm.org/pr21325
- @skipIfLinux # non-core functionality, need to reenable and fix later (DES 2014.11.07)
@python_api_test
@dwarf_test
def test_add_listener_to_broadcaster_with_dwarf(self):
More information about the lldb-commits
mailing list