This allows excluding the samples-rsync target from conditions that
atch all other fate-related targets.
---
This now deprecates the target instead of dropping it. The second patch
remains simple and fate-rsync stays in place for those intent on not
changing their scripts.
Better names than "samples-rsync" welcome. "(r)sync-samples" maybe?
doc/fate.texi | 4 ++--
doc/git-howto.texi | 2 +-
tests/Makefile | 9 ++++++---
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/doc/fate.texi b/doc/fate.texi
index 67349aa..4efee2d 100644
--- a/doc/fate.texi
+++ b/doc/fate.texi
@@ -41,7 +41,7 @@ the current sample using the straight rsync command or
through a specific
@end example
@example
-# make fate-rsync SAMPLES=fate-suite
+# make samples-rsync SAMPLES=fate-suite
@end example
@@ -54,7 +54,7 @@ Specific Makefile targets and Makefile variables are
available:
@table @option
@item fate-list
List all fate/regression test targets.
-@item fate-rsync
+@item samples-rsync
Shortcut to download the fate test samples to the specified testsuite location.
@item fate
Run the FATE test suite (requires the fate-suite dataset).
diff --git a/doc/git-howto.texi b/doc/git-howto.texi
index 5a8e2a3..3312dd8 100644
--- a/doc/git-howto.texi
+++ b/doc/git-howto.texi
@@ -400,7 +400,7 @@ changes may have thrown off the results of your testing.
@end itemize
Next let the code pass through a full run of our testsuite. Before you do,
-the command @command{make fate-rsync} will update the test samples. Changes
+the command @command{make samples-rsync} will update the test samples. Changes
to the samples set are not very common and commits depending on samples
changes are delayed for at least 24 hours to allow the new samples to
propagate, so updating it once per day is sufficient. Now execute
diff --git a/tests/Makefile b/tests/Makefile
index e32320d..ae45a48 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -112,13 +112,16 @@ FATE += $(FATE-yes)
$(FATE_AVCONV) $(FATE_SAMPLES_AVCONV): avconv$(EXESUF)
+fate-rsync: samples-rsync
+ @echo "The 'fate-rsync' target is deprecated, use 'samples-rsync'
instead."
+
ifdef SAMPLES
FATE += $(FATE_SAMPLES)
-fate-rsync:
+samples-rsync:
rsync -vaLW rsync://fate-suite.libav.org/fate-suite/ $(SAMPLES)
else
-fate-rsync:
- @echo "use 'make fate-rsync SAMPLES=/path/to/samples' to sync the fate
suite"
+samples-rsync:
+ @echo "use 'make samples-rsync SAMPLES=/path/to/samples' to sync the
fate suite"
$(FATE_SAMPLES):
@echo "$@ requires external samples and SAMPLES not specified"; false
endif
--
1.7.9.5
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel