Bash script to build LFS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
594 B

#!/usr/bin/env bash
PAGE=A4 ./configure --prefix=/usr
make -j1
:>/tmp/groff_make_check.log
if ! make check | tee /tmp/groff_make_check.log
then
grep ^FAIL: /tmp/groff_make_check.log | cut -d' ' -f 2 | while IFS= read -r failure
do
echo "${failure}"
case ${failure} in
src/preproc/eqn/tests/neqn-smoke-test.sh)
echo "Known to fail : ${failure}"
continue
;;
*)
echo "Critical error in tests : ${failure}"
exit 1
;;
esac
done
fi
make install