[vlc-devel] [PATCH] test: do not satisfy make targets on error

Marvin Scholz epirat07 at gmail.com
Fri Jul 17 18:09:14 CEST 2020


---
 test/Makefile.am | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/Makefile.am b/test/Makefile.am
index c2ce32d02f..e305dd73a9 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -83,11 +83,13 @@ SAMPLES_SERVER=http://streams.videolan.org/streams-videolan/reference
 
 samples/test.sample:
 	mkdir -p `dirname $@`
-	curl $(SAMPLES_SERVER)/avi/Hero-Div3.avi > $@
+	curl $(SAMPLES_SERVER)/avi/Hero-Div3.avi > $@.tmp
+	mv $@.tmp $@
 
 samples/meta.sample:
 	mkdir -p `dirname $@`
-	curl $(SAMPLES_SERVER)/metadata/id3tag/Wesh-Bonneville.mp3 > $@
+	curl $(SAMPLES_SERVER)/metadata/id3tag/Wesh-Bonneville.mp3 > $@.tmp
+	mv $@.tmp $@
 
 AM_CFLAGS = -DSRCDIR=\"$(srcdir)\"
 AM_LDFLAGS = -no-install
-- 
2.24.3 (Apple Git-128)



More information about the vlc-devel mailing list