diff options
8 files changed, 11 insertions, 10 deletions
diff --git a/lldb/test/benchmarks/continue/TestBenchmarkContinue.py b/lldb/test/benchmarks/continue/TestBenchmarkContinue.py index 4f0af9aed52..fa18afb87c6 100644 --- a/lldb/test/benchmarks/continue/TestBenchmarkContinue.py +++ b/lldb/test/benchmarks/continue/TestBenchmarkContinue.py @@ -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""" diff --git a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py index 85919a86b53..f6f24c15430 100644 --- a/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py +++ b/lldb/test/expression_command/call-restarts/TestCallThatRestarts.py @@ -29,7 +29,7 @@ class ExprCommandThatRestartsTestCase(TestBase): @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): diff --git a/lldb/test/functionalities/dead-strip/Makefile b/lldb/test/functionalities/dead-strip/Makefile index 53923d8c546..3a09ece236e 100644 --- a/lldb/test/functionalities/dead-strip/Makefile +++ b/lldb/test/functionalities/dead-strip/Makefile @@ -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 diff --git a/lldb/test/functionalities/dead-strip/TestDeadStrip.py b/lldb/test/functionalities/dead-strip/TestDeadStrip.py index 1f163e9a80c..d9f92b3158f 100644 --- a/lldb/test/functionalities/dead-strip/TestDeadStrip.py +++ b/lldb/test/functionalities/dead-strip/TestDeadStrip.py @@ -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.""" diff --git a/lldb/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py b/lldb/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py index 3b86f3b55c5..7f6601b11e6 100644 --- a/lldb/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py +++ b/lldb/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py @@ -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() diff --git a/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py b/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py index 43889aee58a..26cbf9e91e7 100644 --- a/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py +++ b/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py @@ -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.""" diff --git a/lldb/test/lang/c/modules/TestCModules.py b/lldb/test/lang/c/modules/TestCModules.py index 60e1bc02be7..bd4127710ae 100644 --- a/lldb/test/lang/c/modules/TestCModules.py +++ b/lldb/test/lang/c/modules/TestCModules.py @@ -22,7 +22,6 @@ class CModulesTestCase(TestBase): @dwarf_test @skipIfFreeBSD - @skipIfLinux def test_expr_with_dwarf(self): self.buildDwarf() self.expr() diff --git a/lldb/test/python_api/event/TestEvents.py b/lldb/test/python_api/event/TestEvents.py index e828df37fe6..8a8ed48ef0f 100644 --- a/lldb/test/python_api/event/TestEvents.py +++ b/lldb/test/python_api/event/TestEvents.py @@ -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): |