Treat 'amd64' as 'x86_64' as done for other tests

And add a decorator for llvm.org/pr18200

Patch by John Wolfe.

llvm-svn: 201708
This commit is contained in:
Ed Maste 2014-02-19 18:55:39 +00:00
parent a4be2c5dcd
commit c30e764942
1 changed files with 3 additions and 2 deletions

View File

@ -46,6 +46,7 @@ class RegisterCommandsTestCase(TestBase):
self.convenience_registers()
@skipIfFreeBSD # llvm.org/pr16684
@expectedFailureFreeBSD("llvm.org/pr18200")
def test_convenience_registers_with_process_attach(self):
"""Test convenience registers after a 'process attach'."""
if not self.getArchitecture() in ['amd64', 'x86_64']:
@ -215,7 +216,7 @@ class RegisterCommandsTestCase(TestBase):
self.expect("expr/x $eax",
substrs = ['unsigned int', ' = 0x'])
if self.getArchitecture() in ['x86_64']:
if self.getArchitecture() in ['amd64', 'x86_64']:
self.expect("expr -- ($rax & 0xffffffff) == $eax",
substrs = ['true'])
@ -267,7 +268,7 @@ class RegisterCommandsTestCase(TestBase):
# Check that "register read eax" works.
self.runCmd("register read eax")
if self.getArchitecture() in ['x86_64']:
if self.getArchitecture() in ['amd64', 'x86_64']:
self.expect("expr -- ($rax & 0xffffffff) == $eax",
substrs = ['true'])