Skip to content

Commit

Permalink
Add a randomized test for heap correctness.
Browse files Browse the repository at this point in the history
svn:r1229
  • Loading branch information
nmathewson committed Apr 23, 2009
1 parent df0617f commit 5c104ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test_time_LDADD = ../libevent_core.la
regress_SOURCES = regress.c regress_buffer.c regress_http.c regress_dns.c \
regress_rpc.c regress.gen.c regress.gen.h regress_et.c \
regress_bufferevent.c \
regress_util.c tinytest.c regress_main.c \
regress_util.c tinytest.c regress_main.c regress_minheap.c \
$(regress_pthread_SOURCES) $(regress_zlib_SOURCES)
if PTHREADS
regress_pthread_SOURCES = regress_pthread.c
Expand Down
1 change: 1 addition & 0 deletions test/regress.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ extern struct testcase_t http_testcases[];
extern struct testcase_t dns_testcases[];
extern struct testcase_t rpc_testcases[];
extern struct testcase_t edgetriggered_testcases[];
extern struct testcase_t minheap_testcases[];

void regress_threads(void *);
void test_bufferevent_zlib(void *);
Expand Down
1 change: 1 addition & 0 deletions test/regress_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ struct testcase_t thread_testcases[] = {

struct testgroup_t testgroups[] = {
{ "main/", main_testcases },
{ "heap/", minheap_testcases },
{ "et/", edgetriggered_testcases },
{ "evbuffer/", evbuffer_testcases },
{ "signal/", signal_testcases },
Expand Down

0 comments on commit 5c104ce

Please sign in to comment.