Merge pull request #2340 from psychon/print_log_on_awesome_client_failures
tests/run.sh: Print log on awesome-client failures
This commit is contained in:
commit
1cb8375261
|
@ -222,7 +222,7 @@ for f in $tests; do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Execute the test file in awesome.
|
# Execute the test file in awesome.
|
||||||
DISPLAY=$D "$AWESOME_CLIENT" 2>&1 "dofile('$f')"
|
DISPLAY=$D "$AWESOME_CLIENT" 2>&1 "dofile('$f')" || echo "Error: awesome-client failed" >> "$awesome_log"
|
||||||
|
|
||||||
# Tail the log and quit, when awesome quits.
|
# Tail the log and quit, when awesome quits.
|
||||||
# Use a single `grep`, otherwise `--line-buffered` would be required.
|
# Use a single `grep`, otherwise `--line-buffered` would be required.
|
||||||
|
|
Loading…
Reference in New Issue