From: Tomas Mraz Date: Tue, 21 Mar 2023 14:05:47 +0000 (+0100) Subject: Print the duplicate symbols found in test X-Git-Tag: openssl-3.2.0-alpha1~1098 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7a4aac3a56cddf3b75a8fd6d20eee8c612e4b82;p=thirdparty%2Fopenssl.git Print the duplicate symbols found in test Reviewed-by: Tom Cosgrove Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/20558) --- diff --git a/test/recipes/01-test_symbol_presence.t b/test/recipes/01-test_symbol_presence.t index c6e175a1b50..4e0a9a38426 100644 --- a/test/recipes/01-test_symbol_presence.t +++ b/test/recipes/01-test_symbol_presence.t @@ -168,6 +168,10 @@ foreach (sort keys %stlibname) { } } my @duplicates = sort grep { $symbols{$_} > 1 } keys %symbols; +if (@duplicates) { + note "Duplicates:"; + note join('\n', @duplicates); +} ok(scalar @duplicates == 0, "checking no duplicate symbols in static libraries"); ######################################################################