summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.cpm>2012-02-16 10:29:05 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:29:05 +0900
commit908aaf0d92c146400c5125cbbf5edf3dbeb8a4a1 (patch)
treee1e3111547cecaaf340c5e78570ee1e3ff5a7c38 /tests
parent23cc05508f906bbb383f0396c00de7115bf9a696 (diff)
MSVC build fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
Diffstat (limited to 'tests')
-rw-r--r--tests/tests.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index 1d1ebbe..bcccd15 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -91,14 +91,14 @@
#include "max_sockets.cpp"
#undef XS_TEST_MAIN
-#define XS_TEST_MAIN reentrant
-#include "reentrant.cpp"
-#undef XS_TEST_MAIN
-
#define XS_TEST_MAIN emptyctx
#include "emptyctx.cpp"
#undef XS_TEST_MAIN
+#define XS_TEST_MAIN polltimeo
+#include "polltimeo.cpp"
+#undef XS_TEST_MAIN
+
int main ()
{
int rc;
@@ -133,10 +133,10 @@ int main ()
assert (rc == 0);
rc = max_sockets ();
assert (rc == 0);
- rc = reentrant ();
- assert (rc == 0);
rc = emptyctx ();
assert (rc == 0);
+ rc = polltimeo ();
+ assert (rc == 0);
fprintf (stderr, "SUCCESS\n");
xs_sleep (1);