summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-04 22:01:42 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-04 22:01:42 -0700
commit9c209cc2568f23be5373bd46bf459f9bd9328ee1 (patch)
treed64f2f6d0c2ce56c8b64af637c45fd463bf1aa87
parent13d9d869a53cffac4eac515b7bfd9b4ee4884adf (diff)
downloadnasm-9c209cc2568f23be5373bd46bf459f9bd9328ee1.tar.gz
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>
-rwxr-xr-xtest/performtest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performtest.pl b/test/performtest.pl
index 5574fc6c..78e22f6e 100755
--- a/test/performtest.pl
+++ b/test/performtest.pl
@@ -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";
}
}