提交 d59e28e4 编写于 作者: B Behdad Esfahbod

Minor

上级 af169d28
......@@ -252,7 +252,6 @@ dist_check_SCRIPTS = \
check-exported-symbols.sh \
check-includes.sh \
check-internal-symbols.sh \
check-static-inits.sh \
$(NULL)
if HAVE_ICU
......@@ -260,6 +259,11 @@ else
dist_check_SCRIPTS += check-libstdc++.sh
endif
if HAVE_ICU_LE
else
dist_check_SCRIPTS += check-static-inits.sh
endif
TESTS = $(dist_check_SCRIPTS)
TESTS_ENVIRONMENT = \
srcdir="$(srcdir)" \
......
......@@ -27,7 +27,7 @@ for suffix in so dylib; do
fi
done
if ! $tested; then
echo "check-internal-symbols.sh: libharfbuzz shared library not found; skipping test"
echo "check-libstdc++.sh: libharfbuzz shared library not found; skipping test"
exit 77
fi
......
......@@ -28,10 +28,10 @@ for obj in $OBJS; do
fi
done
echo "Checking that no object file has lazy static C++ constructors/destructors"
echo "Checking that no object file has lazy static C++ constructors/destructors or other such stuff"
for obj in $OBJS; do
if objdump -t "$obj" | grep '__c'; then
echo "Ouch, $obj has lazy static C++ constructors/destructors"
echo "Ouch, $obj has lazy static C++ constructors/destructors or other such stuff"
stat=1
fi
done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册