Commit 8fe660e3 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 68f68b32
Pipeline #11798 passed with stage
in 7 minutes and 35 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