Fix: mpool build and tests

This commit is contained in:
Christian Thaeter 2009-06-06 15:23:20 +02:00
parent bf94c90e59
commit ee5c2b98ee
2 changed files with 11 additions and 18 deletions

View file

@ -3,44 +3,36 @@ TESTING "Memory pool tests" ./test-mpool
TEST "init/destroy" basic <<END
err: initialized
err: allocated
err: DUMP
err: freed
err: DUMP
err: destroyed
return: 0
END
TEST "auto destruction" destroy <<END
return: !0
return: 0
END
TEST "cluster allocation" clusters <<END
return: !0
return: 0
END
TEST "random usage" random <<END
return: !0
PLANNED "random usage" random <<END
return: 0
END
TEST "stats" statscheck <<END
return: !0
END
TEST "optimizer" optimize <<END
return: !0
END
TEST "collector" collect <<END
return: !0
PLANNED "stats" statscheck <<END
return: 0
END
TEST "reserve" reserve <<END
return: !0
return: 0
END

View file

@ -37,7 +37,8 @@ test_llist_LDADD = $(NOBUGMT_LUMIERA_LIBS) libl
check_PROGRAMS += test-mpool
test_mpool_SOURCES = $(tests_srcdir)/library/test-mpool.c
test_mpool_CPPFLAGS = $(AM_CPPFLAGS) -std=gnu99 -Wall -Werror
test_mpool_LDADD = liblumiera.la $(NOBUGMT_LUMIERA_LIBS) liblumieracommon.la liblumieraproc.la -ldl -lboost_program_options-mt -lboost_regex-mt
test_mpool_LDADD = $(NOBUGMT_LUMIERA_LIBS) \
liblumiera.la liblumieracommon.la liblumierabackend.la liblumieraproc.la -lboost_program_options-mt -lboost_regex-mt -ldl
check_PROGRAMS += test-psplay
test_psplay_SOURCES = $(tests_srcdir)/library/test-psplay.c