# 方舟支持列号显示测试用例 **Repository Path**: qieo/arkColumnDisplay ## Basic Information - **Project Name**: 方舟支持列号显示测试用例 - **Description**: 方舟支持列号显示测试用例。如有缺失请自行添加 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-29 - **Last Updated**: 2022-08-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 方舟支持列号显示测试用例 Ark supports column number display #### 介绍 方舟支持列号显示测试用例。如有缺失请自行添加 Ark supports column numbers to display test cases. If it is missing, please add it by yourself ### Naming rules: Hundreds are the unit ## 操作流程 ### 1. 编译前端 ```bash ./build.sh --product-name rk3568 --gn-args is_debug=true --build-target ark_js_host_linux_tools_packages --build-target ark_ts2abc_build --target-cpu arm64 --ccache ``` ### 2. 进入 out/rk3568/clang_x64/ark/ark/build 执行 `npm install` ```bash cd out/rk3568/clang_x64/ark/ark/build && npm install && cd - ``` ### 3. 执行用例 将此目录移动到代码根目录,执行 `./run.sh` 要保留执行结果/日志 可使用命令 `./run.sh 2>&1 | tee result.log` ### 4. 结果分析 使用ark_js_vm执行用例报错的行号要与node执行用例的行号基本保持一致 如: ![引用错误](./referenceerror.png) 错误行列号要与实际一致,或ark_js_vm的错误行列号要与node不能有很大误差