Implemented simple unit tests
This commit is contained in:
16
Makefile.am
16
Makefile.am
@ -40,12 +40,26 @@ libinclude_HEADERS = \
|
|||||||
|
|
||||||
## Build test applications
|
## Build test applications
|
||||||
noinst_PROGRAMS = \
|
noinst_PROGRAMS = \
|
||||||
test/iso
|
test/iso
|
||||||
|
|
||||||
test_iso_CPPFLAGS = -Ilibisofs
|
test_iso_CPPFLAGS = -Ilibisofs
|
||||||
test_iso_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
test_iso_LDADD = $(libisofs_libisofs_la_OBJECTS) $(THREAD_LIBS)
|
||||||
test_iso_SOURCES = test/iso.c
|
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
|
||||||
|
|
||||||
|
|
||||||
## ========================================================================= ##
|
## ========================================================================= ##
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user