Add render test to coverage report (#1192)
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
script=$(realpath "$0")
|
||||
scriptpath=$(dirname "$script")
|
||||
|
||||
script=$(mktemp)
|
||||
exit_code=$(mktemp)
|
||||
XAUTHORITY=$(mktemp) startx "$PWD/$@ && echo $? > $exit_code" -- -xf86config "$scriptpath/xorg.conf" -logfile /dev/null
|
||||
echo "$PWD/$@ && echo \$? > $exit_code" > $script
|
||||
chmod +x $script
|
||||
|
||||
XAUTHORITY=$(mktemp) startx "$script" -- -xf86config "$scriptpath/xorg.conf" -logfile /dev/null
|
||||
exit $(cat $exit_code)
|
||||
Reference in New Issue
Block a user