summaryrefslogtreecommitdiff
path: root/comparetests.py
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2013-04-20 00:29:14 -0700
committerMike Pavone <pavone@retrodev.com>2013-04-20 00:29:14 -0700
commitde47bcbe905a80cf433076bc1dc7e3512cbe838b (patch)
tree994c13378d35f412938864c851f80c4315363a45 /comparetests.py
parent5f490fcf6eeb7e28d6d34e14a4f2382b4a422a3d (diff)
Added testcases file. Some fixes to test generator for dealing with indexed mode with base and index reg the same. Added support for blastem headless mode in test runner.
Diffstat (limited to 'comparetests.py')
-rwxr-xr-xcomparetests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/comparetests.py b/comparetests.py
index 40647c5..a8b7490 100755
--- a/comparetests.py
+++ b/comparetests.py
@@ -5,10 +5,10 @@ from sys import exit
for path in glob('generated_tests/*.bin'):
try:
- b = subprocess.check_output(['./blastem', path])
+ b = subprocess.check_output(['./blastem', path, '-v'])
try:
m = subprocess.check_output(['musashi/mustrans', path])
- _,_,b = b.partition('\n')
+ #_,_,b = b.partition('\n')
if b != m:
print '-----------------------------'
print 'Mismatch in ' + path