diff --git a/libkirk/ltp.py b/libkirk/ltp.py index 0ee942c..12e84eb 100644 --- a/libkirk/ltp.py +++ b/libkirk/ltp.py @@ -362,7 +362,9 @@ async def read_result( elif not error: failed = 1 - if retcode in (2, -1): + if retcode == 0: + status = ResultStatus.PASS + elif retcode in (2, -1): status = ResultStatus.BROK elif retcode == 4: status = ResultStatus.WARN