]> granicus.if.org Git - libevent/commitdiff
Oops: actually commit changes to build and use regress_iocp
authorNick Mathewson <nickm@torproject.org>
Thu, 30 Apr 2009 19:05:43 +0000 (19:05 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 30 Apr 2009 19:05:43 +0000 (19:05 +0000)
svn:r1255

test/Makefile.am
test/regress.h
test/regress_main.c

index 13222af807c6fcceae23e982fb338e340893d8b6..b6c1b57274df29fe04d89ef3ddaf5ded76176497 100644 (file)
@@ -30,6 +30,9 @@ endif
 if ZLIB_REGRESS
 regress_zlib_SOURCES = regress_zlib.c
 endif
+if BUILD_WIN32
+regress_SOURCES += regress_iocp.c
+endif
 regress_LDADD = ../libevent.la $(PTHREAD_LIBS) $(ZLIB_LIBS)
 regress_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat \
        -I$(top_srcdir)/include  $(PTHREAD_CFLAGS) $(ZLIB_CFLAGS)
index bdea95f60c5d0e4c91eecbab321e04ac2c048d41..3f96f403ca503f65b42e694b4b3470f3d44bf50a 100644 (file)
@@ -44,6 +44,7 @@ extern struct testcase_t dns_testcases[];
 extern struct testcase_t rpc_testcases[];
 extern struct testcase_t edgetriggered_testcases[];
 extern struct testcase_t minheap_testcases[];
+extern struct testcase_t iocp_testcases[];
 
 void regress_threads(void *);
 void test_bufferevent_zlib(void *);
index 7bcda356b8237bf0f814e55091eba02827852944..1512f76809acea33446397196a2edcb68999ff7c 100644 (file)
@@ -268,6 +268,9 @@ struct testgroup_t testgroups[] = {
        { "dns/", dns_testcases },
        { "rpc/", rpc_testcases },
        { "thread/", thread_testcases },
+#ifdef WIN32
+       { "iocp/", iocp_testcases },
+#endif
         END_OF_GROUPS
 };