add metadata tests
This commit is contained in:
parent
ac938376b8
commit
2c9dba8600
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -27,7 +27,8 @@
|
||||
|
||||
C_FILES= \
|
||||
bitbuffer.c \
|
||||
main.c
|
||||
main.c \
|
||||
metadata.c
|
||||
|
||||
OBJS= $(C_FILES:.c=.obj)
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user