@@ -197,7 +197,8 @@ if(WIN32)
197197 ws2_32
198198 dbghelp
199199 ole32
200- shell32)
200+ shell32
201+ synchronization)
201202 list(APPEND uv_sources
202203 src/win/async.c
203204 src/win/core.c
@@ -407,19 +408,21 @@ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
407408 list(APPEND uv_libraries kstat nsl sendfile socket)
408409 list(APPEND uv_sources
409410 src/unix/no-proctitle.c
411+ src/unix/random-getrandom.c
410412 src/unix/sunos.c)
411413endif()
412414
413415if(CMAKE_SYSTEM_NAME STREQUAL "Haiku")
414416 list(APPEND uv_defines _BSD_SOURCE)
415- list(APPEND uv_libraries bsd network)
417+ list(APPEND uv_libraries network)
416418 list(APPEND uv_sources
417419 src/unix/haiku.c
418420 src/unix/bsd-ifaddrs.c
419421 src/unix/no-fsevents.c
420422 src/unix/no-proctitle.c
421423 src/unix/posix-hrtime.c
422424 src/unix/posix-poll.c)
425+ list(APPEND uv_test_libraries bsd)
423426endif()
424427
425428if(CMAKE_SYSTEM_NAME STREQUAL "QNX")
@@ -593,6 +596,7 @@ if(LIBUV_BUILD_TESTS)
593596 test/test-mutexes.c
594597 test/test-not-readable-nor-writable-on-read-error.c
595598 test/test-not-writable-after-shutdown.c
599+ test/test-osx-resident-set-memory.c
596600 test/test-osx-select.c
597601 test/test-pass-always.c
598602 test/test-ping-pong.c
@@ -607,6 +611,7 @@ if(LIBUV_BUILD_TESTS)
607611 test/test-pipe-server-close.c
608612 test/test-pipe-set-fchmod.c
609613 test/test-pipe-set-non-blocking.c
614+ test/test-pipe-write.c
610615 test/test-platform-output.c
611616 test/test-poll-close-doesnt-corrupt-stack.c
612617 test/test-poll-close.c
@@ -631,9 +636,11 @@ if(LIBUV_BUILD_TESTS)
631636 test/test-signal-multiple-loops.c
632637 test/test-signal-pending-on-close.c
633638 test/test-signal.c
639+ test/test-sizeof.c
634640 test/test-socket-buffer-size.c
635641 test/test-spawn.c
636642 test/test-stdio-over-pipes.c
643+ test/test-io-64-safe.c
637644 test/test-strscpy.c
638645 test/test-strtok.c
639646 test/test-tcp-alloc-cb-fail.c
@@ -663,6 +670,8 @@ if(LIBUV_BUILD_TESTS)
663670 test/test-tcp-unexpected-read.c
664671 test/test-tcp-write-after-connect.c
665672 test/test-tcp-write-fail.c
673+ test/test-write-cancel.c
674+ test/test-tcp-write-in-read-cb-backend-timeout.c
666675 test/test-tcp-write-queue-order.c
667676 test/test-tcp-write-to-half-open-connection.c
668677 test/test-tcp-writealot.c
@@ -697,6 +706,7 @@ if(LIBUV_BUILD_TESTS)
697706 test/test-udp-open.c
698707 test/test-udp-options.c
699708 test/test-udp-send-and-recv.c
709+ test/test-udp-send-fail.c
700710 test/test-udp-send-hang-loop.c
701711 test/test-udp-send-immediate.c
702712 test/test-udp-sendmmsg-error.c
@@ -749,6 +759,8 @@ if(LIBUV_BUILD_TESTS)
749759 COMMAND "${CMAKE_COMMAND}" -E copy
750760 "$<TARGET_FILE:uv_run_tests_a>"
751761 "$<TARGET_FILE_DIR:uv_run_tests_a>/uv_run_tests_a_no_ext")
762+ add_executable(uv_run_appcontainer test/appcontainer.c)
763+ target_link_libraries(uv_run_appcontainer userenv advapi32 ntdll)
752764 endif()
753765
754766 if(QNX)
0 commit comments