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

committed by
Angus Gratton

parent
7f270d4299
commit
63329b169b
@@ -5,6 +5,7 @@ import os
|
||||
import sys
|
||||
try:
|
||||
import IDF
|
||||
from IDF.IDFDUT import ESP32DUT
|
||||
except ImportError:
|
||||
# The test cause is dependent on the Tiny Test Framework. Ensure the
|
||||
# `TEST_FW_PATH` environment variable is set to `$IDF_PATH/tools/tiny-test-fw`
|
||||
@@ -22,7 +23,7 @@ EXPECT_TIMEOUT = 20
|
||||
@IDF.idf_example_test(env_tag='Example_CAN')
|
||||
def test_can_self_test_example(env, extra_data):
|
||||
# Get device under test, flash and start example. "dut4" must be defined in EnvConfig
|
||||
dut = env.get_dut('dut4', 'examples/peripherals/can/can_self_test')
|
||||
dut = env.get_dut('dut4', 'examples/peripherals/can/can_self_test', dut_class=ESP32DUT)
|
||||
dut.start_app()
|
||||
|
||||
for string in STR_EXPECT:
|
||||
|
Reference in New Issue
Block a user