mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
16 lines
436 B
Python
16 lines
436 B
Python
|
from __future__ import print_function
|
||
|
|
||
|
import ttfw_idf
|
||
|
|
||
|
|
||
|
@ttfw_idf.idf_component_unit_test(env_tag='COMPONENT_UT_GENERIC')
|
||
|
def test_component_ut_esp_netif(env, extra_data):
|
||
|
dut = env.get_dut('esp_netif', 'components/esp_netif/test_app')
|
||
|
dut.start_app()
|
||
|
stdout = dut.expect('Tests finished', full_stdout=True)
|
||
|
ttfw_idf.ComponentUTResult.parse_result(stdout)
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
test_component_ut_esp_netif()
|