summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.cpm>2012-02-16 10:09:01 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:09:01 +0900
commit97d0cf95d668a45646007239a48778b71fca9254 (patch)
tree7b7fdaa4ba557c5ecc88b286797965a2dba31b5c /tests
parenta703420f7a1a15d9cacde7bb4031b8e67e978da7 (diff)
New tests added to MSVC build
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.cpp12
1 files changed, 12 insertions, 0 deletions
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);