From 89f291f412c8d342f824cb951dd1e9a6b2a8a049 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 --- Makefile.am | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 37d2e72..368040f 100644 --- a/Makefile.am +++ b/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 + ## ========================================================================= ##