summaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2010-09-21 23:07:34 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2010-09-21 23:07:34 -0700
commitdb2f22683454d5d2ad3410edce15ae1bf94fa685 (patch)
treed04fa5de7f35131ad231ce502a909cf8685b1a3e /tests/SConscript
parentab8d7eee76e9d439070fe116fb23e0afe7aa74c3 (diff)
downloadgem5-db2f22683454d5d2ad3410edce15ae1bf94fa685.tar.xz
tests: print if output files match
Add '-s' flag to diff command generating outdiff file so we have positive confirmation when outputs match.
Diffstat (limited to 'tests/SConscript')
-rw-r--r--tests/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SConscript b/tests/SConscript
index 5d7348917..54e911624 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -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 ====="