2 Star 0 Fork 0

mirrors_gnu/libredwg

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
logs-all-parallel.sh.in 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
Reini Urban 提交于 2023-02-13 08:14 . apply regen-shfmt
#!/bin/sh
# create logs for all DWGs with GNU parallel (fast)
# shellcheck disable=SC1001,SC1083
srcdir="@srcdir@"
abs_builddir="@abs_builddir@"
make -s -j4
echo test/test-data
@PARALLEL@ @TIMEOUT_10@ ./libtool --mode=execute programs/dwgread -v4 {} \2\>{/.}.log ::: "$srcdir"/test/test-data/*.dwg
echo test/test-data/
cd "$srcdir/test/test-data" || exit
@PARALLEL@ @TIMEOUT_30@ "$abs_builddir/libtool" --mode=execute "$abs_builddir/programs/dwgread" -v4 {} \2\>$abs_builddir/{/.}_{//}.log ::: */*.dwg
cd "$abs_builddir" || exit
if test -d "$srcdir/test/test-big"; then
echo test/test-big
cd "$srcdir/test/test-big" || exit
@PARALLEL@ @TIMEOUT_30@ "$abs_builddir/libtool" --mode=execute "$abs_builddir/programs/dwgread" -v3 {} \2\>$abs_builddir/{/.}_{//}.log ::: */*.dwg
cd "$abs_builddir" || exit
fi
if test -d "$srcdir/test/test-old"; then
echo test/test-old
cd "$srcdir/test/test-old" || exit
for d in r* 20*; do
cd "$d" || exit
@PARALLEL@ @TIMEOUT_30@ "$abs_builddir/libtool" --mode=execute "$abs_builddir/programs/dwgread" -v4 {} \2\>$abs_builddir/{/.}_{//}_"$d".log ::: */*.dwg
cd .. || exit
done
cd "$abs_builddir" || exit
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_gnu/libredwg.git
[email protected]:mirrors_gnu/libredwg.git
mirrors_gnu
libredwg
libredwg
master

搜索帮助