diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-04 22:01:42 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-04 22:01:42 -0700 |
commit | 9c209cc2568f23be5373bd46bf459f9bd9328ee1 (patch) | |
tree | d64f2f6d0c2ce56c8b64af637c45fd463bf1aa87 /test | |
parent | 13d9d869a53cffac4eac515b7bfd9b4ee4884adf (diff) | |
download | nasm-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>
Diffstat (limited to 'test')
-rwxr-xr-x | test/performtest.pl | 2 |
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"; } } |