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 --- builds/msvc/tests/tests.vcxproj | 8 ++++++++ builds/msvc/tests/tests.vcxproj.filters | 6 ++++++ tests/tests.cpp | 12 ++++++++++++ 3 files changed, 26 insertions(+) diff --git a/builds/msvc/tests/tests.vcxproj b/builds/msvc/tests/tests.vcxproj index 86e9182..5a5c6e9 100644 --- a/builds/msvc/tests/tests.vcxproj +++ b/builds/msvc/tests/tests.vcxproj @@ -85,6 +85,10 @@ true true + + true + true + true true @@ -105,6 +109,10 @@ true true + + true + true + true true diff --git a/builds/msvc/tests/tests.vcxproj.filters b/builds/msvc/tests/tests.vcxproj.filters index 7490357..b98cbfe 100644 --- a/builds/msvc/tests/tests.vcxproj.filters +++ b/builds/msvc/tests/tests.vcxproj.filters @@ -47,6 +47,12 @@ Header Files + + Header Files + + + Header Files + 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