python: fix bugs in test.py & test_lite.py

This commit is contained in:
Nguyen Anh Quynh 2014-02-25 17:07:25 +08:00
parent 79b6cc7727
commit 27a35fe1a7
2 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ def to_hex(s):
### Test cs_disasm_quick()
def test_cs_disasm_quick():
for (arch, mode, code, comment) in all_tests:
for (arch, mode, code, comment, syntax) in all_tests:
print('*' * 40)
print("Platform: %s" %comment)
print("Disasm:"),

View File

@ -40,7 +40,7 @@ def to_hex(s):
### Test cs_disasm_quick()
def test_cs_disasm_quick():
for (arch, mode, code, comment) in all_tests:
for (arch, mode, code, comment, syntax) in all_tests:
print('*' * 40)
print("Platform: %s" %comment)
print("Disasm:"),
@ -73,6 +73,6 @@ def test_class():
print("ERROR: %s" %e)
test_cs_disasm_quick()
#test_cs_disasm_quick()
#print "*" * 40
#test_class()
test_class()