From bf18ea2fe1dbbfa1edadc24e3d41bab24b25565c Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 10 Feb 2016 08:10:48 -0500 Subject: [PATCH] net: remove obsolete 15.4 test case Change-Id: Idc43b314accb690383bbddffe15ce36d846b1680 Signed-off-by: Anas Nashif --- .../apps/net/test/test_15_4/Makefile | 26 ------ .../apps/net/test/test_15_4/README | 84 ------------------- .../apps/net/test/test_15_4/prj.mdef | 11 --- .../apps/net/test/test_15_4/prj_arm.conf | 6 -- .../apps/net/test/test_15_4/prj_x86.conf | 8 -- 5 files changed, 135 deletions(-) delete mode 100644 samples/microkernel/apps/net/test/test_15_4/Makefile delete mode 100644 samples/microkernel/apps/net/test/test_15_4/README delete mode 100644 samples/microkernel/apps/net/test/test_15_4/prj.mdef delete mode 100644 samples/microkernel/apps/net/test/test_15_4/prj_arm.conf delete mode 100644 samples/microkernel/apps/net/test/test_15_4/prj_x86.conf diff --git a/samples/microkernel/apps/net/test/test_15_4/Makefile b/samples/microkernel/apps/net/test/test_15_4/Makefile deleted file mode 100644 index 82805272730..00000000000 --- a/samples/microkernel/apps/net/test/test_15_4/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -# Makefile - IP 15.4 test Makefile for nanokernel - -# -# Copyright (c) 2011-2014, Wind River Systems, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -MDEF_FILE = prj.mdef -KERNEL_TYPE = micro -BOARD ?= qemu_x86 -CONF_FILE = prj_$(ARCH).conf -SOURCE_DIR = $(ZEPHYR_BASE)/samples/net/test_15_4/src/ - -include $(ZEPHYR_BASE)/Makefile.inc -include $(ZEPHYR_BASE)/samples/net/test_15_4/Makefile.15_4 diff --git a/samples/microkernel/apps/net/test/test_15_4/README b/samples/microkernel/apps/net/test/test_15_4/README deleted file mode 100644 index 277f1c51ee0..00000000000 --- a/samples/microkernel/apps/net/test/test_15_4/README +++ /dev/null @@ -1,84 +0,0 @@ -802.15.4 test Application: - -1) Loopback in single qemu: - - $ make qemu0 - - This enables the dummy driver will feed sending 802.15.4 frames back to - 15_4 Rx FIFO. 15_4 Rx FIFO will asseble all frames and feed it to IP Rx FIFO. - - -2) Loopback between two qemus without monitoring support: - - $ make qemu1 - - Then in second window start the other qemu - - $ make qemu2 - - If you want to run test 3) then you need to remove the pipes before - doing so. - - $ make remove_pipes - -3) Loopback between two qemus with monitoring support: - - $ make qemu1monitor - - Then in second window start the monitor (found in net/ip/tools directory) - $ ./monitor_15_4 sample.pcap - - Then in third window start the other qemu - - $ make qemu2monitor - - If you want to run test 2) then you need to remove the pipes before - doing so. - - $ make remove_pipes - - - -Expert and more detailed instructions: --------------------------------------- -You can execute the tests manually if needed. Just follow the instructions -below. - -802.15.4 test Application: - - 1) Loopback in single qemu: - Enable CONFIG_NETWORKING_WITH_15_4_LOOPBACK config option in prj_x86/arm.conf - to test 802.15.4. By enabling this option dummy driver will feed sending - 802.15.4 frames back to 15_4 Rx FIFO. 15_4 Rx FIFO will asseble all frames - and feed it to IP Rx FIFO. - - 2) Loopback between two qemus: - Enable CONFIG_NETWORKING_WITH_15_4_LOOPBACK_UART config option in - prj_x86/arm.conf to send 802.15.4 frames out through QEMU UART and receive - frames through QEMU UART. - - Follow below simple steps to create fifos at host. - - $ mkfifo /tmp/ip-15-4-1.{in,out} - $ ln /tmp/ip-15-4-1.in /tmp/ip-15-4-2.out - $ ln /tmp/ip-15-4-1.out /tmp/ip-15-4-2.in - - Open two terminals and run two qemus with below options. - $ make qemu QEMU_NUM=1 CONFIG_NETWORKING_WITH_15_4_LOOPBACK_UART=y - $ make qemu QEMU_NUM=2 CONFIG_NETWORKING_WITH_15_4_LOOPBACK_UART=y - - 3) Loopback between two qemus and pcap support: - Enable CONFIG_NETWORKING_WITH_15_4_LOOPBACK_UART config option in - prj_x86/arm.conf to send 802.15.4 frames out through QEMU UART and receive - frames through QEMU UART. - - Follow below simple steps to create fifos at host. - - $ mkfifo /tmp/ip-15-4-1.{in,out} - $ mkfifo /tmp/ip-15-4-2.{in,out} - - also read net/ip/contiki/tools/README and run monitor_15.4 - and then - - $ make qemu QEMU_NUM=1 CONFIG_NETWORKING_WITH_15_4_LOOPBACK_UART=y - $ make qemu QEMU_NUM=2 CONFIG_NETWORKING_WITH_15_4_LOOPBACK_UART=y diff --git a/samples/microkernel/apps/net/test/test_15_4/prj.mdef b/samples/microkernel/apps/net/test/test_15_4/prj.mdef deleted file mode 100644 index cb307179328..00000000000 --- a/samples/microkernel/apps/net/test/test_15_4/prj.mdef +++ /dev/null @@ -1,11 +0,0 @@ -% Application : Network demo - -% TASK NAME PRIO ENTRY STACK GROUPS -% ================================== - TASK TASKA 7 taskA 2048 [EXE] - TASK TASKB 7 taskB 2048 [EXE] - -% SEMA NAME -% ============= - SEMA TASKASEM - SEMA TASKBSEM diff --git a/samples/microkernel/apps/net/test/test_15_4/prj_arm.conf b/samples/microkernel/apps/net/test/test_15_4/prj_arm.conf deleted file mode 100644 index fccd04e0a22..00000000000 --- a/samples/microkernel/apps/net/test/test_15_4/prj_arm.conf +++ /dev/null @@ -1,6 +0,0 @@ -CONFIG_NETWORKING=y -CONFIG_NETWORKING_WITH_LOGGING=y -CONFIG_NETWORKING_WITH_6LOWPAN=y -CONFIG_NETWORKING_WITH_15_4=y -CONFIG_NET_BUF_RX_SIZE=5 -CONFIG_NET_BUF_TX_SIZE=3 diff --git a/samples/microkernel/apps/net/test/test_15_4/prj_x86.conf b/samples/microkernel/apps/net/test/test_15_4/prj_x86.conf deleted file mode 100644 index a52654e1b42..00000000000 --- a/samples/microkernel/apps/net/test/test_15_4/prj_x86.conf +++ /dev/null @@ -1,8 +0,0 @@ -CONFIG_NETWORKING=y -CONFIG_NETWORKING_WITH_LOGGING=y -CONFIG_NETWORKING_WITH_6LOWPAN=y -CONFIG_NETWORKING_WITH_15_4=y -CONFIG_NET_BUF_RX_SIZE=5 -CONFIG_NET_BUF_TX_SIZE=3 -CONFIG_NET_15_4_LOOPBACK_NUM=1 -CONFIG_NET_SANITY_TEST=y