Commit bf6b2d77 authored by Ralph Giles's avatar Ralph Giles

Hook up the libvorbis self test code so it is run by automake's 'check'

target. This only enables the sharedbook.c self test, as the codebook.c 
self test has bit rotted.

Unfortunately the doc stuff scrolls the results off the screen, but 
given the trouble we've had with the doc build in the past, I'm
loath to place it before the code.

svn path=/trunk/vorbis/; revision=13666
parent 7727de5c
......@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = 1.6 foreign dist-zip dist-bzip2
SUBDIRS = lib include doc examples vq
SUBDIRS = include vq lib examples doc
m4datadir = $(datadir)/aclocal
m4data_DATA = vorbis.m4
......@@ -49,6 +49,7 @@ CFLAGS="$cflags_save"
dnl docbook xml transform and processing tools
......@@ -37,6 +37,23 @@ psytune_LDADD =
# build and run the self tests on 'make check'
#vorbis_selftests = test_codebook test_sharedbook
vorbis_selftests = test_sharedbook
TESTS = $(vorbis_selftests)
noinst_PROGRAMS = $(vorbis_selftests)
test_codebook_SOURCES = codebook.c
test_codebook_CFLAGS = -D_V_SELFTEST
test_sharedbook_SOURCES = sharedbook.c
test_sharedbook_CFLAGS = -D_V_SELFTEST
test_sharedbook_LDADD = @VORBIS_LIBS@
# recurse for alternate targets
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