libuv: reenable tests on macOS
I want these tests to run because libuv is very important to lots of things in Nixpkgs. I have a very large list of tests to disable for now just to be on the safe side. For the record this is definitely a libuv issue - their tests should be robust - but this is a safety precaution for now.
This commit is contained in:
parent
1dca19f057
commit
e8303d2baf
@ -20,8 +20,22 @@ stdenv.mkDerivation rec {
|
|||||||
"getaddrinfo_fail" "getaddrinfo_fail_sync"
|
"getaddrinfo_fail" "getaddrinfo_fail_sync"
|
||||||
"threadpool_multiple_event_loops" # times out on slow machines
|
"threadpool_multiple_event_loops" # times out on slow machines
|
||||||
]
|
]
|
||||||
# sometimes: timeout (no output), failed uv_listen
|
# Sometimes: timeout (no output), failed uv_listen. Someone
|
||||||
++ stdenv.lib.optionals stdenv.isDarwin [ "process_title" "emfile" ];
|
# should report these failures to libuv team. There tests should
|
||||||
|
# be much more robust.
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin [
|
||||||
|
"process_title" "emfile" "poll_duplex" "poll_unidirectional"
|
||||||
|
"ipc_listen_before_write" "ipc_listen_after_write" "ipc_tcp_connection"
|
||||||
|
"tcp_alloc_cb_fail" "tcp_ping_pong" "tcp_ref3" "tcp_ref4"
|
||||||
|
"tcp_bind6_error_inval" "tcp_bind6_error_addrinuse" "tcp_read_stop"
|
||||||
|
"tcp_unexpected_read" "tcp_write_to_half_open_connection"
|
||||||
|
"tcp_oob" "tcp_close_accept" "tcp_create_early_accept"
|
||||||
|
"tcp_create_early" "tcp_close" "tcp_bind_error_inval"
|
||||||
|
"tcp_bind_error_addrinuse" "tcp_shutdown_after_write"
|
||||||
|
"tcp_open" "tcp_write_queue_order" "tcp_try_write" "tcp_writealot"
|
||||||
|
"multiple_listen" "delayed_accept"
|
||||||
|
"shutdown_close_tcp" "shutdown_eof" "shutdown_twice" "callback_stack"
|
||||||
|
];
|
||||||
tdRegexp = lib.concatStringsSep "\\|" toDisable;
|
tdRegexp = lib.concatStringsSep "\\|" toDisable;
|
||||||
in lib.optionalString doCheck ''
|
in lib.optionalString doCheck ''
|
||||||
sed '/${tdRegexp}/d' -i test/test-list.h
|
sed '/${tdRegexp}/d' -i test/test-list.h
|
||||||
@ -35,10 +49,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# These should be turned back on, but see https://github.com/NixOS/nixpkgs/issues/23651
|
doCheck = true;
|
||||||
# For now the tests are just breaking large swaths of the nixpkgs binary cache for Darwin,
|
|
||||||
# and I'd rather have everything else work at all than have stronger assurance here.
|
|
||||||
doCheck = !stdenv.isDarwin;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A multi-platform support library with a focus on asynchronous I/O";
|
description = "A multi-platform support library with a focus on asynchronous I/O";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user