mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-12-15 09:28:30 +00:00
python: fix bugs in test.py & test_lite.py
This commit is contained in:
parent
79b6cc7727
commit
27a35fe1a7
@ -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:"),
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user