tests/run.sh: Move definition of AWESOME_CLIENT up

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2015-08-05 17:36:21 +02:00
parent 6d4837a53a
commit 41d81a4501
1 changed files with 1 additions and 3 deletions

View File

@ -36,6 +36,7 @@ XEPHYR=Xephyr
XVFB=Xvfb XVFB=Xvfb
AWESOME=$root_dir/build/awesome AWESOME=$root_dir/build/awesome
RC_FILE=$root_dir/build/awesomerc.lua RC_FILE=$root_dir/build/awesomerc.lua
AWESOME_CLIENT="$root_dir/utils/awesome-client"
D=:5 D=:5
SIZE=1024x768 SIZE=1024x768
@ -101,9 +102,6 @@ done
# Use a separate D-Bus session; sets $DBUS_SESSION_BUS_PID. # Use a separate D-Bus session; sets $DBUS_SESSION_BUS_PID.
eval $(DISPLAY="$D" dbus-launch --sh-syntax --exit-with-session) eval $(DISPLAY="$D" dbus-launch --sh-syntax --exit-with-session)
AWESOME_CLIENT="$root_dir/utils/awesome-client"
# Start awesome. # Start awesome.
start_awesome() { start_awesome() {
export DISPLAY="$D" export DISPLAY="$D"