From Fedora Project Wiki
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
- Display
- Check that the internal screen comes up in its native resolution
- 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
- Check that plugging an external display works (repeat once for all different external video outputs, including DP capable USB-C)
- Input
- Check that the touchpad (and optional trackpoint) work, the touchpad should be recognized natively as a touchpad not as a ps/2 mouse.
- Check that the touchscreen works (if available)
- Check that any special (non audio / brightness) hotkeys properly generate input events
- 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
- Audio
- Check that playing music on the speakers work
- 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
- Check that plugging in a headphone and then playing music results in music on the headphone and the speakers being muted
- Check playing audio over hdmi works (if available)
- Connectivity:
- Check that wireless works (both 2.4 and 5GHz if available)
- Check that wired ethernet works (if available)
- Check that bluetooth works (if available)
- If the laptop has a hardware radio kill-switch:
- Check that the gnome-system menu correctly lists wifi and bluetooth as hardware disabled when the switch is in the kill position
- Check that toggling the switch while suspended gets correctly seen on resume (in both directions)
- Check that wifi / bluetooth work again after re-enabling the radios
- GPU
- Check that "glxgears -info | grep GL_RENDERER" works and that the renderer shown matches the hardware (is not llvmpipe / software rendering)
- If the laptop has hybrid graphics:
- Check that the discrete GPU properly suspends when booted without any external displays connected
- Check that the discrete GPU properly returns to the suspended state after using external displays
- Check that "DRI_PRIME=1 glxgears -info | grep GL_RENDERER" works and that the renderer shown matches the discrete GPU
- Other:
- Check that the webcam works (if available)
- Check that the fingerprint reader works (if available)
- Check that the sdcard read works (if available)
- After running the above tests check that the laptop is running reasonable cool and the fans are running at a normal speed
- After running all tests check dmesg for oopses
Suspend/resume tests
- Test suspend/resume without any external displays connected
- After resume re-check all "General functionality tests"
- Test suspend/resume with external displays:
- Check suspend/resume with the external display connected
- Check suspending without the external display connected followed by resume with the external display connected
- Check suspending with the external display connected followed by resume without the external display connected
- Repeat the above tests once for all different external video outputs, including DP capable USB-C
Power consumption tests
- 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:
- In the "Overview" screen, discharge rate around: 8W (Skylake 15" laptop, full brightness) - 12W (Ivy Bridge 14" laptop, full brightness)
- In the "Overview" screen, wakeups around 100 wakeups/second or less
- In the "Idle stats" screen, high percentage of higher numbered C-states for all Core, CPUs and the Package
- 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)
- Check that nothing weird happens when (un)plugging the power adapter
Docking station tests
- Check the following following connections on the docking station:
- External display outputs
- USB ports
- Ethernet
- 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:
- Power-up the laptop while connected to the docking station
- Plug the laptop into the docking station while powered up
- Plug the laptop into the docking station while suspended, then resume the laptop
- 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:
- Unplug the laptop from the dock while it is powered-up
- Suspend the laptop, unplug it and then resume it
- And for each of these cases check:
- That the laptop properly reverts to using only its internal display (any windows shown on external monitors should be migrated to the internal
- That lsusb no longer shows the devices connected to the dock
- That the ethernet interface is no longer seen
- That audio is output through the laptops internal speakers