tests/run.sh: Show full error messages
If an error occurs during startup, tail might not show the full error message. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
0ee24317c7
commit
cbba615748
|
@ -153,7 +153,7 @@ for f in $tests; do
|
||||||
cat $f | DISPLAY=$D "$AWESOME_CLIENT" 2>&1
|
cat $f | DISPLAY=$D "$AWESOME_CLIENT" 2>&1
|
||||||
|
|
||||||
# Tail the log and quit, when awesome quits.
|
# Tail the log and quit, when awesome quits.
|
||||||
tail -f --pid $awesome_pid $awesome_log
|
tail -n 100000 -f --pid $awesome_pid $awesome_log
|
||||||
|
|
||||||
if grep -q -E '^Error|assertion failed' $awesome_log; then
|
if grep -q -E '^Error|assertion failed' $awesome_log; then
|
||||||
echo "===> ERROR running $f! <==="
|
echo "===> ERROR running $f! <==="
|
||||||
|
|
Loading…
Reference in New Issue