diff --git a/src/tests/add-ons/kernel/network/Jamfile b/src/tests/add-ons/kernel/network/Jamfile index f929119507..c9462e6ccb 100644 --- a/src/tests/add-ons/kernel/network/Jamfile +++ b/src/tests/add-ons/kernel/network/Jamfile @@ -5,12 +5,14 @@ UsePrivateHeaders net ; # the network stack tester app SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src kernel libroot os ] ; + SimpleTest net_stack_tester : net_stack_tester.cpp userland_ipc.c userland_modules.cpp - : be + : be ; + LOCATE on net_stack_tester = [ on net_stack_tester return $(LOCATE) ] ; Depends net_stack_tester : net_stack_tester ; diff --git a/src/tests/add-ons/kernel/network/core/Jamfile b/src/tests/add-ons/kernel/network/core/Jamfile index 25ccf74679..9f6f935b9c 100644 --- a/src/tests/add-ons/kernel/network/core/Jamfile +++ b/src/tests/add-ons/kernel/network/core/Jamfile @@ -22,6 +22,6 @@ Addon core : userland network : socket.c ; -LinkSharedOSLibs core : root net_stack_tester ; +LinkSharedOSLibs core : net_stack_tester ; diff --git a/src/tests/add-ons/kernel/network/interfaces/Jamfile b/src/tests/add-ons/kernel/network/interfaces/Jamfile index 20976e44a4..ed6316444c 100644 --- a/src/tests/add-ons/kernel/network/interfaces/Jamfile +++ b/src/tests/add-ons/kernel/network/interfaces/Jamfile @@ -2,4 +2,6 @@ SubDir OBOS_TOP src tests add-ons kernel network interfaces ; SubInclude OBOS_TOP src tests add-ons kernel network interfaces ethernet ; SubInclude OBOS_TOP src tests add-ons kernel network interfaces loopback ; +# SubInclude OBOS_TOP src tests add-ons kernel network interfaces ppp ; + diff --git a/src/tests/add-ons/kernel/network/interfaces/ethernet/Jamfile b/src/tests/add-ons/kernel/network/interfaces/ethernet/Jamfile index 819e4392ba..fda37fbd00 100644 --- a/src/tests/add-ons/kernel/network/interfaces/ethernet/Jamfile +++ b/src/tests/add-ons/kernel/network/interfaces/ethernet/Jamfile @@ -8,5 +8,5 @@ Addon ethernet : userland network interfaces : ethernet.c ; -LinkSharedOSLibs ethernet : root net_stack_tester ; +LinkSharedOSLibs ethernet : net_stack_tester ; diff --git a/src/tests/add-ons/kernel/network/interfaces/loopback/Jamfile b/src/tests/add-ons/kernel/network/interfaces/loopback/Jamfile index 68e69778ac..9cb47e67e5 100644 --- a/src/tests/add-ons/kernel/network/interfaces/loopback/Jamfile +++ b/src/tests/add-ons/kernel/network/interfaces/loopback/Jamfile @@ -8,5 +8,5 @@ Addon loopback : userland network interfaces : loopback.c ; -LinkSharedOSLibs loopback : root net_stack_tester ; +LinkSharedOSLibs loopback : net_stack_tester ; diff --git a/src/tests/add-ons/kernel/network/interfaces/ppp/Jamfile b/src/tests/add-ons/kernel/network/interfaces/ppp/Jamfile new file mode 100644 index 0000000000..273717c6f6 --- /dev/null +++ b/src/tests/add-ons/kernel/network/interfaces/ppp/Jamfile @@ -0,0 +1,21 @@ +SubDir OBOS_TOP src tests add-ons kernel network interfaces ppp ; + +UsePrivateHeaders net ; +UsePrivateHeaders [ FDirName kernel ] ; +UsePrivateHeaders [ FDirName kernel util ] ; +UseHeaders [ FDirName $(OBOS_TOP) src add-ons kernel network ppp shared libkernelppp headers ] ; + +# for kernel_cpp.cpp/h and BLocker +SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src kernel core util ] ; +SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src kernel core disk_device_manager ] ; + +SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src add-ons kernel network interfaces ppp ] ; + +Addon ppp : userland network interfaces : + kernel_cpp.cpp + ppp.cpp + PPPManager.cpp +; + +LinkSharedOSLibs ppp : libkernelppp.a net_stack_tester ; + diff --git a/src/tests/add-ons/kernel/network/protocols/icmp/Jamfile b/src/tests/add-ons/kernel/network/protocols/icmp/Jamfile index 40005b0e7a..fe297775ab 100644 --- a/src/tests/add-ons/kernel/network/protocols/icmp/Jamfile +++ b/src/tests/add-ons/kernel/network/protocols/icmp/Jamfile @@ -8,4 +8,4 @@ Addon icmp : userland network protocols : icmp.c ; -LinkSharedOSLibs icmp : root net_stack_tester ; +LinkSharedOSLibs icmp : net_stack_tester ; diff --git a/src/tests/add-ons/kernel/network/protocols/ipv4/Jamfile b/src/tests/add-ons/kernel/network/protocols/ipv4/Jamfile index 0a94c47a95..a21bbb988b 100644 --- a/src/tests/add-ons/kernel/network/protocols/ipv4/Jamfile +++ b/src/tests/add-ons/kernel/network/protocols/ipv4/Jamfile @@ -8,4 +8,4 @@ Addon ipv4 : userland network protocols : ipv4.c ; -LinkSharedOSLibs ipv4 : root net_stack_tester ; +LinkSharedOSLibs ipv4 : net_stack_tester ; diff --git a/src/tests/add-ons/kernel/network/protocols/raw/Jamfile b/src/tests/add-ons/kernel/network/protocols/raw/Jamfile index d55c8ca0bd..494a018618 100644 --- a/src/tests/add-ons/kernel/network/protocols/raw/Jamfile +++ b/src/tests/add-ons/kernel/network/protocols/raw/Jamfile @@ -8,4 +8,4 @@ Addon raw : userland network protocols : raw.c ; -LinkSharedOSLibs raw : root net_stack_tester ; +LinkSharedOSLibs raw : net_stack_tester ; diff --git a/src/tests/add-ons/kernel/network/protocols/tcp/Jamfile b/src/tests/add-ons/kernel/network/protocols/tcp/Jamfile index 801b1633e4..32f5f8b25d 100644 --- a/src/tests/add-ons/kernel/network/protocols/tcp/Jamfile +++ b/src/tests/add-ons/kernel/network/protocols/tcp/Jamfile @@ -13,4 +13,4 @@ Addon tcp : userland network protocols : arc4random.c ; -LinkSharedOSLibs tcp : root net_stack_tester ; +LinkSharedOSLibs tcp : net_stack_tester ; diff --git a/src/tests/add-ons/kernel/network/protocols/udp/Jamfile b/src/tests/add-ons/kernel/network/protocols/udp/Jamfile index caa545165c..3ff917df7a 100644 --- a/src/tests/add-ons/kernel/network/protocols/udp/Jamfile +++ b/src/tests/add-ons/kernel/network/protocols/udp/Jamfile @@ -8,4 +8,4 @@ Addon udp : userland network protocols : udp.c ; -LinkSharedOSLibs udp : root net_stack_tester ; +LinkSharedOSLibs udp : net_stack_tester ;