From 4a27a52a1f74016095b7aee1b4a422cf62217ade Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 20 May 2013 01:46:21 +0300 Subject: fate: Don't use files from SRC_PATH in the actual tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If building out of tree, make sure the filter scripts are copied into the build tree before running tests. This makes sure that SRC_PATH doesn't need to exist on the remote system (or doesn't need to exist at the same path). Signed-off-by: Martin Storsjö --- tests/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index 1b3f319405..0951bdec3e 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,7 +1,7 @@ VREF = tests/vsynth1/00.pgm AREF = tests/data/asynth1.sw -OBJDIRS += tests/data tests/vsynth1 +OBJDIRS += tests/data tests/vsynth1 tests/data/filtergraphs $(VREF): tests/videogen$(HOSTEXESUF) | tests/vsynth1 $(M)./$< 'tests/vsynth1/' @@ -20,6 +20,10 @@ tests/data/vsynth2.yuv: tests/rotozoom$(HOSTEXESUF) | tests/data tests/data/asynth% tests/data/vsynth%.yuv tests/vsynth%/00.pgm: TAG = GEN +tests/data/filtergraphs/%: TAG = COPY +tests/data/filtergraphs/%: $(SRC_PATH)/tests/filtergraphs/% | tests/data/filtergraphs + $(M)cp $< $@ + CHKCFG = $(if $($(1))$(!$(1)),$($(1)), $(error No such config: $(1))) ALLYES = $(strip $(call XYES, $(1))) -- cgit v1.2.3