From dd488f7fffd084de1fba924dbb570e5ff886a354 Mon Sep 17 00:00:00 2001 From: Juhani Puurula Date: Mon, 10 Sep 2018 11:28:46 +0300 Subject: [PATCH] Renamed MAC tester config --- TEST_APPS/device/nanostack_mac_tester/README.md | 4 ++-- .../test_configs/{MACTester.json => NanostackMACTester.json} | 0 tools/test_configs/config_paths.json | 2 +- tools/test_configs/target_configs.json | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename tools/test_configs/{MACTester.json => NanostackMACTester.json} (100%) diff --git a/TEST_APPS/device/nanostack_mac_tester/README.md b/TEST_APPS/device/nanostack_mac_tester/README.md index 0929c7d258..ca04c44734 100644 --- a/TEST_APPS/device/nanostack_mac_tester/README.md +++ b/TEST_APPS/device/nanostack_mac_tester/README.md @@ -50,7 +50,7 @@ To set the application to interactive mode: 1. Build the application. ``` -mbed test --compile --icetea -t TOOLCHAIN -m TARGET_PLATFORM --test-config MAC_TESTER -n address_read_and_write,send_data,send_data_indirect,send_large_payloads,create_and_join_PAN,ED_scan +mbed test --compile --icetea -t TOOLCHAIN -m TARGET_PLATFORM --test-config NANOSTACK_MAC_TESTER -n address_read_and_write,send_data,send_data_indirect,send_large_payloads,create_and_join_PAN,ED_scan ``` 2. Connect your board and copy the compiled application binary from the `BUILD/tests/TARGET_PLATFORM/TOOLCHAIN/TEST_APPS/device/nanostack_mac_tester/` folder to the board. 3. Wait for the device to flash the binary. @@ -64,7 +64,7 @@ To start off, type `help` to list all commands available and furthermore `help < ### Automated mode ``` -mbed test --clean --compile --run --icetea -t TOOLCHAIN -m TARGET_PLATFORM --test-config MAC_TESTER -n address_read_and_write,send_data,send_data_indirect,send_large_payloads,create_and_join_PAN,ED_scan +mbed test --clean --compile --run --icetea -t TOOLCHAIN -m TARGET_PLATFORM --test-config NANOSTACK_MAC_TESTER -n address_read_and_write,send_data,send_data_indirect,send_large_payloads,create_and_join_PAN,ED_scan ``` Many of the provided testcases have a `self.channel` variable in the `setUp()` function for setting the RF channel. The default channel is 11. If you wish to run a test on another channel, you will need to change it manually in TEST_APPS/testcases/nanostack_mac_tester/. diff --git a/tools/test_configs/MACTester.json b/tools/test_configs/NanostackMACTester.json similarity index 100% rename from tools/test_configs/MACTester.json rename to tools/test_configs/NanostackMACTester.json diff --git a/tools/test_configs/config_paths.json b/tools/test_configs/config_paths.json index c1328baf2d..e8684f6f88 100644 --- a/tools/test_configs/config_paths.json +++ b/tools/test_configs/config_paths.json @@ -14,5 +14,5 @@ "THREAD_END_DEVICE" : "ThreadInterface_end_device.json", "THREAD_ROUTER" : "ThreadInterface_router.json", "NO_NETWORK": "no_network.json", - "MAC_TESTER": "MACTester.json" + "NANOSTACK_MAC_TESTER": "NanostackMACTester.json" } diff --git a/tools/test_configs/target_configs.json b/tools/test_configs/target_configs.json index 8750262cd5..a55f72d568 100644 --- a/tools/test_configs/target_configs.json +++ b/tools/test_configs/target_configs.json @@ -9,11 +9,11 @@ }, "K64F": { "default_test_configuration": "HEAPBLOCKDEVICE_AND_ETHERNET", - "test_configurations": ["HEAPBLOCKDEVICE_AND_ETHERNET", "MAC_TESTER", "ESP8266_WIFI", "ETHERNET"] + "test_configurations": ["HEAPBLOCKDEVICE_AND_ETHERNET", "NANOSTACK_MAC_TESTER", "ESP8266_WIFI", "ETHERNET"] }, "NUCLEO_F429ZI": { "default_test_configuration": "HEAPBLOCKDEVICE_AND_ETHERNET", - "test_configurations": ["HEAPBLOCKDEVICE_AND_ETHERNET", "MAC_TESTER"] + "test_configurations": ["HEAPBLOCKDEVICE_AND_ETHERNET", "NANOSTACK_MAC_TESTER"] }, "DISCO_L475VG_IOT01A": { "default_test_configuration": "NONE",