From: Steve Reinhardt Date: Wed, 22 Sep 2010 06:07:34 +0000 (-0700) Subject: tests: print if output files match X-Git-Tag: stable_2012_02_02~810 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db2f22683454d5d2ad3410edce15ae1bf94fa685;p=gem5.git tests: print if output files match Add '-s' flag to diff command generating outdiff file so we have positive confirmation when outputs match. --- 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 ====="