Mercurial > repos > blastem
comparison maketests.py @ 224:f7ff02eeec2f
Added testcases for move and roxl/roxr. Made some small improvements to test tools.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 21 Apr 2013 11:40:18 -0700 |
parents | 9126c33cc33c |
children | ab577e2ed66a |
comparison
equal
deleted
inserted
replaced
223:17534fb7c4f5 | 224:f7ff02eeec2f |
---|---|
2 from glob import glob | 2 from glob import glob |
3 import subprocess | 3 import subprocess |
4 from sys import exit | 4 from sys import exit |
5 | 5 |
6 sources = set() | 6 sources = set() |
7 for path in glob('generated_tests/*.s68'): | 7 for path in glob('generated_tests/*/*.s68'): |
8 sources.add(path) | 8 sources.add(path) |
9 | 9 |
10 bins = set() | 10 bins = set() |
11 for path in glob('generated_tests/*.bin'): | 11 for path in glob('generated_tests/*/*.bin'): |
12 bins.add(path) | 12 bins.add(path) |
13 | 13 |
14 for path in sources: | 14 for path in sources: |
15 binpath = path.replace('.s68', '.bin') | 15 binpath = path.replace('.s68', '.bin') |
16 if not binpath in bins: | 16 if not binpath in bins: |