Commit fc9c12ed authored by Simon McVittie's avatar Simon McVittie

tests: Work around a binutils behaviour change

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964457Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
parent 73821d7a
Pipeline #11800 passed with stage
in 10 minutes and 46 seconds
......@@ -319,6 +319,11 @@ sub get_symbols_with_nm {
if ($line =~ m/^[[:xdigit:]]+\s+[ABCDGIRSTW]+\s+([^@]+)(\@\@?.*)?/) {
my $symbol = $1;
my $version = $2;
if ($version =~ m/^(\@\@?[^@]+)\1$/) {
# Ignore doubled symbol-version suffix.
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964457
$version = $1;
}
require CapsuleTestDpkg;
next if CapsuleTestDpkg::symbol_is_blacklisted($symbol);
next if "\@\@$symbol" eq $version;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment