mirror of
https://github.com/osmarks/ngircd.git
synced 2025-02-01 10:09:10 +00:00
contrib/platformtest.sh: Warn when external tools are missing
This commit is contained in:
parent
46838510ab
commit
7b7ee6a3ca
@ -55,6 +55,11 @@ while [ $# -gt 0 ]; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for cmd in telnet expect; do
|
||||||
|
command -v "$cmd" >/dev/null 2>&1 \
|
||||||
|
|| echo "$NAME: WARNING: $cmd(1) not found, \"make check\" won't run all tests!"
|
||||||
|
done
|
||||||
|
|
||||||
echo "$NAME: Checking ngIRCd base source directory ..."
|
echo "$NAME: Checking ngIRCd base source directory ..."
|
||||||
grep "ngIRCd" "$SRC_D/ChangeLog" >/dev/null 2>&1
|
grep "ngIRCd" "$SRC_D/ChangeLog" >/dev/null 2>&1
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
@ -206,6 +211,6 @@ else
|
|||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
if [ "$R_CHECK_Y" = "y" ]; then
|
if [ "$R_CHECK_Y" = "y" ]; then
|
||||||
echo "$NAME: Warning: Some tests have been skipped!"
|
echo "$NAME: WARNING: Some tests have been skipped!"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user