mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-23 23:37:31 +02:00
test: remove fake binary size check in example test:
the binary size check in example test was removed long time ago. Now we have updated ttfw_idf to raise exception when performance standard is not found. These fake performance check will be regarded as error. Remove them now. * Original commit: espressif/esp-idf@a908174c06
This commit is contained in:
@ -109,7 +109,6 @@ def test_examples_protocol_websocket(env, extra_data):
|
|||||||
binary_file = os.path.join(dut1.app.binary_path, "websocket-example.bin")
|
binary_file = os.path.join(dut1.app.binary_path, "websocket-example.bin")
|
||||||
bin_size = os.path.getsize(binary_file)
|
bin_size = os.path.getsize(binary_file)
|
||||||
ttfw_idf.log_performance("websocket_bin_size", "{}KB".format(bin_size // 1024))
|
ttfw_idf.log_performance("websocket_bin_size", "{}KB".format(bin_size // 1024))
|
||||||
ttfw_idf.check_performance("websocket_bin_size", bin_size // 1024, dut1.TARGET)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if "CONFIG_WEBSOCKET_URI_FROM_STDIN" in dut1.app.get_sdkconfig():
|
if "CONFIG_WEBSOCKET_URI_FROM_STDIN" in dut1.app.get_sdkconfig():
|
||||||
|
Reference in New Issue
Block a user