This is an automated email from the ASF dual-hosted git repository.
cmcfarlen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new c49e60f769 Skip verify imagemagick plugins for asan builds (#11470)
c49e60f769 is described below
commit c49e60f769db8bdd2b662a2fa1fd2f90108a47dd
Author: Chris McFarlen <[email protected]>
AuthorDate: Mon Jun 24 13:00:34 2024 -0500
Skip verify imagemagick plugins for asan builds (#11470)
Co-authored-by: Chris McFarlen <[email protected]>
---
plugins/experimental/magick/CMakeLists.txt | 5 ++++-
plugins/webp_transform/CMakeLists.txt | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/plugins/experimental/magick/CMakeLists.txt
b/plugins/experimental/magick/CMakeLists.txt
index d534a9de55..209aef561e 100644
--- a/plugins/experimental/magick/CMakeLists.txt
+++ b/plugins/experimental/magick/CMakeLists.txt
@@ -22,4 +22,7 @@ include(magick_target)
target_link_libraries(magick PRIVATE ImageMagick::MagickWand
ImageMagick::MagickCore ts::tscppapi OpenSSL::Crypto)
-verify_global_plugin(magick
${CMAKE_CURRENT_SOURCE_DIR}/image_magic_dlopen_leak_suppression.txt)
+# There is a periodic issue with asan errors and imagemagick so disable this
test for asan builds to reduce noise
+if(NOT ENABLE_ASAN)
+ verify_global_plugin(magick
${CMAKE_CURRENT_SOURCE_DIR}/image_magic_dlopen_leak_suppression.txt)
+endif()
diff --git a/plugins/webp_transform/CMakeLists.txt
b/plugins/webp_transform/CMakeLists.txt
index c2e31d051b..4ddbeab57c 100644
--- a/plugins/webp_transform/CMakeLists.txt
+++ b/plugins/webp_transform/CMakeLists.txt
@@ -18,4 +18,7 @@
add_atsplugin(webp_transform ImageTransform.cc)
target_link_libraries(webp_transform PRIVATE ImageMagick::Magick++ tscppapi)
-verify_global_plugin(webp_transform
${CMAKE_CURRENT_SOURCE_DIR}/image_magic_dlopen_leak_suppression.txt)
+# There is a periodic issue with asan errors and imagemagick so disable this
test for asan builds to reduce noise
+if(NOT ENABLE_ASAN)
+ verify_global_plugin(webp_transform
${CMAKE_CURRENT_SOURCE_DIR}/image_magic_dlopen_leak_suppression.txt)
+endif()