1#!/usr/bin/env python
2
3import ttfw_idf
4from tiny_test_fw import Utility
5
6
7@ttfw_idf.idf_custom_test(env_tag='Example_GENERIC', target=['esp32', 'esp32s2'], group='test-apps')
8def test_longjmp(env, _):
9
10    dut = env.get_dut('longjmp_test', 'tools/test_apps/system/longjmp_test')
11    dut.start_app()
12    dut.expect('Test successful', 15)
13
14    Utility.console_log('longjmp test done.')
15
16
17if __name__ == '__main__':
18    test_longjmp()
19