]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Print the duplicate symbols found in test
authorTomas Mraz <tomas@openssl.org>
Tue, 21 Mar 2023 14:05:47 +0000 (15:05 +0100)
committerTomas Mraz <tomas@openssl.org>
Mon, 27 Mar 2023 08:43:45 +0000 (10:43 +0200)
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20558)

test/recipes/01-test_symbol_presence.t

index c6e175a1b502ff9d0af89a7305eaab75310ec580..4e0a9a384268b543a6a83450068d25f10bbf7165 100644 (file)
@@ -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");
 
 ######################################################################