summaryrefslogtreecommitdiff
path: root/tests/linger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/linger.cpp')
-rw-r--r--tests/linger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/linger.cpp b/tests/linger.cpp
index 8300394..42dfda0 100644
--- a/tests/linger.cpp
+++ b/tests/linger.cpp
@@ -52,7 +52,9 @@ int XS_TEST_MAIN ()
rc = xs_term (ctx);
assert (rc == 0);
int ms = (int) xs_stopwatch_stop (watch) / 1000;
+#if !defined _WIN32 || !defined _DEBUG
assert (ms > 50 && ms < 150);
+#endif
return 0;
}