mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-10-06 23:54:03 +00:00
Descriptor: print more testcase info
details: print return code of execute result issue: https://gitee.com/openharmony/ark_js_runtime/issues/I570TA Signed-off-by: wengchangcheng <wengchangcheng@huawei.com> Change-Id: Ia8562c5132e99b799e8a358303838d58a90d73f3
This commit is contained in:
parent
ea081d0d88
commit
e0eebea8da
@ -69,6 +69,8 @@ def judge_output(args):
|
||||
err_str = err.decode('UTF-8')
|
||||
print(out_str)
|
||||
print(err_str)
|
||||
print(">>>>> Expect return: [" + args.expect_output \
|
||||
+ "]\n>>>>> But got: [" + returncode + "]")
|
||||
raise RuntimeError("Run [" + cmd + "] failed!")
|
||||
elif args.expect_sub_output:
|
||||
err_str = err.decode('UTF-8') # log system use std::cerr
|
||||
|
Loading…
Reference in New Issue
Block a user