2 Star 0 Fork 0

mirrors_gnu/libredwg

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
unit_testing_all.sh.in 733 Bytes
一键复制 编辑 原始数据 按行查看 历史
Reini Urban 提交于 2023-05-15 19:25 . add wine support for programs tests
#!/bin/sh
srcdir="@srcdir@"
top_builddir="@top_builddir@"
# dummy to please shellcheck, needed for LTEXEC
test -z "$top_builddir" && echo $top_builddir
if [ -n "$VALGRIND" ] && [ -n "$LOG_COMPILER" ]; then
TESTPROG="$LOG_COMPILER $LOG_FLAGS"
elif [ -n "@WINE@" ]; then
TESTPROG="@WINE@"
else
TESTPROG="@LTEXEC@"
fi
cd test/unit-testing || exit
list="$(make -s list)"
# shellcheck disable=SC2086
make -s -j4 $list
cd - || exit
for t in $list; do
echo "$t"
# -a for all (no max 6), -n for no coverage checks
$TESTPROG "test/unit-testing/$t" -an "$srcdir/test/test-data/"
$TESTPROG "test/unit-testing/$t" -an "$srcdir/test/test-big/"
$TESTPROG "test/unit-testing/$t" -an "$srcdir/test/test-old/"
done
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_gnu/libredwg.git
[email protected]:mirrors_gnu/libredwg.git
mirrors_gnu
libredwg
libredwg
master

搜索帮助