Mir

Differences between revisions 69 and 70
Revision 69 as of 2018-04-20 08:07:18
Size: 3071
Comment:
Revision 70 as of 2018-07-30 16:09:36
Size: 4609
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Line 12: Line 11:
 * '''SDL''' [''Dependency removed for 18.04 Bionic or later'']
 * '''GTK-3''' [''Dependency removed for 18.04 Bionic or later'']
 * '''qtubuntu''' https://launchpad.net/qtubuntu [''package removed for 18.04 Bionic or later'']
 * '''SDL''' [''16.04LTS only'']
 * '''GTK-3''' [''16.04LTS only'']
 * '''qtubuntu''' https://launchpad.net/qtubuntu [''16.04LTS only'']
Line 22: Line 21:
 * The following should be repeated for each of the supported series: 16.04LTS, 18.04LTS and (at the time of writing) 17.10. Testing differs between 16.04LTS and 18.04LTS or later. Testing for 16.04LTS has its own section below.

== Test Plan 18.04LTS or later ==

 * The following should be repeated for 18.04LTS and any later series:
Line 26: Line 29:
   * $ '''sudo add-apt-repository ppa:mir-team/rc'''
   * $ '''sudo apt update'''
   * $ '''sudo add-apt-repository --update ppa:mir-team/rc'''
Line 32: Line 34:
    * ''On 16.04 Xenial ONLY'' also install qt support for Mir
     * $ '''sudo apt install qtubuntu-desktop'''
Line 46: Line 46:
   * $ '''miral-app''' [''On 16.04 Xenial ONLY'' add '''-qt-mirclient -gtk-mirclient''']    * $ '''miral-app'''
Line 55: Line 55:
  * Switch to VT4 and sign in, switch back to the desktop
  * Run a test "desktop" session
   * $ '''miral-desktop''' [''On 16.04 Xenial ONLY'' add '''-qt-mirclient -gtk-mirclient'''] '''--window-manager tiling'''
  * [in the Mir session] Try running, and switching between the following:
  * Switch to VT4 and sign in
  * Run a test "tiling desktop" session
   * $ '''miral-app --window-manager tiling'''
  * Try running, and switching between the following:
Line 62: Line 62:
   * $ '''weston-terminal''' [''NOT On 16.04 Xenial'' (it expects the obsolete xdg-shell v5)]    * $ '''weston-terminal'''
Line 64: Line 64:

== Test Plan 16.04LTS ==

 * In addition update desktop from archive
  * Install packages from the [[https://launchpad.net/~mir-team/+archive/ubuntu/rc|release candidate PPA]]:
   * $ '''sudo add-apt-repository ppa:ci-train-ppa-service/stable-phone-overlay'''
   * $ '''sudo add-apt-repository --update ppa:mir-team/rc'''
   * $ '''sudo apt install mir-demos mir-graphics-drivers-desktop mir-test-tools'''
  * Install applications to test with:
   * Qt Wayland support, qterminal and kate to test with:
    * $ '''sudo apt install kate qterminal qtubuntu-desktop'''
   * Install glmark2:
    * $ '''sudo apt install glmark2-wayland glmark2-mir'''

 * Mir-on-X11
  * Use an X11 based desktop (Unity, Gnome, etc.).
  * Start a terminal sessions to launch the tests.
  * Run the "smoke tests" to ensure the example clients work
   * $ '''mir-smoke-test-runner'''
   * Check the result is "I: Smoke testing complete with returncode 0"
  * Run a test session in a window
   * $ '''miral-app -qt-mirclient -gtk-mirclient'''
  * [in the Mir-on-X11 session] Try running, resizing, moving and switching between the following:
   * $ '''mir_demo_client_multiwin'''
   * $ '''kate'''
   * $ '''gnome-terminal'''
   * $ '''weston-terminal'''
   * $ '''glmark2-es2-wayland'''
   * $ '''glmark2-es2-mir'''

 * Mir-on-KMS
  * Switch to VT4 and sign in
   * $ '''miral-app -qt-mirclient -gtk-mirclient --window-manager tiling'''
  * Try running, and switching between the following:
   * $ '''mir_demo_client_multiwin'''
   * $ '''kate'''
   * $ '''gnome-terminal'''
   * $ '''glmark2-es2-wayland'''
   * $ '''glmark2-es2-mir'''
  * Run the "smoke tests" to ensure the example clients work
   * $ '''mir-smoke-test-runner'''
   * Check the result is "I: Smoke testing complete with returncode 0"

 * Mir-on-KMS
  * Switch to VT4 and sign in
   * $ '''miral-app -qt-mirclient -gtk-mirclient'''

Dependents/Clients

Clients of this component

Test Plan

This test plan is not supposed to be complete; use it to guide your manual testing so they don't miss big functional areas that are part in the component; also this should be used as guideline to inspire the exploratory testing which should be adapted smartly based on the real content of a MP

  • Successful run of automated CI testing

Testing differs between 16.04LTS and 18.04LTS or later. Testing for 16.04LTS has its own section below.

Test Plan 18.04LTS or later

  • The following should be repeated for 18.04LTS and any later series:
  • In addition update desktop from archive
    • Install packages from the release candidate PPA:

      • $ sudo add-apt-repository --update ppa:mir-team/rc

      • $ sudo apt install mir-demos mir-graphics-drivers-desktop mir-test-tools

    • Install applications to test with:
      • Qt Wayland support, qterminal and kate to test with:
        • $ sudo apt install qtwayland5 kate qterminal

      • Install weston-terminal:
        • $ sudo apt install weston

      • Install glmark2:
        • $ sudo apt install glmark2-wayland

  • Mir-on-X11
    • Use an X11 based desktop (Unity, Gnome, etc.).
    • Start a terminal sessions to launch the tests.
    • Run the "smoke tests" to ensure the example clients work
      • $ mir-smoke-test-runner

      • Check the result is "I: Smoke testing complete with returncode 0"
    • Run a test session in a window
      • $ miral-app

    • [in the Mir-on-X11 session] Try running, resizing, moving and switching between the following:
      • $ mir_demo_client_multiwin

      • $ kate

      • $ gnome-terminal

      • $ weston-terminal

      • $ glmark2-es2-wayland

  • Mir-on-KMS
    • Switch to VT4 and sign in
    • Run a test "tiling desktop" session
      • $ miral-app --window-manager tiling

    • Try running, and switching between the following:
      • $ mir_demo_client_multiwin

      • $ kate

      • $ gnome-terminal

      • $ weston-terminal

      • $ glmark2-es2-wayland

Test Plan 16.04LTS

  • In addition update desktop from archive
    • Install packages from the release candidate PPA:

      • $ sudo add-apt-repository ppa:ci-train-ppa-service/stable-phone-overlay

      • $ sudo add-apt-repository --update ppa:mir-team/rc

      • $ sudo apt install mir-demos mir-graphics-drivers-desktop mir-test-tools

    • Install applications to test with:
      • Qt Wayland support, qterminal and kate to test with:
        • $ sudo apt install kate qterminal qtubuntu-desktop

      • Install glmark2:
        • $ sudo apt install glmark2-wayland glmark2-mir

  • Mir-on-X11
    • Use an X11 based desktop (Unity, Gnome, etc.).
    • Start a terminal sessions to launch the tests.
    • Run the "smoke tests" to ensure the example clients work
      • $ mir-smoke-test-runner

      • Check the result is "I: Smoke testing complete with returncode 0"
    • Run a test session in a window
      • $ miral-app -qt-mirclient -gtk-mirclient

    • [in the Mir-on-X11 session] Try running, resizing, moving and switching between the following:
      • $ mir_demo_client_multiwin

      • $ kate

      • $ gnome-terminal

      • $ weston-terminal

      • $ glmark2-es2-wayland

      • $ glmark2-es2-mir

  • Mir-on-KMS
    • Switch to VT4 and sign in
      • $ miral-app -qt-mirclient -gtk-mirclient --window-manager tiling

    • Try running, and switching between the following:
      • $ mir_demo_client_multiwin

      • $ kate

      • $ gnome-terminal

      • $ glmark2-es2-wayland

      • $ glmark2-es2-mir

    • Run the "smoke tests" to ensure the example clients work
      • $ mir-smoke-test-runner

      • Check the result is "I: Smoke testing complete with returncode 0"
  • Mir-on-KMS
    • Switch to VT4 and sign in
      • $ miral-app -qt-mirclient -gtk-mirclient

Process/Merges/TestPlans/Mir (last edited 2018-07-30 16:09:36 by alan-griffiths)