fate: Add timefilter test
authorDiego Biurrun <diego@biurrun.de>
Fri, 5 Oct 2012 17:37:10 +0000 (19:37 +0200)
committerDiego Biurrun <diego@biurrun.de>
Mon, 29 Jul 2013 17:20:27 +0000 (19:20 +0200)
tests/Makefile
tests/fate/libavdevice.mak [new file with mode: 0644]
tests/ref/fate/timefilter [new file with mode: 0644]

index 4153a70..132a1a7 100644 (file)
@@ -80,6 +80,7 @@ include $(SRC_PATH)/tests/fate/h264.mak
 include $(SRC_PATH)/tests/fate/image.mak
 include $(SRC_PATH)/tests/fate/indeo.mak
 include $(SRC_PATH)/tests/fate/libavcodec.mak
+include $(SRC_PATH)/tests/fate/libavdevice.mak
 include $(SRC_PATH)/tests/fate/libavformat.mak
 include $(SRC_PATH)/tests/fate/libavutil.mak
 include $(SRC_PATH)/tests/fate/lossless-audio.mak
diff --git a/tests/fate/libavdevice.mak b/tests/fate/libavdevice.mak
new file mode 100644 (file)
index 0000000..cb6af51
--- /dev/null
@@ -0,0 +1,6 @@
+FATE_LIBAVDEVICE-yes += fate-timefilter
+fate-timefilter: libavdevice/timefilter-test$(EXESUF)
+fate-timefilter: CMD = run libavdevice/timefilter-test
+
+FATE-$(CONFIG_AVDEVICE) += $(FATE_LIBAVDEVICE-yes)
+fate-libavdevice: $(FATE_LIBAVDEVICE-yes)
diff --git a/tests/ref/fate/timefilter b/tests/ref/fate/timefilter
new file mode 100644 (file)
index 0000000..57c1209
--- /dev/null
@@ -0,0 +1,6 @@
+ [0.800000 0.000800  0.000000] [1.021025 0.998922  0.000000] [1.021025 0.998922  0.000000] [1.021025 0.998922  0.000000]
+ [0.001003 0.000000  0.004341] [0.041562 0.000996  0.045245] [0.081175 0.002874  0.074431] [0.118380 0.006568  0.108913]
+ [0.001003 0.000000  0.039073] [0.013619 0.000455  0.224390] [0.041562 0.000996  0.407205] [0.068719 0.002305  0.600848]
+ [0.001003 0.000000  0.212729] [0.022518 0.000060  0.941262] [0.015889 0.000507  1.391585] [0.041562 0.000996  2.217003]
+ [0.001003 0.000000  0.976818] [0.014412 0.000021  2.712350] [0.013691 0.000370  4.648765] [0.018915 0.000542  6.709646]
+ [0.001003 0.000000  4.172097] [0.010677 0.000007  7.809261] [0.018915 0.000032 14.578784] [0.013619 0.000387 20.628496]