@ -20,8 +20,22 @@ stdenv.mkDerivation rec {
" g e t a d d r i n f o _ f a i l " " g e t a d d r i n f o _ f a i l _ s y n c "
" t h r e a d p o o l _ m u l t i p l e _ e v e n t _ l o o p s " # times out on slow machines
]
# sometimes: timeout (no output), failed uv_listen
++ stdenv . lib . optionals stdenv . isDarwin [ " p r o c e s s _ t i t l e " " e m f i l e " ] ;
# Sometimes: timeout (no output), failed uv_listen. Someone
# should report these failures to libuv team. There tests should
# be much more robust.
++ stdenv . lib . optionals stdenv . isDarwin [
" p r o c e s s _ t i t l e " " e m f i l e " " p o l l _ d u p l e x " " p o l l _ u n i d i r e c t i o n a l "
" i p c _ l i s t e n _ b e f o r e _ w r i t e " " i p c _ l i s t e n _ a f t e r _ w r i t e " " i p c _ t c p _ c o n n e c t i o n "
" t c p _ a l l o c _ c b _ f a i l " " t c p _ p i n g _ p o n g " " t c p _ r e f 3 " " t c p _ r e f 4 "
" t c p _ b i n d 6 _ e r r o r _ i n v a l " " t c p _ b i n d 6 _ e r r o r _ a d d r i n u s e " " t c p _ r e a d _ s t o p "
" t c p _ u n e x p e c t e d _ r e a d " " t c p _ w r i t e _ t o _ h a l f _ o p e n _ c o n n e c t i o n "
" t c p _ o o b " " t c p _ c l o s e _ a c c e p t " " t c p _ c r e a t e _ e a r l y _ a c c e p t "
" t c p _ c r e a t e _ e a r l y " " t c p _ c l o s e " " t c p _ b i n d _ e r r o r _ i n v a l "
" t c p _ b i n d _ e r r o r _ a d d r i n u s e " " t c p _ s h u t d o w n _ a f t e r _ w r i t e "
" t c p _ o p e n " " t c p _ w r i t e _ q u e u e _ o r d e r " " t c p _ t r y _ w r i t e " " t c p _ w r i t e a l o t "
" m u l t i p l e _ l i s t e n " " d e l a y e d _ a c c e p t "
" s h u t d o w n _ c l o s e _ t c p " " s h u t d o w n _ e o f " " s h u t d o w n _ t w i c e " " c a l l b a c k _ s t a c k "
] ;
tdRegexp = lib . concatStringsSep " \\ | " toDisable ;
in lib . optionalString doCheck ''
sed ' / $ { tdRegexp } /d ' - i test/test-list.h
@ -35,10 +49,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true ;
# These should be turned back on, but see https://github.com/NixOS/nixpkgs/issues/23651
# 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 ;
doCheck = true ;
meta = with lib ; {
description = " A m u l t i - p l a t f o r m s u p p o r t l i b r a r y w i t h a f o c u s o n a s y n c h r o n o u s I / O " ;