ci: add test marks linter

This commit is contained in:
igor.udot
2024-12-02 10:47:32 +08:00
parent 47df2ed524
commit bbcef0570d
13 changed files with 663 additions and 30 deletions

View File

@@ -4,6 +4,7 @@ import os
import os.path as path
import sys
from typing import Any
from typing import Dict
import pytest
@@ -26,7 +27,7 @@ def start_gdb(dut: PanicTestDut) -> None:
dut.start_gdb_for_gdbstub()
def run_and_break(dut: PanicTestDut, cmd: str) -> dict[Any, Any]:
def run_and_break(dut: PanicTestDut, cmd: str) -> Dict[Any, Any]:
responses = dut.gdb_write(cmd)
assert dut.find_gdb_response('running', 'result', responses) is not None
if not dut.find_gdb_response('stopped', 'notify', responses): # have not stopped on breakpoint yet