Commit Graph

6 Commits

Author SHA1 Message Date
huoqingyi 1da170f1bd 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
2022-06-13 09:38:51 +08:00
taohong af9bec981f add type infer test case
add test case for AOT type infer

Signed-off-by: taohong <hongtao11@huawei.com>
Change-Id: Iff28cc77d3f309699000f76d1ed30191176a4d85
2022-06-07 12:15:43 +08:00
ding b34b0a3e40 Refactor TS Types
1.Re-write union type mechanism, store gt in components.
2.Refactor module tabale, now builtins type table and global infer table set in fixed index of 0 and 1.
3.Integrate some interfaces and logic.

Signed-off-by: ding <dingding5@huawei.com>
Change-Id: Ie709705798b21206f1f272fc5cacafb3781ed940
2022-05-31 20:08:49 +08:00
gongjunsong ca333129c3 fix run ark executable generate stub.m timeout
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I58CHK?from=project-issue

Signed-off-by: gongjunsong <gongjunsong@huawei.com>
Change-Id: Ic695c60869bc3fbae607857dc5fcdcf2088ed9c0
2022-05-23 09:17:24 +08:00
wengchangcheng 14e4caa256 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
2022-05-12 09:33:34 +08:00
ding 8358c88dda Prebuild com_sub.m and bc_stub.m
Generate com_stub.m and bc_stub.m in build phase.

Add FATAL log if load stub file failed.

Move run_ark_executable.py to js_runtime/script/ directory

Add --time-out option in run_ark_executable.py.

Signed-off-by: ding <dingding5@huawei.com>
Change-Id: I6136c5f0dc132a086119f9f2cc6eaf934ba0087b
2022-05-10 09:56:40 +08:00