Remove a test that depends on knowing all compiler's register allocation schemes.

This test was using a condition that would compare a variable against the register that would hold
it.  It was failing with clang on arm64 because clang put the variable on the stack.

This is not a supportable way to write tests.

llvm-svn: 279345
This commit is contained in:
Jim Ingham 2016-08-19 22:58:26 +00:00
parent d95d100c28
commit 27f4a94e0a
1 changed files with 0 additions and 23 deletions

View File

@ -108,29 +108,6 @@ class BreakpointConditionsTestCase(TestBase):
startstr = '(int) val = 1')
self.runCmd("process kill")
self.runCmd("breakpoint disable")
self.runCmd("breakpoint set -p Loop")
arch = self.getArchitecture()
if arch in ['x86_64', 'i386']:
self.runCmd("breakpoint modify -c ($eax&&i)")
elif arch in ['aarch64']:
self.runCmd("breakpoint modify -c ($x0&&i)")
elif arch in ['arm']:
self.runCmd("breakpoint modify -c ($r0&&i)")
elif re.match("mips",arch):
self.runCmd("breakpoint modify -c ($r2&&i)")
elif arch in ['s390x']:
self.runCmd("breakpoint modify -c ($r2&&i)")
self.runCmd("run")
self.expect("process status", PROCESS_STOPPED,
patterns = ['Process .* stopped'])
self.runCmd("continue")
self.expect("process status", PROCESS_EXITED,
patterns = ['Process .* exited'])
def breakpoint_conditions_python(self):
"""Use Python APIs to set breakpoint conditions."""