X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=test%2FMakefile.am;h=e88f78c35ea11c4e565fb8c1f0cb6fa32f421e47;hb=c60652e38ac6afd74bd8225e9dae5406f13aaa4f;hp=5b4cc5d12790b26f0a9562656be097b15b6c2ba3;hpb=3b03fae9160b840995804c713db79740d202a62f;p=vlc diff --git a/test/Makefile.am b/test/Makefile.am index 5b4cc5d127..e88f78c35e 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -4,15 +4,21 @@ AUTOMAKE_OPTIONS = subdir-objects +extra_check_verbose = $(extra_check_verbose_$(V)) +extra_check_verbose_ = $(extra_check_flags__$(AM_DEFAULT_VERBOSITY)) +extra_check_verbose_0 = @echo TEST $@ +extra_check_verbose__0 = $(extra_check_verbose_0) + ############################################################################### # Unit/regression test ############################################################################### check_PROGRAMS = \ test_libvlc_core \ test_libvlc_events \ + test_libvlc_media \ test_libvlc_media_list \ - test_libvlc_media_list_player \ test_libvlc_media_player \ + test_src_config_chain \ test_src_misc_variables \ $(NULL) @@ -20,13 +26,13 @@ check_PROGRAMS = \ # meta: No suitable test file EXTRA_PROGRAMS = \ test_libvlc_meta \ - test_dummy \ + test_libvlc_media_list_player \ $(NULL) #check_DATA = samples/test.sample samples/meta.sample -EXTRA_DIST = samples/empty.voc +EXTRA_DIST = samples/empty.voc samples/image.jpg -check_HEADERS = libvlc/test.h +check_HEADERS = libvlc/test.h libvlc/libvlc_additions.h TESTS = $(check_PROGRAMS) @@ -56,6 +62,11 @@ test_libvlc_events_LDADD = $(top_builddir)/src/libvlc.la test_libvlc_events_CFLAGS = $(CFLAGS_tests) test_libvlc_events_LDFLAGS = $(LDFLAGS_tests) +test_libvlc_media_SOURCES = libvlc/media.c +test_libvlc_media_LDADD = $(top_builddir)/src/libvlc.la +test_libvlc_media_CFLAGS = $(CFLAGS_tests) +test_libvlc_media_LDFLAGS = $(LDFLAGS_tests) + test_libvlc_media_list_player_SOURCES = libvlc/media_list_player.c test_libvlc_media_list_player_LDADD = $(top_builddir)/src/libvlc.la test_libvlc_media_list_player_CFLAGS = $(CFLAGS_tests) @@ -81,6 +92,11 @@ test_src_misc_variables_LDADD = $(top_builddir)/src/libvlc.la test_src_misc_variables_CFLAGS = $(CFLAGS_tests) test_src_misc_variables_LDFLAGS = $(LDFLAGS_tests) +test_src_config_chain_SOURCES = src/config/chain.c +test_src_config_chain_LDADD = $(top_builddir)/src/libvlc.la +test_src_config_chain_CFLAGS = $(CFLAGS_tests) +test_src_config_chain_LDFLAGS = $(LDFLAGS_tests) + checkall: $(MAKE) check_PROGRAMS="$(check_PROGRAMS) $(EXTRA_PROGRAMS)" check