Skip to content
Snippets Groups Projects
Commit fc9c12ed authored by Simon McVittie's avatar Simon McVittie
Browse files

tests: Work around a binutils behaviour change

parent 73821d7a
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
...@@ -319,6 +319,11 @@ sub get_symbols_with_nm { ...@@ -319,6 +319,11 @@ sub get_symbols_with_nm {
if ($line =~ m/^[[:xdigit:]]+\s+[ABCDGIRSTW]+\s+([^@]+)(\@\@?.*)?/) { if ($line =~ m/^[[:xdigit:]]+\s+[ABCDGIRSTW]+\s+([^@]+)(\@\@?.*)?/) {
my $symbol = $1; my $symbol = $1;
my $version = $2; 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; require CapsuleTestDpkg;
next if CapsuleTestDpkg::symbol_is_blacklisted($symbol); next if CapsuleTestDpkg::symbol_is_blacklisted($symbol);
next if "\@\@$symbol" eq $version; next if "\@\@$symbol" eq $version;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment