make check hangs on xwayland when xwayland not present
Bryce W. Harrington
b.harrington at samsung.com
Tue Apr 1 17:23:47 PDT 2014
I've built weston via the standard directions
(http://wayland.freedesktop.org/building.html), with a few modifications
(see my prior email today for details). But I haven't done the XWayland
setup steps (http://wayland.freedesktop.org/xserver.html) so don't have
functional XWayland support.
Running 'make check' in weston gives:
humber:~/Wayland/weston$ make check
make check-am
make[1]: Entering directory `/home/bryce/Wayland/weston'
make check-TESTS
make[2]: Entering directory `/home/bryce/Wayland/weston'
make[3]: Entering directory `/home/bryce/Wayland/weston'
PASS: config-parser.test
PASS: vertex-clip.test
PASS: surface-test.la
PASS: surface-global-test.la
PASS: bad_buffer.weston
PASS: keyboard.weston
PASS: event.weston
PASS: button.weston
PASS: text.weston
PASS: subsurface.weston
SKIP: buffer-count.weston
It hangs at this stage and never completes. From reviewing the process
table it looks like the test suite is trying to execute an xwayland test
case. I'm guessing since xwayland isn't functional, it is getting stuck
in a loop. It would be better if it just marked it FAIL or SKIP, and
continue to completion with generation of test-suite.log. Or, maybe for
configure.ac to better detect that the XWayland dependencies aren't met,
and don't set ENABLE_XWAYLAND_TEST to true.
Running the test case in isolation reproduces the issue:
LOGDIR=logs abs_builddir=. tests/weston-tests-env xwayland.la
(I had to manually copy in some .so's that the script couldn't find.)
This hangs, with the following in the log file:
humber:~/Wayland/weston/logs$ cat xwayland.la-serverlog.txt
Date: 2014-04-01 PDT
[17:18:04.044] weston 1.4.0
http://wayland.freedesktop.org/
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.4.0
Build: 1.4.0-110-gfe9671e shell: Correct error message when we already have an xdg surface (2014-03-25 10:59:20 -0700)
[17:18:04.044] OS: Linux, 3.2.0-54-generic, #82-Ubuntu SMP Tue Sep 10 20:08:42 UTC 2013, x86_64
[17:18:04.044] Using config file '/home/bryce/.config/weston.ini'
[17:18:04.044] Loading module '/home/bryce/Wayland/install/lib/weston/./.libs/headless-backend.so'
[17:18:04.044] launching '/home/bryce/Wayland/install/bin/weston-keyboard'
[17:18:04.054] Loading module '/home/bryce/Wayland/install/lib/weston/desktop-shell.so'
[17:18:04.054] Loading module '/home/bryce/Wayland/install/lib/weston/./.libs/xwayland.so'
[17:18:04.058] xserver listening on display :1
[17:18:04.058] Loading module '/home/bryce/Wayland/install/lib/weston/xwayland.so'
[17:18:04.058] xserver listening on display :2
[17:18:04.058] Compositor capabilities:
arbitrary surface rotation: no
screen capture uses y-flip: no
[17:18:04.058] launching '/home/bryce/Wayland/install/libexec/weston-desktop-shell'
[17:19:48.056] caught signal 2
I haven't dug into the test case's code yet, but anyone have any suggestions?
(My goal is not so much getting XWayland running, but to get make check to complete.)
Bryce
More information about the wayland-devel
mailing list