Bug 1657289 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Please add Wayland Linux backend to automated testing, right now we test only X11 backend. Mutter compositor can be used to run Wayland builds.

If X11 is running, run test suite under Mutter compositor as:

$mutter --wayland --nested &
if [ -z "$WAYLAND_DISPLAY" ]; then
  export WAYLAND_DISPLAY=wayland-0
else
  export WAYLAND_DISPLAY=wayland-1
fi
$WAYLAND_DISPLAY=wayland-1 ./mach (test, mochitest,....)

If X11 is not running, we need to use xvfb-run to launch X11 first and ten run mutter in it:

xvfb-run mutter --wayland --nested &
if [ -z "$WAYLAND_DISPLAY" ]; then
  export WAYLAND_DISPLAY=wayland-0
else
  export WAYLAND_DISPLAY=wayland-1
fi
$WAYLAND_DISPLAY=wayland-1 ./mach (test, mochitest,....)
Please add Wayland Linux backend to automated testing, right now we test only X11 backend. Mutter compositor can be used to run Wayland builds.

If X11 is running, run test suite under Mutter compositor as:

$mutter --wayland --nested &
if [ -z "$WAYLAND_DISPLAY" ]; then
  export WAYLAND_DISPLAY=wayland-0
else
  export WAYLAND_DISPLAY=wayland-1
fi
$MOZ_ENABLE_WAYLAND=1 ./mach (test, mochitest,....)

If X11 is not running, we need to use xvfb-run to launch X11 first and ten run mutter in it:

xvfb-run mutter --wayland --nested &
if [ -z "$WAYLAND_DISPLAY" ]; then
  export WAYLAND_DISPLAY=wayland-0
else
  export WAYLAND_DISPLAY=wayland-1
fi
$MOZ_ENABLE_WAYLAND=1 ./mach (test, mochitest,....)

Back to Bug 1657289 Comment 0