[vlc-commits] test: simplify fuzzer build rules

Rémi Denis-Courmont git at videolan.org
Sun Nov 12 15:00:20 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 12 15:59:03 2017 +0200| [ec31390c5d1f55f882b28030a6f16a5d29f7f4ff] | committer: Rémi Denis-Courmont

test: simplify fuzzer build rules

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ec31390c5d1f55f882b28030a6f16a5d29f7f4ff
---

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

diff --git a/test/Makefile.am b/test/Makefile.am
index 38392fbdbf..6d879af07f 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -12,6 +12,7 @@ extra_check_verbose__0 = $(extra_check_verbose_0)
 ###############################################################################
 # Unit/regression test
 ###############################################################################
+noinst_PROGRAMS =
 check_PROGRAMS = \
 	test_libvlc_core \
 	test_libvlc_equalizer \
@@ -237,23 +238,14 @@ EXTRA_LTLIBRARIES += libvlc_demux_dec_run.la
 #
 vlc_demux_run_LDFLAGS = -no-install -static
 vlc_demux_run_LDADD = libvlc_demux_run.la
-EXTRA_PROGRAMS += vlc-demux-run
-
-vlc_demux_libfuzzer_CPPFLAGS = $(vlc_static_CPPFLAGS)
-vlc_demux_libfuzzer_LDADD = libvlc_demux_run.la
-EXTRA_PROGRAMS += vlc-demux-libfuzzer
-
 vlc_demux_dec_run_SOURCES = vlc-demux-run.c
 vlc_demux_dec_run_LDFLAGS = -no-install -static
 vlc_demux_dec_run_LDADD = libvlc_demux_dec_run.la
-EXTRA_PROGRAMS += vlc-demux-dec-run
+EXTRA_PROGRAMS += vlc-demux-run vlc-demux-dec-run
 
+vlc_demux_libfuzzer_LDADD = libvlc_demux_run.la
 vlc_demux_dec_libfuzzer_SOURCES = vlc-demux-libfuzzer.c
-vlc_demux_dec_libfuzzer_CPPFLAGS = $(vlc_static_CPPFLAGS)
 vlc_demux_dec_libfuzzer_LDADD = libvlc_demux_dec_run.la
-EXTRA_PROGRAMS += vlc-demux-dec-libfuzzer
-
 if HAVE_LIBFUZZER
-bin_PROGRAMS = vlc-demux-run vlc-demux-dec-run \
-    vlc-demux-libfuzzer vlc-demux-dec-libfuzzer
+noinst_PROGRAMS += vlc-demux-libfuzzer vlc-demux-dec-libfuzzer
 endif



More information about the vlc-commits mailing list