summaryrefslogtreecommitdiff
path: root/tests/fate
diff options
context:
space:
mode:
authorThilo Borgmann <thilo.borgmann@googlemail.com>2013-08-20 15:53:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-20 18:47:20 +0200
commit78d2a781d092c4b678e06de147a666ad65e184de (patch)
tree28319252c43e4b185af69866116d65b211b6068f /tests/fate
parentc56d4dab039b352961cca298d753b04e2f2fd990 (diff)
fate: Add EXIF test.
Diffstat (limited to 'tests/fate')
-rw-r--r--tests/fate/exif.mak14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/fate/exif.mak b/tests/fate/exif.mak
new file mode 100644
index 0000000000..3953b62b95
--- /dev/null
+++ b/tests/fate/exif.mak
@@ -0,0 +1,14 @@
+# test exif metadata in TIFF images
+FATE_SAMPLES_EXIF-$(call DEMDEC, IMAGE2, TIFF) += fate-exif-image-tiff
+fate-exif-image-tiff: CMD = probeframes $(TARGET_SAMPLES)/exif/image_small.tiff
+
+# test exif metadata in JPG images
+FATE_SAMPLES_EXIF-$(call DEMDEC, IMAGE2, MJPEG) += fate-exif-image-jpg
+fate-exif-image-jpg: CMD = probeframes $(TARGET_SAMPLES)/exif/image_small.jpg
+
+# test exif metadata in MP3 with embedded JPEG images
+FATE_SAMPLES_EXIF-$(call ALLYES, MP3_DEMUXER IMAGE2_DEMUXER MJPEG_DECODER) += fate-exif-image-embedded
+fate-exif-image-embedded: CMD = probeframes $(TARGET_SAMPLES)/exif/embedded_small.mp3
+
+# add all -yes targets to the tested targets
+FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_EXIF-yes)