[FFmpeg-devel] [PATCH 1/3] fate: check whether SAMPLES variable has a non-empty value

Francesco Cosoleto cosoleto at gmail.com
Sun Apr 3 23:21:16 CEST 2011


If the samples directory isn't specified configure sets SAMPLES to
$FATE_SAMPLES environment variable now, thus SAMPLES here is always
defined and make runs fate tests unconditionally.

Signed-off-by: Francesco Cosoleto <cosoleto at gmail.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 4080b82..334ef27 100644
--- a/Makefile
+++ b/Makefile
@@ -277,7 +277,7 @@ fate-lavf:   $(FATE_LAVF)
 fate-lavfi:  $(FATE_LAVFI)
 fate-seek:   $(FATE_SEEK)
 
-ifdef SAMPLES
+ifneq ($(SAMPLES),)
 FATE += $(FATE_TESTS)
 else
 $(FATE_TESTS):
-- 
1.7.1



More information about the ffmpeg-devel mailing list