2 Star 6 Fork 6

Chunel / CGraph

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CGraph-run-functional-tests.sh 581 Bytes
一键复制 编辑 原始数据 按行查看 历史
Chunel 提交于 2023-12-29 23:22 . [test] add test case
#!/bin/bash
CGRAPH_TEST_FUNCTIONAL_DIR="build/test/Functional/"
if [ ! -d $CGRAPH_TEST_FUNCTIONAL_DIR ]; then
echo -e "\033[31m[ERROR] Directory $CGRAPH_TEST_FUNCTIONAL_DIR does not exist.\033[0m"
exit 1
fi
# shellcheck disable=SC2164
cd $CGRAPH_TEST_FUNCTIONAL_DIR
for file in *; do
# 执行所有可执行文件,并且过滤掉文件夹
if [ -f "$file" ] && [ -x "$file" ]; then
echo "**** Running $file ****"
"./$file"
echo " "
fi
done
echo -e "\033[34m congratulations, automatic run CGraph functional test finish... \033[0m"
C++
1
https://gitee.com/Chunel_Feng/CGraph.git
git@gitee.com:Chunel_Feng/CGraph.git
Chunel_Feng
CGraph
CGraph
main

搜索帮助