mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
ci: limit example test to ESP32s
This commit is contained in:

committed by
Angus Gratton

parent
7f270d4299
commit
63329b169b
@@ -10,6 +10,7 @@ import hashlib
|
||||
|
||||
try:
|
||||
import IDF
|
||||
from IDF.IDFDUT import ESP32DUT
|
||||
except ImportError:
|
||||
# This environment variable is expected on the host machine
|
||||
test_fw_path = os.getenv("TEST_FW_PATH")
|
||||
@@ -40,7 +41,7 @@ def verify_elf_sha256_embedding(dut):
|
||||
|
||||
@IDF.idf_example_test(env_tag="Example_WIFI")
|
||||
def test_examples_blink(env, extra_data):
|
||||
dut = env.get_dut("blink", "examples/get-started/blink")
|
||||
dut = env.get_dut("blink", "examples/get-started/blink", dut_class=ESP32DUT)
|
||||
binary_file = os.path.join(dut.app.binary_path, "blink.bin")
|
||||
bin_size = os.path.getsize(binary_file)
|
||||
IDF.log_performance("blink_bin_size", "{}KB".format(bin_size // 1024))
|
||||
|
Reference in New Issue
Block a user