From 97d0cf95d668a45646007239a48778b71fca9254 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:09:01 +0900 Subject: New tests added to MSVC build Signed-off-by: Martin Sustrik --- tests/tests.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests') diff --git a/tests/tests.cpp b/tests/tests.cpp index 1a3a2e0..c447428 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -87,6 +87,14 @@ #include "timeo.cpp" #undef XS_TEST_MAIN +#define XS_TEST_MAIN max_sockets +#include "max_sockets.cpp" +#undef XS_TEST_MAIN + +#define XS_TEST_MAIN reentrant +#include "reentrant.cpp" +#undef XS_TEST_MAIN + int main () { int rc; @@ -119,6 +127,10 @@ int main () assert (rc == 0); rc = timeo (); assert (rc == 0); + rc = max_sockets (); + assert (rc == 0); + rc = reentrant (); + assert (rc == 0); fprintf (stderr, "SUCCESS\n"); xs_sleep (1); -- cgit v1.2.3