Fix test-module-load-list for use-uv
This commit is contained in:
parent
8527f00c3c
commit
799c7bdcb6
1
Makefile
1
Makefile
@ -166,6 +166,7 @@ UVTEST += simple/test-next-tick-errors
|
|||||||
UVTEST += simple/test-next-tick-ordering
|
UVTEST += simple/test-next-tick-ordering
|
||||||
UVTEST += simple/test-next-tick-ordering2
|
UVTEST += simple/test-next-tick-ordering2
|
||||||
UVTEST += simple/test-next-tick-starvation
|
UVTEST += simple/test-next-tick-starvation
|
||||||
|
UVTEST += simple/test-module-load-list
|
||||||
UVTEST += simple/test-path
|
UVTEST += simple/test-path
|
||||||
UVTEST += simple/test-pipe-stream
|
UVTEST += simple/test-pipe-stream
|
||||||
UVTEST += simple/test-pump-file2tcp
|
UVTEST += simple/test-pump-file2tcp
|
||||||
|
@ -58,18 +58,33 @@ checkExpected();
|
|||||||
// Now do the test again after we console.log something.
|
// Now do the test again after we console.log something.
|
||||||
console.log("load console.log");
|
console.log("load console.log");
|
||||||
|
|
||||||
expected = expected.concat([
|
if (!process.features.uv) {
|
||||||
'NativeModule console',
|
expected = expected.concat([
|
||||||
'NativeModule net_legacy',
|
'NativeModule console',
|
||||||
'NativeModule timers_legacy',
|
'NativeModule net_legacy',
|
||||||
'Binding timer',
|
'NativeModule timers_legacy',
|
||||||
'NativeModule _linklist',
|
'Binding timer',
|
||||||
'Binding net',
|
'NativeModule _linklist',
|
||||||
'NativeModule freelist',
|
'Binding net',
|
||||||
'Binding io_watcher',
|
'NativeModule freelist',
|
||||||
'NativeModule tty',
|
'Binding io_watcher',
|
||||||
'NativeModule tty_posix', // FIXME branch on win32 here.
|
'NativeModule tty',
|
||||||
]);
|
'NativeModule tty_posix', // FIXME branch on win32 here.
|
||||||
|
]);
|
||||||
|
} else {
|
||||||
|
expected = expected.concat([
|
||||||
|
'NativeModule console',
|
||||||
|
'NativeModule net_legacy',
|
||||||
|
'NativeModule timers_uv',
|
||||||
|
'Binding timer_wrap',
|
||||||
|
'NativeModule _linklist',
|
||||||
|
'Binding net',
|
||||||
|
'NativeModule freelist',
|
||||||
|
'Binding io_watcher',
|
||||||
|
'NativeModule tty',
|
||||||
|
'NativeModule tty_posix'
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
checkExpected();
|
checkExpected();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user