代码拉取完成,页面将自动刷新
#!/bin/sh
# create logs for all DWGs - serial (slow)
srcdir="@srcdir@"
abs_builddir="@abs_builddir@"
make -s -j4
echo test/test-data/
for d in "$srcdir"/test/test-data/2*/*.dwg "$srcdir"/test/test-data/r*/*.dwg; do
xd="$(dirname "$d")"
dir="$(basename "$xd")"
log="$(basename "$d" .dwg)_${dir}.log"
echo "$d" || exit
@TIMEOUT_30@ ./libtool --mode=execute programs/dwgread -v4 "$d" 2>"$log"
#(sleep 10s; kill %1 2>/dev/null) &
done
echo test/test-data
for d in "$srcdir"/test/test-data/*.dwg; do
log="$(basename "$d" .dwg).log"
echo "$d" || exit
@TIMEOUT_10@ ./libtool --mode=execute programs/dwgread -v4 "$d" 2>"$log"
#(sleep 10s; kill %1 2>/dev/null) &
done
if test -d "$srcdir/test/test-big"; then
echo test/test-big/
fi
for d in "$srcdir"/test/test-big/2*/*.dwg; do
xd="$(dirname "$d")"
dir="$(basename "$xd")"
log="$(basename "$d" .dwg)_$dir.log"
echo "$d" || exit
@TIMEOUT_30@ ./libtool --mode=execute programs/dwgread -v3 "$d" 2>"$log"
#(sleep 10s; kill %1 2>/dev/null) &
done
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
for f in */*.dwg
do
xd="$(dirname "$f")"
dir="$(basename "$xd")"
log="$(basename "$f" .dwg)_${dir}_${d}.log"
@TIMEOUT_30@ "$abs_builddir/libtool" --mode=execute "$abs_builddir/programs/dwgread" -v4 "$f" 2>"$abs_builddir/$log"
done
cd .. || exit
done
cd "$abs_builddir" || exit
fi
#with background killing we would need to wait for all processes to end
# while pgrep dwgread; do sleep 1; done
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。