Commit 97a25c1e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Provide a dummy (empty) but valid sample file

parent 099bacb2
...@@ -18,6 +18,7 @@ EXTRA_PROGRAMS = \ ...@@ -18,6 +18,7 @@ EXTRA_PROGRAMS = \
test_libvlc_meta \ test_libvlc_meta \
$(NULL) $(NULL)
#check_DATA = samples/test.sample samples/meta.sample #check_DATA = samples/test.sample samples/meta.sample
EXTRA_DIST = samples/empty.voc
check_HEADERS = libvlc/test.h check_HEADERS = libvlc/test.h
...@@ -36,7 +37,7 @@ samples/meta.sample: ...@@ -36,7 +37,7 @@ samples/meta.sample:
mkdir -p `dirname $@` mkdir -p `dirname $@`
curl $(SAMPLES_SERVER)/metadata/id3tag/Wesh-Bonneville.mp3 > $@ curl $(SAMPLES_SERVER)/metadata/id3tag/Wesh-Bonneville.mp3 > $@
CFLAGS_tests = `$(VLC_CONFIG) --cflags libvlc` CFLAGS_tests = `$(VLC_CONFIG) --cflags libvlc` -DSRCDIR=\"$(srcdir)\"
test_libvlc_core_SOURCES = libvlc/core.c test_libvlc_core_SOURCES = libvlc/core.c
test_libvlc_core_LDADD = $(top_builddir)/src/libvlc.la test_libvlc_core_LDADD = $(top_builddir)/src/libvlc.la
......
...@@ -62,7 +62,8 @@ static const char * test_defaults_args[] = { ...@@ -62,7 +62,8 @@ static const char * test_defaults_args[] = {
static const int test_defaults_nargs = static const int test_defaults_nargs =
sizeof (test_defaults_args) / sizeof (test_defaults_args[0]); sizeof (test_defaults_args) / sizeof (test_defaults_args[0]);
static const char * test_default_sample = "samples/test.sample"; /*static const char test_default_sample[] = "samples/test.sample";*/
static const char test_default_sample[] = SRCDIR"/samples/empty.voc";
/********************************************************************* /*********************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment