summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-03-18 00:48:18 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-03-23 20:53:28 +0000
commit7419b34825c20d52f667da2fbe4dc710ec8398f8 (patch)
tree4400e5e36260f616694a179b314d3c0ce285ecff /tests
parente4fe535d12f4f30df2dd672e30304af112a5a827 (diff)
fate: Add test for tscc2 in mov
Rename the existing tscc2 test.
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/screen.mak10
-rw-r--r--tests/ref/fate/tscc2-avi (renamed from tests/ref/fate/tscc2)0
-rw-r--r--tests/ref/fate/tscc2-mov16
3 files changed, 24 insertions, 2 deletions
diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak
index 12f8326642..f0667aebc5 100644
--- a/tests/fate/screen.mak
+++ b/tests/fate/screen.mak
@@ -41,8 +41,14 @@ fate-tscc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/2004-12-17-uebung9-par
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TSCC) += $(FATE_TSCC)
fate-tscc: $(FATE_TSCC)
-FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TSCC2) += fate-tscc2
-fate-tscc2: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/tsc2_16bpp.avi
+FATE_TSCC2-$(CONFIG_AVI_DEMUXER) += fate-tscc2-avi
+fate-tscc2-avi: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/tsc2_16bpp.avi
+
+FATE_TSCC2-$(CONFIG_MOV_DEMUXER) += fate-tscc2-mov
+fate-tscc2-mov: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/rec.trec
+
+FATE_SAMPLES_AVCONV-$(CONFIG_TSCC2_DECODER) += $(FATE_TSCC2-yes)
+fate-tscc2: $(FATE_TSCC2-yes)
FATE_VMNC += fate-vmnc-16bit
fate-vmnc-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/test.avi -pix_fmt rgb24
diff --git a/tests/ref/fate/tscc2 b/tests/ref/fate/tscc2-avi
index ad71b8254d..ad71b8254d 100644
--- a/tests/ref/fate/tscc2
+++ b/tests/ref/fate/tscc2-avi
diff --git a/tests/ref/fate/tscc2-mov b/tests/ref/fate/tscc2-mov
new file mode 100644
index 0000000000..d73ff3f4f3
--- /dev/null
+++ b/tests/ref/fate/tscc2-mov
@@ -0,0 +1,16 @@
+#tb 0: 1/5
+0, 0, 0, 1, 1180116, 0x01d01336
+0, 1, 1, 1, 1180116, 0x01d01336
+0, 2, 2, 1, 1180116, 0x01d01336
+0, 3, 3, 1, 1180116, 0x01d01336
+0, 4, 4, 1, 1180116, 0x01d01336
+0, 5, 5, 1, 1180116, 0x01d01336
+0, 6, 6, 1, 1180116, 0x01d01336
+0, 7, 7, 1, 1180116, 0x01d01336
+0, 8, 8, 1, 1180116, 0x01d01336
+0, 9, 9, 1, 1180116, 0x01d01336
+0, 10, 10, 1, 1180116, 0x056fdadd
+0, 11, 11, 1, 1180116, 0x6f73e080
+0, 12, 12, 1, 1180116, 0x5244d9e5
+0, 13, 13, 1, 1180116, 0x629bf10f
+0, 14, 14, 1, 1180116, 0x97c726cb