mirror of
https://github.com/openharmony/ark_js_runtime.git
synced 2026-07-25 22:15:32 -04:00
Add Type Infer Test Case
Description: 1.Add type infer test cases for bitwise_op, callfunctions, ldobjbyvalue and logic_op Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I5B78L Signed-off-by: huoqingyi <huoqingyi@huawei.com> Change-Id: I486f6f91a32e1c7caa2446b12b8e6b33db8d47fe
This commit is contained in:
@@ -113,7 +113,7 @@ def judge_output(args):
|
||||
if "TestInfer:" in item:
|
||||
err_list.append(item.split("&")[1:])
|
||||
expect_output = expect_output.replace('\n', '')
|
||||
expect_list = [elements.split(",") for elements in expect_output.split("[")]
|
||||
expect_list = [elements.split(",") for elements in expect_output.split("----")]
|
||||
for obj1, obj2 in zip(err_list, expect_list):
|
||||
if not isSubSequence(obj1, obj2):
|
||||
print(">>>>> Expect :", end = " ")
|
||||
|
||||
Reference in New Issue
Block a user