aboutsummaryrefslogtreecommitdiff
path: root/abi-compliance-checker.pl
diff options
context:
space:
mode:
authorAndrey Ponomarenko <andrewponomarenko@yandex.ru>2016-06-21 19:17:17 +0300
committerAndrey Ponomarenko <andrewponomarenko@yandex.ru>2016-06-21 19:17:17 +0300
commitce36037cd5eadbc0cee77abd9215a89d4257e4e4 (patch)
treec3963bbea7e72ad9fcb4a4ac25f455fa02cb338c /abi-compliance-checker.pl
parentd24a33767037d9660c77f49955c6b78eb43e910b (diff)
downloadabi-compliance-checker-ce36037cd5eadbc0cee77abd9215a89d4257e4e4.tar.gz
Improved style of the report. Fixed handling of patterns in -skip-* options. Fixed rounding of the BC rate in the report.
Diffstat (limited to 'abi-compliance-checker.pl')
-rw-r--r--abi-compliance-checker.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/abi-compliance-checker.pl b/abi-compliance-checker.pl
index c21c959..4cffd9d 100644
--- a/abi-compliance-checker.pl
+++ b/abi-compliance-checker.pl
@@ -1771,7 +1771,6 @@ sub classifyPath($)
my $Path = $_[0];
if($Path=~/[\*\+\(\[\|]/)
{ # pattern
- $Path=~s/\\/\\\\/g;
return ($Path, "Pattern");
}
elsif($Path=~/[\/\\]/)
@@ -11383,7 +11382,7 @@ sub isLastElem($$)
{
my ($Pos, $TypeRef) = @_;
my $Name = $TypeRef->{"Memb"}{$Pos}{"name"};
- if($Name=~/last|count|max|total/i)
+ if($Name=~/last|count|max|total|num/i)
{ # GST_LEVEL_COUNT, GST_RTSP_ELAST
return 1;
}
@@ -16091,7 +16090,7 @@ sub get_Summary($)
$META_DATA = "kind:".lc($Level).";".$META_DATA;
}
- my $BC_Rate = 100 - $RESULT{$Level}{"Affected"};
+ my $BC_Rate = show_number(100 - $RESULT{$Level}{"Affected"});
$TestResults .= "<tr><th>Compatibility</th>\n";
if($RESULT{$Level}{"Verdict"} eq "incompatible")