tests: fail if $AWESOME does not exist / is not executable (#872)
Without this the stdout/stderr rediraction when launching it makes the error regarding the "program not found" disappear(?!). [ci skip]
This commit is contained in:
parent
7bd9cd7fd1
commit
087d578755
|
@ -45,6 +45,10 @@ export TEST_PAUSE_ON_ERRORS # Used in tests/_runner.lua.
|
||||||
XEPHYR=Xephyr
|
XEPHYR=Xephyr
|
||||||
XVFB=Xvfb
|
XVFB=Xvfb
|
||||||
AWESOME=$root_dir/build/awesome
|
AWESOME=$root_dir/build/awesome
|
||||||
|
if ! [ -x "$AWESOME" ]; then
|
||||||
|
echo "$AWESOME is not executable." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
RC_FILE=$root_dir/build/awesomerc.lua
|
RC_FILE=$root_dir/build/awesomerc.lua
|
||||||
AWESOME_CLIENT="$root_dir/utils/awesome-client"
|
AWESOME_CLIENT="$root_dir/utils/awesome-client"
|
||||||
D=:5
|
D=:5
|
||||||
|
|
Loading…
Reference in New Issue