mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 13:02:21 +02:00
Add multi-target support for performance tests
* Original commit: espressif/esp-idf@15884eccf2
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
2a23f355c7
commit
ef9a758662
@ -103,7 +103,7 @@ def test_examples_protocol_mdns(env, extra_data):
|
|||||||
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)
|
bin_size = os.path.getsize(binary_file)
|
||||||
ttfw_idf.log_performance("mdns-test_bin_size", "{}KB".format(bin_size // 1024))
|
ttfw_idf.log_performance("mdns-test_bin_size", "{}KB".format(bin_size // 1024))
|
||||||
ttfw_idf.check_performance("mdns-test_bin_size", bin_size // 1024)
|
ttfw_idf.check_performance("mdns-test_bin_size", bin_size // 1024, dut1.TARGET)
|
||||||
# 1. start mdns application
|
# 1. start mdns application
|
||||||
dut1.start_app()
|
dut1.start_app()
|
||||||
# 2. get the dut host name (and IP address)
|
# 2. get the dut host name (and IP address)
|
||||||
|
Reference in New Issue
Block a user