tests: load the right shell plugin

Again, load the shell plugin with full path, rather than possibly find an
old version from a previous installation.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
dev
Pekka Paalanen 11 years ago committed by Kristian Høgsberg
parent 6ea0d176d6
commit c2b74fb849
  1. 3
      tests/weston-tests-env

@ -22,6 +22,7 @@ if test -z "$BACKEND"; then
fi
BACKEND=$abs_builddir/.libs/$BACKEND
SHELL_PLUGIN=$abs_builddir/.libs/desktop-shell.so
TEST_PLUGIN=$abs_builddir/.libs/weston-test.so
XWAYLAND_PLUGIN=$abs_builddir/.libs/xwayland.so
@ -29,6 +30,7 @@ case $TESTNAME in
*.la|*.so)
$WESTON --backend=$BACKEND \
--no-config \
--shell=$SHELL_PLUGIN \
--socket=test-$(basename $TESTNAME) \
--modules=$abs_builddir/.libs/${TESTNAME/.la/.so},$XWAYLAND_PLUGIN \
--log="$SERVERLOG" \
@ -39,6 +41,7 @@ case $TESTNAME in
--socket=test-$(basename $TESTNAME) \
--backend=$BACKEND \
--no-config \
--shell=$SHELL_PLUGIN \
--log="$SERVERLOG" \
--modules=$TEST_PLUGIN,$XWAYLAND_PLUGIN \
&> "$OUTLOG"

Loading…
Cancel
Save