summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/api/multithreaded/TestMultithreaded.py4
-rw-r--r--lldb/test/functionalities/asan/TestAsan.py2
-rw-r--r--lldb/test/functionalities/attach_resume/TestAttachResume.py2
-rw-r--r--lldb/test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py2
-rw-r--r--lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp3
-rw-r--r--lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py2
6 files changed, 15 insertions, 0 deletions
diff --git a/lldb/test/api/multithreaded/TestMultithreaded.py b/lldb/test/api/multithreaded/TestMultithreaded.py
index 9af46174c6c..2ba90f4e267 100644
--- a/lldb/test/api/multithreaded/TestMultithreaded.py
+++ b/lldb/test/api/multithreaded/TestMultithreaded.py
@@ -20,6 +20,7 @@ class SBBreakpointCallbackCase(TestBase):
@unittest2.expectedFailure # llvm.org/pr16000: SBBreakpoint.SetCallback() does nothing
@skipIfi386
+ @skipIfRemote
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
def test_breakpoint_callback(self):
"""Test the that SBBreakpoint callback is invoked when a breakpoint is hit. """
@@ -27,6 +28,7 @@ class SBBreakpointCallbackCase(TestBase):
'test_breakpoint_callback')
@skipIfi386
+ @skipIfRemote
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
def test_sb_api_listener_event_description(self):
""" Test the description of an SBListener breakpoint event is valid."""
@@ -35,6 +37,7 @@ class SBBreakpointCallbackCase(TestBase):
pass
@skipIfi386
+ @skipIfRemote
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
def test_sb_api_listener_event_process_state(self):
""" Test that a registered SBListener receives events when a process
@@ -46,6 +49,7 @@ class SBBreakpointCallbackCase(TestBase):
@skipIfi386
+ @skipIfRemote
@skipIfLinuxClang # buildbot clang version unable to use libstdc++ with c++11
def test_sb_api_listener_resume(self):
""" Test that a process can be resumed from a non-main thread. """
diff --git a/lldb/test/functionalities/asan/TestAsan.py b/lldb/test/functionalities/asan/TestAsan.py
index a687e268752..a13d302c385 100644
--- a/lldb/test/functionalities/asan/TestAsan.py
+++ b/lldb/test/functionalities/asan/TestAsan.py
@@ -17,12 +17,14 @@ class AsanTestCase(TestBase):
# self.useBuiltClang() to use clang from the llvm-build directory instead
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @skipIfRemote
@dsym_test
def test_with_dsym (self):
compiler = self.findBuiltClang ()
self.buildDsym (None, compiler)
self.asan_tests ()
+ @skipIfRemote
@dwarf_test
def test_with_dwarf (self):
compiler = self.findBuiltClang ()
diff --git a/lldb/test/functionalities/attach_resume/TestAttachResume.py b/lldb/test/functionalities/attach_resume/TestAttachResume.py
index a34f8e06030..2cdfba1a8b4 100644
--- a/lldb/test/functionalities/attach_resume/TestAttachResume.py
+++ b/lldb/test/functionalities/attach_resume/TestAttachResume.py
@@ -15,6 +15,7 @@ class AttachResumeTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureFreeBSD('llvm.org/pr19310')
+ @skipIfRemote
@dwarf_test
def test_attach_continue_interrupt_detach(self):
"""Test attach/continue/interrupt/detach"""
@@ -22,6 +23,7 @@ class AttachResumeTestCase(TestBase):
self.process_attach_continue_interrupt_detach()
@expectedFailureLinux('llvm.org/pr19478')
+ @skipIfRemote
def process_attach_continue_interrupt_detach(self):
"""Test attach/continue/interrupt/detach"""
diff --git a/lldb/test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py b/lldb/test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py
index cb463c94f5e..9ec5cb50530 100644
--- a/lldb/test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py
+++ b/lldb/test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py
@@ -75,6 +75,7 @@ class Radar10449092DataFormatterTestCase(TestBase):
self.runCmd("type summary add -s \"${var.first%X} and ${var.second%X}\" foo")
self.runCmd("next")
+ self.runCmd("next")
self.expect('frame variable mine',
substrs = ['(foo) mine = 0xAABBCCDD and 0x1122BB44'])
@@ -82,6 +83,7 @@ class Radar10449092DataFormatterTestCase(TestBase):
self.expect('frame variable mine',
substrs = ['(foo) mine = 0xaabbccdd and 0x1122BB44'])
self.runCmd("next")
+ self.runCmd("next")
self.runCmd("type summary add -s \"${var.first%x} and ${var.second%x}\" foo")
self.expect('frame variable mine',
substrs = ['(foo) mine = 0xaabbccdd and 0xff00ff00'])
diff --git a/lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp b/lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp
index 97804202639..5ee113c17b2 100644
--- a/lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp
+++ b/lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp
@@ -18,8 +18,11 @@ struct foo
int main ()
{
struct foo mine = {0x001122AA, 0x1122BB44};
+ printf("main.first = 0x%8.8x, main.second = 0x%8.8x\n", mine.first, mine.second);
mine.first = 0xAABBCCDD; // Set break point at this line.
+ printf("main.first = 0x%8.8x, main.second = 0x%8.8x\n", mine.first, mine.second);
mine.second = 0xFF00FF00;
+ printf("main.first = 0x%8.8x, main.second = 0x%8.8x\n", mine.first, mine.second);
return 0;
}
diff --git a/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py b/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
index 2637a9bceb4..7a0a733b7a1 100644
--- a/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
+++ b/lldb/test/functionalities/embedded_interpreter/TestConvenienceVariables.py
@@ -11,6 +11,7 @@ class ConvenienceVariablesCase(TestBase):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
@dsym_test
+ @skipIfRemote
def test_with_dsym_and_run_command(self):
"""Test convenience variables lldb.debugger, lldb.target, lldb.process, lldb.thread, and lldb.frame."""
self.buildDsym()
@@ -18,6 +19,7 @@ class ConvenienceVariablesCase(TestBase):
@dwarf_test
@skipIfFreeBSD # llvm.org/pr17228
+ @skipIfRemote
@expectedFailureLinux("llvm.org/pr20276") # intermittent failure on Linux
def test_with_dwarf_and_run_commands(self):
"""Test convenience variables lldb.debugger, lldb.target, lldb.process, lldb.thread, and lldb.frame."""
OpenPOWER on IntegriCloud