73
73
Tests SRU to ensure apt-get works so we can back out if the SRU hoses the system. (does not install updates)
76
name: sru_fwts_cpu_scaling_test
78
package.name == 'linux'
79
package.name == 'fwts'
81
command: fwts_test -c -l $CHECKBOX_CERTIFICATION_SHARE/fwts_results.log
83
Test the CPU scaling capabilities.
86
name: sru_fwts-wakealarm
88
package.name == 'linux'
89
package.name == 'fwts'
91
Run Colin King's FWTS wakealarm test
93
fwts_test -w -l $CHECKBOX_CERTIFICATION_SHARE/fwts_results.log
96
76
name: sru_tickless_idle_test
97
77
requires: package.name == 'linux'
98
78
description: Ensure SRU does not turn off tickless idle
140
120
Test that the SRU still accesses USB controllers and lists devices
143
name: sru_xorg-process
123
name: sru_xorg_process
144
124
requires: package.name == 'xorg' and package.name == 'procps'
145
125
command: pgrep -f '/usr/bin/X' >/dev/null
146
126
description: Test that the X process is running.
149
name: sru_xorg-failsafe
129
name: sru_xorg_failsafe
150
130
requires: package.name == 'xorg'
151
131
command: ! test -e /var/log/Xorg.failsafe.log
152
132
description: Test that the X is not running in failsafe mode.
154
134
plugin: attachment
155
name: sru_attach_screenshot
135
name: sru_screenshot_attachment
156
136
depends: screenshot
157
137
command: cat ${CHECKBOX_DATA}/screenshot.png
159
139
plugin: attachment
163
Gather log from the firmware test suite run
165
cat $CHECKBOX_CERTIFICATION_SHARE/fwts_results.log
140
name: sru_acpi_sleep_attachment
141
command: cat /proc/acpi/sleep
143
name: sru_codecs_attachment
145
requires: device.driver == 'HDA Intel'
146
command: cat /proc/asound/card*/codec#*
148
name: sru_cpuinfo_attachment
150
command: cat /proc/cpuinfo
152
name: sru_dmesg_attachment
154
command: cat /var/log/dmesg | ansi_parser
156
name: sru_dmi_attachment
158
command: grep -r . /sys/class/dmi/id/ 2>/dev/null
160
name: sru_dmidecode_attachment
165
name: sru_lspci_attachment
169
name: sru_modprobe_attachment
171
command: find /etc/modprobe.* -name \*.conf | xargs cat
173
name: sru_modules_attachment
175
command: cat /etc/modules
177
name: sru_sysctl_attachment
179
command: find /etc/sysctl.* -name \*.conf | xargs cat
181
name: sru_udev_attachment
183
command: udevadm info --export-db
185
name: sru_lsmod_attachment