projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13d9d86
)
performtest: use -u with diff
author
H. Peter Anvin
<hpa@zytor.com>
Sun, 5 Oct 2008 05:01:42 +0000
(22:01 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Sun, 5 Oct 2008 05:01:42 +0000
(22:01 -0700)
Unified diffs are the only sane option. When calling diff, pass the
-u option.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
test/performtest.pl
patch
|
blob
|
history
diff --git
a/test/performtest.pl
b/test/performtest.pl
index 5574fc6c940e1bb2e0db0e41e7f113b399f31b26..78e22f6e3dbe8f152ccb15eb1f5cd73aac3ce3cb 100755
(executable)
--- 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";
}
}