mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-27 21:15:37 +00:00
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
This commit is contained in:
committed by
Ivan Grokhotkov
parent
fbd64af098
commit
bde4b1b350
@@ -25,7 +25,7 @@ LIGHT_SLEEP_TIME = 500000
|
||||
ONE_SHOT_TIMER_PERIOD = 5000000
|
||||
|
||||
|
||||
@ttfw_idf.idf_example_test(env_tag='Example_WIFI')
|
||||
@ttfw_idf.idf_example_test(env_tag='Example_GENERIC')
|
||||
def test_examples_system_esp_timer(env, extra_data):
|
||||
dut = env.get_dut('esp_timer_example', 'examples/system/esp_timer', dut_class=ttfw_idf.ESP32DUT)
|
||||
# start test
|
||||
@@ -50,7 +50,7 @@ def test_examples_system_esp_timer(env, extra_data):
|
||||
one_shot_timer_time = int(groups[0])
|
||||
diff = start_time + ONE_SHOT_TIMER_PERIOD - one_shot_timer_time
|
||||
print('One-shot timer, time: {} us, diff: {}'.format(one_shot_timer_time, diff))
|
||||
assert(abs(diff) < 200)
|
||||
assert(abs(diff) < 220)
|
||||
|
||||
groups = dut.expect(RESTART_REGEX, timeout=3)
|
||||
start_time = int(groups[0])
|
||||
|
||||
Reference in New Issue
Block a user