Implemented simple unit tests

This commit is contained in:
Mario Danic 2007-06-01 07:08:16 +00:00
parent 8390f85e1f
commit 89f291f412

View File

@ -40,12 +40,26 @@ libinclude_HEADERS = \
## Build test applications
noinst_PROGRAMS = \
test/iso
test/iso
test_iso_CPPFLAGS = -Ilibisofs
test_iso_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
test_iso_SOURCES = test/iso.c
## Build unit test
check_PROGRAMS = \
test/test
test_test_CPPFLAGS = -Ilibisofs
test_test_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
test_test_SOURCES = \
test/test_exclude.c \
test/test_tree.c \
test/test_file_hashtable.c \
test/test.c
## ========================================================================= ##