Commit 2c5c4b40 authored by Simon McVittie's avatar Simon McVittie
Browse files

tests: Ignore symbol-versions in nm output



The Debian 11 toolchain produces them like this.
Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
parent 65ab0a42
Pipeline #20596 passed with stage
in 8 minutes and 20 seconds
......@@ -119,6 +119,7 @@ sub uniq {
}
my @symbols_produced =
grep { !/^ZLIB_\d+\./ }
get_symbols_with_nm("$test_tempdir/libz-proxy/.libs/libz.so.1");
is_deeply \@symbols_wanted, [grep {! m/^capsule_meta $/} @symbols_produced];
......@@ -210,6 +211,7 @@ run_ok(['make', '-C', "$test_tempdir/libz-proxy", 'V=1',
run_ok(['make', '-C', "$test_tempdir/libz-proxy", 'V=1'], '>&2');
@symbols_produced =
grep { !/^ZLIB_\d+\./ }
get_symbols_with_nm("$test_tempdir/libz-proxy/.libs/libz.so.1");
is_deeply \@symbols_wanted, [grep {! m/^capsule_meta $/} @symbols_produced];
......
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