summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJean First <jeanfirst@gmail.com>2012-11-07 11:27:06 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-15 01:33:19 +0100
commita8b3f0c5cf548f654e30c981988bb71981a3f8d3 (patch)
tree5c5f68100b119a57c25fa05a10cb2caa6791e911 /tests
parentb6671787db5b5d53e065f88e52a35d94cb50504c (diff)
fate: check if rsync has the contimeout option
rsync on osx misses the --contimeout option Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index dfb12b0e11..f1472f3547 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -125,6 +125,9 @@ FATE_EXTERN += $(FATE_EXTERN-yes)
FATE += $(FATE-yes)
+RSYNC_OPTIONS-$(HAVE_RSYNC_CONTIMEOUT) += --contimeout=60
+RSYNC_OPTIONS = -vrltLW --timeout=60 $(RSYNC_OPTIONS-yes)
+
$(FATE_FFMPEG) $(FATE_SAMPLES_AVCONV) $(FATE_SAMPLES_FFMPEG): ffmpeg$(EXESUF)
$(FATE_FFPROBE) $(FATE_SAMPLES_FFPROBE): ffprobe$(EXESUF)
@@ -133,7 +136,7 @@ ifdef SAMPLES
FATE += $(FATE_FULL) $(FATE_FULL-yes)
FATE += $(FATE_EXTERN)
fate-rsync:
- rsync -vrltLW --timeout=60 --contimeout=60 rsync://fate-suite.ffmpeg.org/fate-suite/ $(SAMPLES)
+ rsync $(RSYNC_OPTIONS) rsync://fate-suite.ffmpeg.org/fate-suite/ $(SAMPLES)
else
fate::
@echo "warning: only a subset of the fate tests will be run because SAMPLES is not specified"