mirror of
https://github.com/opnsense/tools.git
synced 2026-05-28 04:35:46 -04:00
scripts/nightly: tail logs for easier review
Files can be 40 MB log so that makes browsing them a bit iffy.
This commit is contained in:
parent
cc69de57fb
commit
168aa2fc2b
1 changed files with 3 additions and 2 deletions
|
|
@ -22,8 +22,9 @@ for FLAVOUR in OpenSSL LibreSSL; do
|
|||
(make clean-packages FLAVOUR=${FLAVOUR} 2>&1) > /dev/null
|
||||
fi
|
||||
for STAGE in ports plugins core test; do
|
||||
(time make ${STAGE} FLAVOUR=${FLAVOUR} 2>&1) \
|
||||
> ${LOGSDIR}/${PRODUCT_VERSION}/${STAGE}-${FLAVOUR}.log
|
||||
LOG=${LOGSDIR}/${PRODUCT_VERSION}/${STAGE}-${FLAVOUR}.log
|
||||
(time make ${STAGE} FLAVOUR=${FLAVOUR} 2>&1) > ${LOG}
|
||||
tail -n 1000 ${LOG} > ${LOG}.tail
|
||||
done
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue