summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-05-15 23:15:03 +0100
committerMark Thompson <sw@jkqxz.net>2018-05-21 20:54:52 +0100
commitba7d1377e85662f7b4ae728719c10d5427cc6b9b (patch)
tree05668054af2a8f22405a2cc35de3ac796cce53b0 /tests/Makefile
parent70d25268c21cbee5f08304da95be1f647c630c15 (diff)
downloadffmpeg-streaming-ba7d1377e85662f7b4ae728719c10d5427cc6b9b.zip
ffmpeg-streaming-ba7d1377e85662f7b4ae728719c10d5427cc6b9b.tar.gz
hwcontext: Add test for device creation and derivation
This uses any devices it can find on the host system - on a system with no hardware device support or in builds with no support included it will do nothing and pass.
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 6074ac7..98d7b6d 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -131,6 +131,7 @@ include $(SRC_PATH)/tests/fate/gif.mak
include $(SRC_PATH)/tests/fate/h264.mak
include $(SRC_PATH)/tests/fate/hap.mak
include $(SRC_PATH)/tests/fate/hevc.mak
+include $(SRC_PATH)/tests/fate/hw.mak
include $(SRC_PATH)/tests/fate/id3v2.mak
include $(SRC_PATH)/tests/fate/image.mak
include $(SRC_PATH)/tests/fate/indeo.mak
@@ -215,6 +216,10 @@ $(addprefix fate-, $(IGNORE_TESTS)): REPORT=ignore
fate:: $(FATE)
+# Tests requiring hardware support are not included in a default fate run.
+fate-hw: $(FATE_HW-yes)
+FATE += $(FATE_HW-yes)
+
$(FATE) $(FATE_TESTS-no): export PROGSUF = $(PROGSSUF)
$(FATE) $(FATE_TESTS-no): $(FATE_UTILS:%=tests/%$(HOSTEXESUF))
@echo "TEST $(@:fate-%=%)"
OpenPOWER on IntegriCloud