[PATCH weston 3/5] tests: load the right xwayland plugin
Pekka Paalanen
ppaalanen at gmail.com
Wed May 7 06:26:27 PDT 2014
From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
If we do not specify the full path to xwayland.so, Weston can find an
old one installed in a $prefix and use that instead of the freshly built
one.
Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
tests/weston-tests-env | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/weston-tests-env b/tests/weston-tests-env
index 746ae27..fb9928a 100755
--- a/tests/weston-tests-env
+++ b/tests/weston-tests-env
@@ -22,13 +22,15 @@ if test -z "$BACKEND"; then
fi
BACKEND=$abs_builddir/.libs/$BACKEND
+TEST_PLUGIN=$abs_builddir/.libs/weston-test.so
+XWAYLAND_PLUGIN=$abs_builddir/.libs/xwayland.so
case $TESTNAME in
*.la|*.so)
$WESTON --backend=$BACKEND \
--no-config \
--socket=test-$(basename $TESTNAME) \
- --modules=$abs_builddir/.libs/${TESTNAME/.la/.so},xwayland.so \
+ --modules=$abs_builddir/.libs/${TESTNAME/.la/.so},$XWAYLAND_PLUGIN \
--log="$SERVERLOG" \
&> "$OUTLOG"
;;
@@ -38,6 +40,6 @@ case $TESTNAME in
--backend=$BACKEND \
--no-config \
--log="$SERVERLOG" \
- --modules=$abs_builddir/.libs/weston-test.so,xwayland.so \
+ --modules=$TEST_PLUGIN,$XWAYLAND_PLUGIN \
&> "$OUTLOG"
esac
--
1.8.5.5
More information about the wayland-devel
mailing list