ci: limit example test to ESP32s

This commit is contained in:
Michael (XIAO Xufeng)
2019-08-29 17:54:14 +08:00
committed by Angus Gratton
parent 7f270d4299
commit 63329b169b
41 changed files with 87 additions and 46 deletions

View File

@@ -26,6 +26,7 @@ import random
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")
@@ -49,7 +50,7 @@ client = Utility.load_source("client", expath + "/scripts/client.py")
@IDF.idf_example_test(env_tag="Example_WIFI")
def test_examples_protocol_http_server_simple(env, extra_data):
# Acquire DUT
dut1 = env.get_dut("http_server", "examples/protocols/http_server/simple")
dut1 = env.get_dut("http_server", "examples/protocols/http_server/simple", dut_class=ESP32DUT)
# Get binary file
binary_file = os.path.join(dut1.app.binary_path, "simple.bin")