1from __future__ import unicode_literals
2
3import ttfw_idf
4
5
6@ttfw_idf.idf_example_test(env_tag='Example_GENERIC', target=['esp32'])
7def test_examples_perfmon(env, extra_data):
8
9    dut = env.get_dut('perfmon', 'examples/system/perfmon')
10    dut.start_app()
11
12    dut.expect_all('example: Start',
13                   'example: Start test with printing all available statistic',
14                   'example: Start test with user defined statistic',
15                   'example: The End',
16                   timeout=60)
17
18
19if __name__ == '__main__':
20    test_examples_perfmon()
21