Mir

Revision 59 as of 2017-06-15 11:01:33

Clear message

Dependents/Clients

Clients of this component

Test Plan

  • Successful run of automated CI testing
  • In addition update desktop from archive
    • Install packages from build silo:
      • $ sudo apt install mir-demos mir-graphics-drivers-desktop
  • Mir-on-X
    • Use an X11 based desktop (Unity, Gnome, etc.). These tests run for a default 10 seconds,
    • Start a terminal sessions to launch the tests.
    • Test that S/W rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
      • $ mir_demo_server --test-timeout 10 --test-client mir_demo_client_multiwin

    • Test that EGL rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
      • $ mir_demo_server --test-timeout 10 --test-client mir_demo_client_egltriangle

  • Mir-on-Mir
    • Use an X11 based desktop (Unity, Gnome, etc.). These tests run for a default 10 seconds.
    • Start two terminal sessions, one for a "host" server, one to launch the tests.
      • Start a "host" server: $ mir_demo_server --window-manager system-compositor

    • Test that S/W rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
      • $ mir_demo_server --no-file --host $XDG_RUNTIME_DIR/mir_socket --test-timeout 10 --test-client mir_demo_client_multiwin

    • Test that EGL rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
      • $ mir_demo_server --no-file --host $XDG_RUNTIME_DIR/mir_socket --test-timeout 10 --test-client mir_demo_client_egltriangle

    • Close the "host" server
  • Mir-on-KMS
    • go to a VT. These tests run for a default 10 seconds.
    • Test that S/W rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
      • $ sudo mir_demo_server --no-file --test-timeout 10 --test-client mir_demo_client_multiwin

    • Test that EGL rendering clients run and can be moved(resized) with Alt+Left(Middle)-Button:
      • $ sudo mir_demo_server --no-file --test-timeout 10 --test-client mir_demo_client_egltriangle

  • Basic GDK support
    • Use an X11 based desktop (Unity, Gnome, etc.). Note that support by the demo server is limited: e.g. menus and popups need not appear in the correct place.
    • Start two terminal sessions, one for a Mir server, one to launch the tests.
      • Start a server: $ mir_demo_server

    • Test that gnome-terminal runs and can be moved(resized) with Alt+Left(Middle)-Button:
      • $ GDK_BACKEND=mir gnome-terminal --app-id com.canonical.mir.Terminal

    • Test that GDK applications can be run from the terminal:
      • $ gedit

    • Close the server
  • Basic Qt support
    • Use an X11 based desktop (Unity, Gnome, etc.). Note that support by the demo server is limited: e.g. menus and popups need not appear in the correct place.
    • Start two terminal sessions, one for a Mir server, one to launch the tests.
      • Install Qt support and kate: $ sudo apt install qtubuntu-desktop kate

      • Start a server: $ mir_demo_server

    • Test that qterminal runs:
      • $ unset QT_QPA_PLATFORMTHEME

      • $ QT_QPA_PLATFORM=ubuntumirclient qterminal

    • Test that Qt applications can be run from the terminal:
      • $ kate

    • Close the server
  • Basic SDL support
    • Use an X11 based desktop (Unity, Gnome, etc.).
    • Start two terminal sessions, one for a Mir server, one to launch the test.
      • Install a sample SDL application: $ sudo apt install 7kaa

      • Start a server: $ mir_demo_server

    • Test that 7kaa runs and can be used:
      • $ SDL_VIDEODRIVER=mir 7kaa

      • Note that 7kaa crashes on exit: That is not a problem for this test.

    • Close the server
  • Install Xmir
    • go to a VT and launch mir_demo_server as root with the option --arw-file
    • launch Xmir in another VT using: Xmir -mirSocket /tmp/mir_socket -rootless :2
    • in another VT: DISPLAY=:2 gedit
    • Switch to the mir VT
    • Interact with gedit, write a text document, save it, load another.
  • On zesty and later Install MirAL

  • On zesty only Install unity8-desktop-session

    • login to unity8 desktop and utilize applications such as browser, play with dash
    • allow screen to blank, wake up