diff options
Diffstat (limited to 'contrib/cov-diff')
-rwxr-xr-x | contrib/cov-diff | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/cov-diff b/contrib/cov-diff deleted file mode 100755 index 33a54802b6..0000000000 --- a/contrib/cov-diff +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# Copyright 2013 The Tor Project, Inc. -# See LICENSE for licensing information. - -# cov-diff -- compare two directories full of gcov files. - -DIRA="$1" -DIRB="$2" - -for A in $DIRA/*; do - B=$DIRB/`basename $A` - perl -pe 's/^\s*\d+:/ 1:/; s/^([^:]+:)[\d\s]+:/$1/;' "$A" > "$A.tmp" - perl -pe 's/^\s*\d+:/ 1:/; s/^([^:]+:)[\d\s]+:/$1/;' "$B" > "$B.tmp" - diff -u "$A.tmp" "$B.tmp" - rm "$A.tmp" "$B.tmp" -done - |