Fix regresstest unnecessary outputs

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/IADM6T?from=project-issue

Signed-off-by: chenjx-huawei <chenjingxiang1@huawei.com>
Change-Id: I9c2b08e40c35970ab826475a9c099057f2f068ee
This commit is contained in:
chenjx-huawei 2024-07-17 16:04:12 +08:00
parent 41e67820ae
commit 6cc38d30c6

View File

@ -141,7 +141,8 @@ def out_put_std(ret_code, cmds, msg):
0: msg,
-6: f'{cmds}:{msg}\nAborted (core dumped)',
-4: f'{cmds}:{msg}\nAborted (core dumped)',
-11: f'{cmds}:{msg}\nSegmentation fault (core dumped)'
-11: f'{cmds}:{msg}\nSegmentation fault (core dumped)',
255: f'{msg} (uncaught error)\n'
}
error_message = error_messages.get(ret_code, f'{cmds}: Unknown Error: {str(ret_code)}')
if error_message != '':