34 Star 214 Fork 204

OpenHarmony-SIG/tpc_c_cplusplus
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
HPKCHECK 960 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhongluping 提交于 2023-07-19 16:19 +08:00 . update test
# This is an example HPKCHECK file. Use this as a start to creating your own,
# and remove these comments.
# Contributor: Your Name <youremail@domain.com>
# Maintainer: Your Name <youremail@domain.com>
source HPKBUILD > /dev/null 2>&1 # 导入HPKBUILD文件
logfile=${LYCIUM_THIRDPARTY_ROOT}/${pkgname}/${pkgname}_${ARCH}_${OHOS_SDK_VER}_test.log
# 测试前的准备, 如果不需要可以不写。
checkprepare(){
return 0
}
# 在OH环境执行测试的接口
openharmonycheck() {
res=0 # 记录返回值
cd ${builddir}/${ARCH}-build # 进入到测试目录
ctest > ${logfile} 2>&1 # 执行测试命令并将测试结果导出到${logfile},测试命令根据每个库的真实情况填写
res=$? # 记录测试结果返回值
cd $OLDPWD # 返回上一次目录
return $res # 返回测试值
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony-sig/tpc_c_cplusplus.git
git@gitee.com:openharmony-sig/tpc_c_cplusplus.git
openharmony-sig
tpc_c_cplusplus
tpc_c_cplusplus
master

搜索帮助