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:
mergify[bot] 2018-08-06 18:06:47 +00:00 committed by GitHub
commit 1cb8375261
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ for f in $tests; do
fi
# 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.
# Use a single `grep`, otherwise `--line-buffered` would be required.