@@ -17,6 +17,12 @@ else()
1717 set (IS_LINUX FALSE )
1818endif ()
1919
20+ if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows" )
21+ set (IS_POSIX TRUE )
22+ else ()
23+ set (IS_POSIX FALSE )
24+ endif ()
25+
2026option (ENABLE_EXTENDED_FUNCTIONAL_TESTS "Enable extended/slow functional tests" OFF )
2127option (ENABLE_PREVIOUS_RELEASES_TESTS "Enable tests requiring previous Bitcoin releases" OFF )
2228option (ENABLE_USDT_TESTS "Enable USDT tracepoint tests (requires Linux + BPF permissions)" OFF )
@@ -216,7 +222,6 @@ add_functional_test(interface_zmq "interface_zmq.py" COST 21)
216222add_functional_test(rpc_invalid_address_message "rpc_invalid_address_message.py" COST 20)
217223add_functional_test(rpc_validateaddress "rpc_validateaddress.py" COST 19)
218224add_functional_test(interface_bitcoin_cli "interface_bitcoin_cli.py" COST 18)
219- add_functional_test(feature_bind_extra "feature_bind_extra.py" COST 17)
220225add_functional_test(mempool_resurrect "mempool_resurrect.py" COST 16)
221226add_functional_test(tool_bitcoin_chainstate "tool_bitcoin_chainstate.py" COST 15)
222227add_functional_test(tool_utils "tool_utils.py" COST 14)
@@ -240,7 +245,6 @@ add_functional_test(p2p_compactblocks_hb_v1 "p2p_compactblocks_hb.py --v1transpo
240245add_functional_test(p2p_compactblocks_hb_v2 "p2p_compactblocks_hb.py --v2transport" COST 5)
241246add_functional_test(p2p_disconnect_ban_v1 "p2p_disconnect_ban.py --v1transport" COST 5)
242247add_functional_test(p2p_disconnect_ban_v2 "p2p_disconnect_ban.py --v2transport" COST 5)
243- add_functional_test(feature_posix_fs_permissions "feature_posix_fs_permissions.py" COST 5)
244248add_functional_test(rpc_decodescript "rpc_decodescript.py" COST 5)
245249add_functional_test(rpc_blockchain_v1 "rpc_blockchain.py --v1transport" COST 5)
246250add_functional_test(rpc_blockchain_v2 "rpc_blockchain.py --v2transport" COST 5)
@@ -368,8 +372,14 @@ add_functional_test(feature_shutdown "feature_shutdown.py" COST 5)
368372add_functional_test(p2p_ibd_txrelay "p2p_ibd_txrelay.py" COST 5)
369373add_functional_test(p2p_seednode "p2p_seednode.py" COST 5)
370374
375+ # POSIX-only tests (Linux, macOS, etc. - not Windows)
376+ if (IS_POSIX)
377+ add_functional_test(feature_posix_fs_permissions "feature_posix_fs_permissions.py" COST 5 LABELS "posix_only" )
378+ endif ()
379+
371380# Linux-only tests
372381if (IS_LINUX)
382+ add_functional_test(feature_bind_extra "feature_bind_extra.py" COST 17 LABELS "linux_only" )
373383 add_functional_test(rpc_bind_ipv4 "rpc_bind.py --ipv4" COST 5 LABELS "linux_only" )
374384 add_functional_test(rpc_bind_ipv6 "rpc_bind.py --ipv6" COST 5 LABELS "linux_only" )
375385 add_functional_test(rpc_bind_nonloopback "rpc_bind.py --nonloopback" COST 5 LABELS "linux_only" )
0 commit comments