# Contributor: wupingyuan <3415239542@qq.com>
# Maintainer: wupingyuan <3415239542@qq.com>
source HPKBUILD > /dev/null 2>&1
logfile=${LYCIUM_THIRDPARTY_ROOT}/${pkgname}/${pkgname}_${ARCH}_${OHOS_SDK_VER}_test.log
openharmonycheck() {
res=0
cd ${builddir}/${ARCH}-build
./tests/tests > $logfile 2>&1
res=$?
cd $OLDPWD
return $res
}