summaryrefslogtreecommitdiff
path: root/deps/uv/test
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-10-08 00:44:47 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2012-10-08 00:44:47 +0200
commit16a9dac8ea7ac3fd4c88b4696ed7a8dfc154d6c3 (patch)
treea94e0b928ef823e4de3f8649714ba8d2f9b97be9 /deps/uv/test
parentda1f48328cde3b3b04ec847bd3e9bf6ae269e1a1 (diff)
downloadnode-16a9dac8ea7ac3fd4c88b4696ed7a8dfc154d6c3.tar.gz
deps: upgrade libuv to 40134c3
Diffstat (limited to 'deps/uv/test')
-rw-r--r--deps/uv/test/runner-win.c3
-rw-r--r--deps/uv/test/test-list.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/deps/uv/test/runner-win.c b/deps/uv/test/runner-win.c
index cf75c703d..111a6869d 100644
--- a/deps/uv/test/runner-win.c
+++ b/deps/uv/test/runner-win.c
@@ -24,6 +24,7 @@
#include <malloc.h>
#include <stdio.h>
#include <process.h>
+#include <crtdbg.h>
#include "task.h"
#include "runner.h"
@@ -43,6 +44,8 @@ void platform_init(int argc, char **argv) {
/* Disable the "application crashed" popup. */
SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX |
SEM_NOOPENFILEERRORBOX);
+ _CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_DEBUG);
+ _CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_DEBUG);
_setmode(0, _O_BINARY);
_setmode(1, _O_BINARY);
diff --git a/deps/uv/test/test-list.h b/deps/uv/test/test-list.h
index 893be1a5f..20c12e3e0 100644
--- a/deps/uv/test/test-list.h
+++ b/deps/uv/test/test-list.h
@@ -27,6 +27,7 @@ TEST_DECLARE (condvar_2)
TEST_DECLARE (condvar_3)
TEST_DECLARE (condvar_4)
TEST_DECLARE (condvar_5)
+TEST_DECLARE (consumer_producer)
TEST_DECLARE (semaphore_1)
TEST_DECLARE (semaphore_2)
TEST_DECLARE (semaphore_3)
@@ -218,6 +219,7 @@ TASK_LIST_START
TEST_ENTRY (condvar_3)
TEST_ENTRY (condvar_4)
TEST_ENTRY (condvar_5)
+ TEST_ENTRY (consumer_producer)
TEST_ENTRY (semaphore_1)
TEST_ENTRY (semaphore_2)
TEST_ENTRY (semaphore_3)