From d4dec787863a980d2b1f09585f416a94509072dd Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Fri, 1 Jun 2007 07:08:16 +0000 Subject: [PATCH] Implemented simple unit tests --- libisofs/trunk/Makefile.am | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/libisofs/trunk/Makefile.am b/libisofs/trunk/Makefile.am index 37d2e723..368040f6 100644 --- a/libisofs/trunk/Makefile.am +++ b/libisofs/trunk/Makefile.am @@ -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 + ## ========================================================================= ##