diff comparetests.py @ 217:acd29e2664c6

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.
author Mike Pavone <pavone@retrodev.com>
date Sat, 20 Apr 2013 00:29:14 -0700
parents 9126c33cc33c
children cb72780e17b1
line wrap: on
line diff
--- a/comparetests.py	Fri Apr 19 21:36:54 2013 -0700
+++ b/comparetests.py	Sat Apr 20 00:29:14 2013 -0700
@@ -5,10 +5,10 @@
 
 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