aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Thompson2017-07-06 22:50:40 +0100
committerMark Thompson2017-07-18 22:56:30 +0100
commit3192821237f6dbf2190264a6efab935280559373 (patch)
treebd7f2fe39781cdd84e5f3f1ac3c769ccb2663e3e /tests
parent8a442d7a8a687a469ca502a18a0c68f5302b15e0 (diff)
pixdesc: Add a test for av_find_best_pix_fmt_of_2()
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/libavutil.mak4
-rw-r--r--tests/ref/fate/pixfmt_best1
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/fate/libavutil.mak b/tests/fate/libavutil.mak
index 97eae8baf4..2938b47155 100644
--- a/tests/fate/libavutil.mak
+++ b/tests/fate/libavutil.mak
@@ -115,6 +115,10 @@ FATE_LIBAVUTIL-$(CONFIG_PIXELUTILS) += fate-pixelutils
fate-pixelutils: libavutil/tests/pixelutils$(EXESUF)
fate-pixelutils: CMD = run libavutil/tests/pixelutils
+FATE_LIBAVUTIL += fate-pixfmt_best
+fate-pixfmt_best: libavutil/tests/pixfmt_best$(EXESUF)
+fate-pixfmt_best: CMD = run libavutil/tests/pixfmt_best
+
FATE_LIBAVUTIL += fate-display
fate-display: libavutil/tests/display$(EXESUF)
fate-display: CMD = run libavutil/tests/display
diff --git a/tests/ref/fate/pixfmt_best b/tests/ref/fate/pixfmt_best
new file mode 100644
index 0000000000..1118198098
--- /dev/null
+++ b/tests/ref/fate/pixfmt_best
@@ -0,0 +1 @@
+60 tests passed, 0 tests failed.