message: Skip animated GIF tests when `gif_codec` is disabled
diff: @@ -159,6 +159,8 @@ fn check_references() {
  let test_img;
  if let Some(anim_frame) = anim_frame {
  + #[cfg(feature = "gif_codec")]
  + {
  // Interpret the input file as an animation file and extract a
  // single frame
  use image::AnimationDecoder;
  @@ -182,6 +184,13 @@ fn check_references() {
  // Convert the frame to a`RgbaImage`
  test_img = frame.into_buffer();
  + }
  +
  + #[cfg(not(feature = "gif_codec"))]
  + {
  + println!("Skipping - GIF codec is not enabled");
  + return;
  + }
  } else {
  // Read the input file as a single image
  match image::open(&img_path) {
  