tests: print if output files match

Add '-s' flag to diff command generating outdiff
file so we have positive confirmation when
outputs match.
This commit is contained in:
Steve Reinhardt 2010-09-21 23:07:34 -07:00
parent ab8d7eee76
commit db2f226834

View file

@ -108,7 +108,7 @@ def run_test(target, source, env):
# Run diff on output & ref directories to find differences.
# Exclude the stats file since we will use diff-out on that.
outdiff = os.path.join(tgt_dir, 'outdiff')
diffcmd = 'diff -ubr %s ${SOURCES[2].dir} %s > %s' \
diffcmd = 'diff -ubrs %s ${SOURCES[2].dir} %s > %s' \
% (output_ignore_args, tgt_dir, outdiff)
env.Execute(env.subst(diffcmd, target=target, source=source))
print "===== Output differences ====="