diff --git a/tests/phpunit/tests/image/editorImagick.php b/tests/phpunit/tests/image/editorImagick.php
index e113b77937..6aa0dddbf7 100644
--- a/tests/phpunit/tests/image/editorImagick.php
+++ b/tests/phpunit/tests/image/editorImagick.php
@@ -549,6 +549,11 @@ class Tests_Image_Editor_Imagick extends WP_Image_UnitTestCase {
 	 * @ticket 37140
 	 */
 	public function test_remove_orientation_data_on_rotate() {
+
+		if ( ! function_exists( 'exif_read_data' ) ) {
+			$this->markTestSkipped( 'This system is missing required exif_read_data function.' );
+		}
+
 		$file = DIR_TESTDATA . "/images/test-image-upside-down.jpg";
 		$data = wp_read_image_metadata( $file );
 
