add metadata tests

This commit is contained in:
Josh Coalson 2002-05-04 17:43:16 +00:00
parent ac938376b8
commit 2c9dba8600
4 changed files with 12 additions and 3 deletions

View File

@ -22,5 +22,7 @@ noinst_PROGRAMS = test_unit
test_unit_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm
test_unit_SOURCES = \
bitbuffer.c \
metadata.c \
main.c \
bitbuffer.h
bitbuffer.h \
metadata.h

View File

@ -24,7 +24,8 @@ INCLUDES = -I../libFLAC/include -I../../include
LIBS = -lFLAC -lm
OBJS = \
bitbuffer.o \
main.o
main.o \
metadata.o
include ../../build/exe.mk

View File

@ -27,7 +27,8 @@
C_FILES= \
bitbuffer.c \
main.c
main.c \
metadata.c
OBJS= $(C_FILES:.c=.obj)

View File

@ -17,6 +17,7 @@
*/
#include "bitbuffer.h"
#include "metadata.h"
int main(int argc, char *argv[])
{
@ -24,5 +25,9 @@ int main(int argc, char *argv[])
if(0 != test_bitbuffer())
return 1;
if(0 != test_metadata())
return 1;
return 0;
}