From Fedora Project Wiki

Revision as of 15:27, 18 January 2017 by Jwrdegoede (talk | contribs) (Created page with "= Introduction = The purpose of this test plan is to do a comprehensive test figuring out what does and does not work for a given model laptop (and filing bugs for the does no...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

The purpose of this test plan is to do a comprehensive test figuring out what does and does not work for a given model laptop (and filing bugs for the does not work parts), while at the same time not spending too much time on testing.

General Funcitonality

  1. Display
    1. Check that the internal screen comes up in its native resolution
    2. Check that the backlight can be controller used the backlight keys on the keyboard. If this is does not work try the brightness slider in the GNOME 3 system menu, to see if this is an input driver or backlight driver issue
    3. Check that plugging an external display works (repeat once for all different external video outputs, including DP capable USB-C)
  2. Input
    1. Check that the touchpad (and optional trackpoint) work, the touchpad should be recognized natively as a touchpad not as a ps/2 mouse.
    2. Check that the touchscreen works (if available)
    3. Check that any special (non audio / brightness) hotkeys properly generate input events
    4. If the keyboard is backlit then there should be a keyboard brightness slider in gnome-control-center's "Power" screen and that slider should be able to control the keyboard backlight brightness
  3. Audio
    1. Check that playing music on the speakers work
    2. Check that the volume can be changed and muted using the volume keys on the keyboard. If this is does not work try the volume slider in the GNOME 3 system menu, to see if this is an input driver or audio driver issue
    3. Check that plugging in a headphone and then playing music results in music on the headphone and the speakers being muted
    4. Check playing audio over hdmi works (if available)
  4. Connectivity:
    1. Check that wireless works (both 2.4 and 5GHz if available)
    2. Check that wired ethernet works (if available)
    3. Check that bluetooth works (if available)
    4. If the laptop has a hardware radio kill-switch:
      1. Check that the gnome-system menu correctly lists wifi and bluetooth as hardware disabled when the switch is in the kill position
      2. Check that toggling the switch while suspended gets correctly seen on resume (in both directions)
      3. Check that wifi / bluetooth work again after re-enabling the radios
  5. GPU
    1. Check that "glxgears -info | grep GL_RENDERER" works and that the renderer shown matches the hardware (is not llvmpipe / software rendering)
    2. If the laptop has hybrid graphics:
      1. Check that the discrete GPU properly suspends when booted without any external displays connected
      2. Check that the discrete GPU properly returns to the suspended state after using external displays
      3. Check that "DRI_PRIME=1 glxgears -info | grep GL_RENDERER" works and that the renderer shown matches the discrete GPU
  6. Other:
    1. Check that the webcam works (if available)
    2. Check that the fingerprint reader works (if available)
    3. Check that the sdcard read works (if available)
    4. After running the above tests check that the laptop is running reasonable cool and the fans are running at a normal speed
    5. After running all tests check dmesg for oopses

Suspend/resume tests

  1. Test suspend/resume without any external displays connected
  2. After resume re-check all "General functionality tests"
  3. Test suspend/resume with external displays:
    1. Check suspend/resume with the external display connected
    2. Check suspending without the external display connected followed by resume with the external display connected
    3. Check suspending with the external display connected followed by resume without the external display connected
    4. Repeat the above tests once for all different external video outputs, including DP capable USB-C

Power consumption tests

  1. Log into a GNOME3 desktop and then from a terminal run "sudo powertop", then let it idle for a couple of minutes, powertop should then show:
    1. In the "Overview" screen, discharge rate around: 8W (Skylake 15" laptop, full brightness) - 12W (Ivy Bridge 14" laptop, full brightness)
    2. In the "Overview" screen, wakeups around 100 wakeups/second or less
    3. In the "Idle stats" screen, high percentage of higher numbered C-states for all Core, CPUs and the Package
  2. Check that the gnome-system menu correctly shows if the laptop is hooked up to AC or not (plug in/out the power adapter to check both)
  3. Check that nothing weird happens when (un)plugging the power adapter

Docking station tests

  1. Check the following following connections on the docking station:
    1. External display outputs
    2. USB ports
    3. Ethernet
    4. That audio is output via speakers / a headphone plugged into the dock and that the laptops internal speakers are muted
    For each of the following cases:
    1. Power-up the laptop while connected to the docking station
    2. Plug the laptop into the docking station while powered up
    3. Plug the laptop into the docking station while suspended, then resume the laptop
  2. Start with the laptop in a docking station with as much external displays active as possible, as well as ethernet and USB devices connected and then:
    1. Unplug the laptop from the dock while it is powered-up
    2. Suspend the laptop, unplug it and then resume it
    And for each of these cases check:
    1. That the laptop properly reverts to using only its internal display (any windows shown on external monitors should be migrated to the internal
    2. That lsusb no longer shows the devices connected to the dock
    3. That the ethernet interface is no longer seen
    4. That audio is output through the laptops internal speakers