[Lldb-commits] [lldb] r201708 - Treat 'amd64' as 'x86_64' as done for other tests

Ed Maste emaste at freebsd.org
Wed Feb 19 10:55:39 PST 2014


Author: emaste
Date: Wed Feb 19 12:55:39 2014
New Revision: 201708

URL: http://llvm.org/viewvc/llvm-project?rev=201708&view=rev
Log:
Treat 'amd64' as 'x86_64' as done for other tests

And add a decorator for llvm.org/pr18200

Patch by John Wolfe.

Modified:
    lldb/trunk/test/functionalities/register/TestRegisters.py

Modified: lldb/trunk/test/functionalities/register/TestRegisters.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/register/TestRegisters.py?rev=201708&r1=201707&r2=201708&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/register/TestRegisters.py (original)
+++ lldb/trunk/test/functionalities/register/TestRegisters.py Wed Feb 19 12:55:39 2014
@@ -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'])
 





More information about the lldb-commits mailing list