tests/kits/net: Move libnetwork-related tests to tests/system/network.

This commit is contained in:
Augustin Cavalier
2018-12-21 12:26:38 -05:00
parent 8a8e01bf41
commit 5e54f6d4f9
78 changed files with 43 additions and 38 deletions
-27
View File
@@ -2,28 +2,8 @@ SubDir HAIKU_TOP src tests kits net ;
SetSubDirSupportedPlatformsBeOSCompatible ;
SimpleTest firefox_crash : firefox_crash.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest udp_client : udp_client.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest udp_connect : udp_connect.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest udp_echo : udp_echo.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest udp_server : udp_server.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest tcp_server : tcp_server.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest tcp_client : tcp_client.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest ipv46_server : ipv46_server.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest ipv46_client : ipv46_client.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest link_echo : link_echo.cpp : $(TARGET_NETWORK_LIBS) bnetapi be ;
SimpleTest getpeername : getpeername.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest if_nameindex : if_nameindex.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest tcp_connection_test : tcp_connection_test.cpp
: $(TARGET_NETWORK_LIBS) ;
SimpleTest NetAddressTest : NetAddressTest.cpp
: $(TARGET_NETWORK_LIBS) $(HAIKU_NETAPI_LIB) ;
@@ -33,13 +13,6 @@ SimpleTest NetEndpointTest : NetEndpointTest.cpp
SimpleTest wlan_test : wlan_test.cpp : $(TARGET_NETWORK_LIBS) bnetapi be ;
SubInclude HAIKU_TOP src tests kits net cookie ;
SubInclude HAIKU_TOP src tests kits net icmp ;
SubInclude HAIKU_TOP src tests kits net ipv6 ;
HaikuSubInclude libnetapi ;
SubInclude HAIKU_TOP src tests kits net multicast ;
SubInclude HAIKU_TOP src tests kits net posixnet ;
SubInclude HAIKU_TOP src tests kits net service ;
SubInclude HAIKU_TOP src tests kits net sock ;
SubInclude HAIKU_TOP src tests kits net tcp_shell ;
SubInclude HAIKU_TOP src tests kits net tcptester ;
SubInclude HAIKU_TOP src tests kits net urlRequest ;
+1
View File
@@ -5,3 +5,4 @@ SubInclude HAIKU_TOP src tests system boot ;
SubInclude HAIKU_TOP src tests system glue ;
SubInclude HAIKU_TOP src tests system kernel ;
SubInclude HAIKU_TOP src tests system libroot ;
SubInclude HAIKU_TOP src tests system network ;
+31
View File
@@ -0,0 +1,31 @@
SubDir HAIKU_TOP src tests system network ;
SetSubDirSupportedPlatformsBeOSCompatible ;
SimpleTest firefox_crash : firefox_crash.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest udp_client : udp_client.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest udp_connect : udp_connect.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest udp_echo : udp_echo.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest udp_server : udp_server.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest tcp_server : tcp_server.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest tcp_client : tcp_client.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest ipv46_server : ipv46_server.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest ipv46_client : ipv46_client.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest getpeername : getpeername.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest if_nameindex : if_nameindex.c : $(TARGET_NETWORK_LIBS) ;
SimpleTest tcp_connection_test : tcp_connection_test.cpp
: $(TARGET_NETWORK_LIBS) ;
SubInclude HAIKU_TOP src tests system network icmp ;
SubInclude HAIKU_TOP src tests system network ipv6 ;
SubInclude HAIKU_TOP src tests system network multicast ;
SubInclude HAIKU_TOP src tests system network posixnet ;
SubInclude HAIKU_TOP src tests system network sock ;
SubInclude HAIKU_TOP src tests system network tcp_shell ;
SubInclude HAIKU_TOP src tests system network tcptester ;
@@ -1,4 +1,4 @@
SubDir HAIKU_TOP src tests kits net icmp ;
SubDir HAIKU_TOP src tests system network icmp ;
SimpleTest big_datagram :
big_datagram.cpp
@@ -1,4 +1,4 @@
SubDir HAIKU_TOP src tests kits net ipv6 ;
SubDir HAIKU_TOP src tests system network ipv6 ;
SimpleTest ipv6_raw_server : raw_server.cpp : $(TARGET_NETWORK_LIBS) ;
SimpleTest ipv6_raw_client : raw_client.cpp : $(TARGET_NETWORK_LIBS) ;
@@ -1,4 +1,4 @@
SubDir HAIKU_TOP src tests kits net multicast ;
SubDir HAIKU_TOP src tests system network multicast ;
BinCommand multicast :
multicast.cpp
@@ -1,4 +1,4 @@
SubDir HAIKU_TOP src tests kits net posixnet ;
SubDir HAIKU_TOP src tests system network posixnet ;
UsePrivateHeaders private shared ;
@@ -1,4 +1,4 @@
SubDir HAIKU_TOP src tests kits net sock ;
SubDir HAIKU_TOP src tests system network sock ;
UseHeaders $(SUBDIR) : true ;
@@ -1,4 +1,4 @@
SubDir HAIKU_TOP src tests kits net tcp_shell ;
SubDir HAIKU_TOP src tests system network tcp_shell ;
SetSubDirSupportedPlatformsBeOSCompatible ;
@@ -43,18 +43,18 @@ SimpleTest BufferQueueTest :
: be libkernelland_emu.so
;
SEARCH on [ FGristFiles
SEARCH on [ FGristFiles
tcp.cpp TCPEndpoint.cpp BufferQueue.cpp EndpointManager.cpp
] = [ FDirName $(HAIKU_TOP) src add-ons kernel network protocols tcp ] ;
SEARCH on [ FGristFiles
SEARCH on [ FGristFiles
ipv4_address.cpp
] = [ FDirName $(HAIKU_TOP) src add-ons kernel network protocols ipv4 ] ;
SEARCH on [ FGristFiles
SEARCH on [ FGristFiles
ancillary_data.cpp net_buffer.cpp utility.cpp
] = [ FDirName $(HAIKU_TOP) src add-ons kernel network stack ] ;
SEARCH on [ FGristFiles
SEARCH on [ FGristFiles
argv.c
] = [ FDirName $(HAIKU_TOP) src tests add-ons kernel file_systems fs_shell ] ;
@@ -1,4 +1,4 @@
SubDir HAIKU_TOP src tests kits net tcptester ;
SubDir HAIKU_TOP src tests system network tcptester ;
BinCommand tcptester :
tcptester.cpp