performtest: use -u with diff

Unified diffs are the only sane option.  When calling diff, pass the
-u option.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin 2008-10-04 22:01:42 -07:00
parent 13d9d869a5
commit 9c209cc256

View File

@ -100,7 +100,7 @@ sub perform {
if($diff) {
for(@failedfiles) {
if($_ eq $stdoutfile or $_ eq $stderrfile) {
system "diff golden/$testname/$subname/$_ $outputdir/$testname/$subname/$_";
system "diff -u golden/$testname/$subname/$_ $outputdir/$testname/$subname/$_";
print "\n";
}
}