tests: load the right shell plugin
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 7 May 2014 13:26:28 +0000 (16:26 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 9 May 2014 22:00:32 +0000 (15:00 -0700)
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>
tests/weston-tests-env

index fb9928a..473e092 100755 (executable)
@@ -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"