diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-03-22 12:45:20 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-03-23 08:06:27 +0100 |
commit | 84997053d4d170de80a2ac1ed5a742b75f5064ee (patch) | |
tree | 16614fb53bbaa362219bf62a50e62883fe79ad30 /tests/linger.cpp | |
parent | 836ecfaf92c894eb36f8c41c8201607b68ef4185 (diff) |
Ignore distorted timeouts on Windows in debug mode
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests/linger.cpp')
-rw-r--r-- | tests/linger.cpp | 2 |
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; } |