mirror of
https://github.com/yshui/picom.git
synced 2025-03-31 17:35:52 -04:00
tests: print compton log after tests finish
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
4dc5a04735
commit
c8d6a5cae5
1 changed files with 3 additions and 1 deletions
|
@ -6,10 +6,12 @@ fi
|
|||
echo "Running test $2"
|
||||
|
||||
# TODO keep the log file, and parse it to see if test is successful
|
||||
($1 --experimental-backends --backend dummy --log-level=debug --log-file=/dev/null) &
|
||||
($1 --experimental-backends --backend dummy --log-level=debug --log-file=$PWD/log) &
|
||||
compton_pid=$!
|
||||
$2
|
||||
|
||||
kill -INT $compton_pid
|
||||
cat log
|
||||
rm log
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue