61c61
< # Exclude m5stats.txt since we will use diff-out on that.
---
> # Exclude the stats file since we will use diff-out on that.
70c70
< '--exclude=m5stats.txt --exclude=SCCS ' +
---
> '--exclude=stats.txt --exclude=SCCS ' +
75c75
< # Run diff-out on m5stats.txt file
---
> # Run diff-out on stats.txt file
114c114
< needed_files = set(['stdout', 'stderr', 'm5stats.txt', 'config.ini'])
---
> needed_files = set(['simout', 'simerr', 'stats.txt', 'config.ini'])
121c121
< Target is phony. First two sources are the ref & new m5stats.txt
---
> Target is phony. First two sources are the ref & new stats.txt file
173,174c173,174
< ref_stats = os.path.join(ref_dir, 'm5stats.txt')
< new_stats = tgt('m5stats.txt')
---
> ref_stats = os.path.join(ref_dir, 'stats.txt')
> new_stats = tgt('stats.txt')
181,183c181
< cmd = '${SOURCES[0]} -d $TARGET.dir'
< cmd += ' -re --stdout-file stdout --stderr-file stderr'
< cmd += ' ${SOURCES[1]} %s' % tgt_dir
---
> cmd = '${SOURCES[0]} -d $TARGET.dir -re ${SOURCES[1]} %s' % tgt_dir
191c189
< env.Command([tgt('stdout'), tgt('stderr'), new_stats],
---
> env.Command([tgt('simout'), tgt('simerr'), new_stats],