The current repo belongs to Closed status, and some functions are restricted. For details, please refer to the description of repo status
31 Star 196 Fork 199

OpenHarmony-SIG/tpc_c_cplusplus
Closed

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
HPKCHECK 1.27 KB
Copy Edit Raw Blame History
# Copyright (c) 2023 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Contributor: Jeff Han <hanjinfei@foxmail.com>
# Maintainer: Jeff Han <hanjinfei@foxmail.com>
# Contributor: lpzhong <278527840@qq.com>
# Maintainer: lpzhong <278527840@qq.com>
source HPKBUILD > /dev/null 2>&1
logfile=${LYCIUM_THIRDPARTY_ROOT}/${pkgname}/${pkgname}_${ARCH}_${OHOS_SDK_VER}_test.log
openharmonycheck() {
res=0
## checkNetWork
ping www.baidu.com -c3 >> /dev/null
if [ $? -ne 0 ]
then
echo "the network not ready, the test depends the network! make sure the network is OK!!"
return 1
fi
cd ${builddir}/${ARCH}-build
cp ../../curl_test.sh ./
touch data.txt
bash curl_test.sh > ${logfile} 2>&1
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
develop-1230

Search