Skip to content

Commit

Permalink
Oops: actually commit changes to build and use regress_iocp
Browse files Browse the repository at this point in the history
git-svn-id: http://levent.svn.sourceforge.net/svnroot/levent/trunk/libevent@1255 ce677c24-8c1a-0410-9497-a30ef3a96221
  • Loading branch information
nickm committed Apr 30, 2009
1 parent 5656dc4 commit 17bf339
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/Makefile.am
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions test/regress.h
Expand Up @@ -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 *);
Expand Down
3 changes: 3 additions & 0 deletions test/regress_main.c
Expand Up @@ -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
};

Expand Down

0 comments on commit 17bf339

Please sign in to comment.