mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 04:50:37 -04:00
Oops: actually commit changes to build and use regress_iocp
svn:r1255
This commit is contained in:
parent
f1090833b2
commit
ec1468832e
@ -30,6 +30,9 @@ endif
|
|||||||
if ZLIB_REGRESS
|
if ZLIB_REGRESS
|
||||||
regress_zlib_SOURCES = regress_zlib.c
|
regress_zlib_SOURCES = regress_zlib.c
|
||||||
endif
|
endif
|
||||||
|
if BUILD_WIN32
|
||||||
|
regress_SOURCES += regress_iocp.c
|
||||||
|
endif
|
||||||
regress_LDADD = ../libevent.la $(PTHREAD_LIBS) $(ZLIB_LIBS)
|
regress_LDADD = ../libevent.la $(PTHREAD_LIBS) $(ZLIB_LIBS)
|
||||||
regress_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat \
|
regress_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat \
|
||||||
-I$(top_srcdir)/include $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS)
|
-I$(top_srcdir)/include $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS)
|
||||||
|
@ -44,6 +44,7 @@ extern struct testcase_t dns_testcases[];
|
|||||||
extern struct testcase_t rpc_testcases[];
|
extern struct testcase_t rpc_testcases[];
|
||||||
extern struct testcase_t edgetriggered_testcases[];
|
extern struct testcase_t edgetriggered_testcases[];
|
||||||
extern struct testcase_t minheap_testcases[];
|
extern struct testcase_t minheap_testcases[];
|
||||||
|
extern struct testcase_t iocp_testcases[];
|
||||||
|
|
||||||
void regress_threads(void *);
|
void regress_threads(void *);
|
||||||
void test_bufferevent_zlib(void *);
|
void test_bufferevent_zlib(void *);
|
||||||
|
@ -268,6 +268,9 @@ struct testgroup_t testgroups[] = {
|
|||||||
{ "dns/", dns_testcases },
|
{ "dns/", dns_testcases },
|
||||||
{ "rpc/", rpc_testcases },
|
{ "rpc/", rpc_testcases },
|
||||||
{ "thread/", thread_testcases },
|
{ "thread/", thread_testcases },
|
||||||
|
#ifdef WIN32
|
||||||
|
{ "iocp/", iocp_testcases },
|
||||||
|
#endif
|
||||||
END_OF_GROUPS
|
END_OF_GROUPS
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user