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:
parent
ab8d7eee76
commit
db2f226834
1 changed files with 1 additions and 1 deletions
|
@ -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 ====="
|
||||
|
|
Loading…
Reference in a new issue