From eb7eeb58d301337ff70c8ef2718711f939eefd10 Mon Sep 17 00:00:00 2001 From: Jakob Hasse Date: Mon, 5 Jul 2021 14:33:56 +0800 Subject: [PATCH] [examples]: removed hyphens Replaced hyphens with underscores in examples project definition for all examples which had hyphens in their project name. dpp-enrollee is an exceptions because the name matches the project directory name while the project directory also contains hyphens. * Original commit: espressif/esp-idf@81e926620498e55beb8eb4bd9c4169e8f3338563 --- examples/protocols/mdns/CMakeLists.txt | 2 +- examples/protocols/mdns/Makefile | 2 +- examples/protocols/mdns/mdns_example_test.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/protocols/mdns/CMakeLists.txt b/examples/protocols/mdns/CMakeLists.txt index ddd7263c5..e624184a2 100644 --- a/examples/protocols/mdns/CMakeLists.txt +++ b/examples/protocols/mdns/CMakeLists.txt @@ -7,4 +7,4 @@ cmake_minimum_required(VERSION 3.5) set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common) include($ENV{IDF_PATH}/tools/cmake/project.cmake) -project(mdns-test) +project(mdns_test) diff --git a/examples/protocols/mdns/Makefile b/examples/protocols/mdns/Makefile index 5b69ef89c..90408709d 100644 --- a/examples/protocols/mdns/Makefile +++ b/examples/protocols/mdns/Makefile @@ -3,7 +3,7 @@ # project subdirectory. # -PROJECT_NAME := mdns-test +PROJECT_NAME := mdns_test EXTRA_COMPONENT_DIRS = $(IDF_PATH)/examples/common_components/protocol_examples_common diff --git a/examples/protocols/mdns/mdns_example_test.py b/examples/protocols/mdns/mdns_example_test.py index a3e36dd78..68a780687 100644 --- a/examples/protocols/mdns/mdns_example_test.py +++ b/examples/protocols/mdns/mdns_example_test.py @@ -115,7 +115,7 @@ def test_examples_protocol_mdns(env, extra_data): """ dut1 = env.get_dut('mdns-test', 'examples/protocols/mdns', dut_class=ttfw_idf.ESP32DUT) # check and log bin size - binary_file = os.path.join(dut1.app.binary_path, 'mdns-test.bin') + binary_file = os.path.join(dut1.app.binary_path, 'mdns_test.bin') bin_size = os.path.getsize(binary_file) ttfw_idf.log_performance('mdns-test_bin_size', '{}KB'.format(bin_size // 1024)) # 1. start mdns application