asio: examples renamed to have consistent binary names when build in make and CMake

* Original commit: espressif/esp-idf@9784df1c3a
This commit is contained in:
David Cermak
2018-09-12 15:52:38 +02:00
committed by gabsuren
parent 57672d5add
commit 86d107635b
8 changed files with 16 additions and 16 deletions

View File

@ -2,6 +2,6 @@
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#
PROJECT_NAME := asio_udp_echoserver
PROJECT_NAME := asio_udp_echo_server
include $(IDF_PATH)/make/project.mk

View File

@ -31,10 +31,10 @@ def test_examples_protocol_asio_udp_server(env, extra_data):
test_msg="echo message from client to server"
dut1 = env.get_dut("udp_echo_server", "examples/protocols/asio/udp_echo_server")
# check and log bin size
binary_file = os.path.join(dut1.app.binary_path, "asio_udp_echoserver.bin")
binary_file = os.path.join(dut1.app.binary_path, "asio_udp_echo_server.bin")
bin_size = os.path.getsize(binary_file)
IDF.log_performance("asio_udp_echoserver_bin_size", "{}KB".format(bin_size//1024))
IDF.check_performance("asio_udp_echoserver_size", bin_size//1024)
IDF.log_performance("asio_udp_echo_server_bin_size", "{}KB".format(bin_size//1024))
IDF.check_performance("asio_udp_echo_server_size", bin_size//1024)
# 1. start test
dut1.start_app()
# 2. get the server IP address