Development: Mips64 stack-core test

Add a test for Mips64 stack-core.

Bug: 21555893
Change-Id: I2d6feba9bde3977cabc5e771bf14c55de1fbff53
This commit is contained in:
Andreas Gampe
2015-06-01 15:43:52 -07:00
parent 7d4a83600f
commit 820ca728db
2 changed files with 30 additions and 0 deletions

View File

@@ -273,6 +273,9 @@ class RegisterPatternTests(unittest.TestCase):
def test_mips_registers(self):
self.assert_register_matches("mips", example_crashes.mips, '\\b(zr|a0|t0|t4|s0|s4|t8|gp|hi)\\b')
def test_mips64_registers(self):
self.assert_register_matches("mips64", example_crashes.mips64, '\\b(zr|a0|a4|t0|s0|s4|t8|gp|hi)\\b')
def test_x86_registers(self):
self.assert_register_matches("x86", example_crashes.x86, '\\b(eax|esi|xcs|eip)\\b')