self.exe_name = 'a%d.out' % self.test_number
self.d = {'CXX_SOURCES': self.source, 'EXE': self.exe_name}
- @expectedFailureAll(
- oslist=["linux"],
- archs=["aarch64"],
- triple=no_match(".*-android"),
- bugnumber="llvm.org/pr27710") # work on android
def test_watchpoint_command(self):
"""Test 'watchpoint command'."""
self.build(dictionary=self.d)
self.expect("frame variable --show-globals cookie",
substrs=['(int32_t)', 'cookie = 777'])
- @expectedFailureAll(
- oslist=["linux"],
- archs=["aarch64"],
- triple=no_match(".*-android"),
- bugnumber="llvm.org/pr27710") # work on android
def test_watchpoint_command_can_disable_a_watchpoint(self):
"""Test that 'watchpoint command' action can disable a watchpoint after it is triggered."""
self.build(dictionary=self.d)
self.d = {'CXX_SOURCES': self.source, 'EXE': self.exe_name}
@skipIfFreeBSD # timing out on buildbot
- @expectedFailureAll(
- oslist=["linux"],
- archs=["aarch64"],
- triple=no_match(".*-android"),
- bugnumber="llvm.org/pr27710") # work on android
def test_watchpoint_command(self):
"""Test 'watchpoint command'."""
self.build(dictionary=self.d)
substrs=['(int32_t)', 'cookie = 777'])
@skipIfFreeBSD # timing out on buildbot
- @expectedFailureAll(
- oslist=["linux"],
- archs=["aarch64"],
- triple=no_match(".*-android"),
- bugnumber="llvm.org/pr27710") # work on android
def test_continue_in_watchpoint_command(self):
"""Test continue in a watchpoint command."""
self.build(dictionary=self.d)
self.exe_name = self.testMethodName
self.d = {'CXX_SOURCES': self.source, 'EXE': self.exe_name}
- @expectedFailureAll(
- oslist=["linux"],
- archs=["aarch64"],
- triple=no_match(".*-android"),
- bugnumber="llvm.org/pr27710")
def test_watchpoint_cond(self):
"""Test watchpoint condition."""
self.build(dictionary=self.d)
self.main_source = "main.c"
@add_test_categories(['pyapi'])
- @expectedFailureAll(
- oslist=["linux"],
- archs=["aarch64"],
- triple=no_match(".*-android"),
- bugnumber="llvm.org/pr27710")
def test_with_python_api(self):
"""Test that adding, deleting and modifying watchpoints sends the appropriate events."""
self.build()
@expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24527. Makefile.rules doesn't know how to build static libs on Windows")
- @expectedFailureAll(
- oslist=["linux"],
- archs=[
- "arm",
- "aarch64"],
- bugnumber="llvm.org/pr27795")
def test(self):
"""Break inside a() and b() defined within libfoo.a."""
self.build()
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows")
@expectedFailureAll(
oslist=["linux"],
- archs=[
- "aarch64",
- "arm"],
+ archs=["arm"],
triple=no_match(".*-android"),
bugnumber="llvm.org/pr25338")
@expectedFailureAll(bugnumber="llvm.org/pr26592", triple='^mips')
bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows")
@expectedFailureAll(
oslist=["linux"],
- archs=[
- "aarch64",
- "arm"],
+ archs=["arm"],
triple=no_match(".*-android"),
bugnumber="llvm.org/pr25338")
@expectedFailureAll(bugnumber="llvm.org/pr26592", triple='^mips')
self.assertFalse(frame2.IsArtificial())
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr26265")
- @expectedFailureAll(archs=["aarch64"], oslist=["linux"],
- bugnumber="llvm.org/pr44160")
def test_return_past_artificial_frame(self):
self.build()
thread = self.prepare_thread()
@skipIfFreeBSD # timing out on buildbot
# Atomic sequences are not supported yet for MIPS in LLDB.
@skipIf(triple='^mips')
- @expectedFailureAll(bugnumber="llvm.org/pr35228", archs=["arm", "aarch64"])
@expectedFailureNetBSD
@add_test_categories(["watchpoint"])
def test(self):
@expectedFailureAll(oslist=["freebsd", "linux"], compiler="icc")
@expectedFailureAll(archs=['mips', 'mipsel', 'mips64', 'mips64el'])
@expectedFailureAll(
- oslist=["linux"],
- archs=[
- 'arm',
- 'aarch64'],
- triple=no_match(".*-android"),
- bugnumber="llvm.org/pr27883")
- @expectedFailureAll(
oslist=["windows"],
bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows")
@expectedFailureNetBSD
self.shlib_names = ["a"]
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24764")
- @expectedFailureAll(oslist=["linux"],
- archs=["aarch64"],
- triple=no_match(".*-android"),
- bugnumber="llvm.org/pr37301")
def test_without_process(self):
"""Test that static initialized variables can be inspected without
process."""
self.exe_name = self.testMethodName
self.d = {'CXX_SOURCES': self.source, 'EXE': self.exe_name}
- @expectedFailureAll(
- oslist=["linux"],
- archs=["aarch64"],
- triple=no_match(".*-android"),
- bugnumber="llvm.org/pr27710")
def test_watchpoint_cond_api(self):
"""Test watchpoint condition API."""
self.build(dictionary=self.d)
"aarch64"])
@expectedFailureAll(
oslist=["linux"],
- archs=[
- "arm",
- "aarch64"],
+ archs=["arm"],
bugnumber="llvm.org/pr24739")
@skipIf(triple='^mips')
def test_single_step_only_steps_one_instruction_with_s_llgs(self):
"aarch64"])
@expectedFailureAll(
oslist=["linux"],
- archs=[
- "arm",
- "aarch64"],
+ archs=["arm"],
bugnumber="llvm.org/pr24739")
@skipIf(triple='^mips')
@expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")
"aarch64"])
@expectedFailureAll(
oslist=["linux"],
- archs=[
- "arm",
- "aarch64"],
+ archs=["arm"],
bugnumber="llvm.org/pr24739")
@skipIf(triple='^mips')
@expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://27005337")