diff --git a/tools/test_apps/system/panic/app_test.py b/tools/test_apps/system/panic/app_test.py index da2c3266cf..e12d393f3b 100644 --- a/tools/test_apps/system/panic/app_test.py +++ b/tools/test_apps/system/panic/app_test.py @@ -296,32 +296,32 @@ def test_gdbstub_abort(env, _extra_data): @panic_test() def test_panic_ub(env, _extra_data): - test.ub_inner(env, "panic") + test.ub_inner(env, 'panic') @panic_test() def test_coredump_ub_uart_elf_crc(env, _extra_data): - test.ub_inner(env, "coredump_uart_elf_crc") + test.ub_inner(env, 'coredump_uart_elf_crc') @panic_test() def test_coredump_ub_uart_bin_crc(env, _extra_data): - test.ub_inner(env, "coredump_uart_bin_crc") + test.ub_inner(env, 'coredump_uart_bin_crc') @panic_test() def test_coredump_ub_flash_elf_sha(env, _extra_data): - test.ub_inner(env, "coredump_flash_elf_sha") + test.ub_inner(env, 'coredump_flash_elf_sha') @panic_test() def test_coredump_ub_flash_bin_crc(env, _extra_data): - test.ub_inner(env, "coredump_flash_bin_crc") + test.ub_inner(env, 'coredump_flash_bin_crc') @panic_test() def test_gdbstub_ub(env, _extra_data): - test.ub_inner(env, "gdbstub") + test.ub_inner(env, 'gdbstub') if __name__ == '__main__': diff --git a/tools/test_apps/system/panic/panic_tests.py b/tools/test_apps/system/panic/panic_tests.py index d8db3725f5..bdf6b4941c 100644 --- a/tools/test_apps/system/panic/panic_tests.py +++ b/tools/test_apps/system/panic/panic_tests.py @@ -150,12 +150,12 @@ def instr_fetch_prohibited_inner(env, test_name): def ub_inner(env, test_name): - with get_dut(env, test_name, "test_ub") as dut: - dut.expect(re.compile(r"Undefined behavior of type out_of_bounds")) + with get_dut(env, test_name, 'test_ub') as dut: + dut.expect(re.compile(r'Undefined behavior of type out_of_bounds')) dut.expect_backtrace() dut.expect_elf_sha256() - dut.expect_none("Guru Meditation", "Re-entered core dump") + dut.expect_none('Guru Meditation', 'Re-entered core dump') test_common(dut, test_name, expected_backtrace=[ # Backtrace interrupted when abort is called, IDF-842 - "panic_abort", "esp_system_abort" + 'panic_abort', 'esp_system_abort' ])