diff options
author | Yeoh Ee Peng <ee.peng.yeoh@intel.com> | 2018-10-11 17:39:01 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-11 23:06:35 +0100 |
commit | efb1e2d8318412d6de39075699a02a3a12760cef (patch) | |
tree | 3f709cbf4c4eb26398ecbc92e69b93a12279a718 /meta/lib/oeqa/manual/bsp-hw.json | |
parent | aa2b645bf20fb17bfba7fff1c989173396e4f753 (diff) | |
download | poky-efb1e2d8318412d6de39075699a02a3a12760cef.tar.gz |
oeqa/manual: transfer manual test cases from testopia to oeqa
As part of the solution to replace Testopia, manual test cases
need to be migrated to OEQA. These manual test case json files
will serve two use cases.
Use case#1: as input to the future commandline-based manual test
runner script, where this script will display actions and expected
result information in user friendly text, then it will capture
user input for test result and log, finally it will write test
result and log into existing standardize test result json format
from OEQA framework for automated tests.
Use case#2: QA will open and read these json file manually for
planning manual test execution. Any reader interested in
understanding manual test cases will open and read these files.
(From OE-Core rev: dcaf843878e9adcb3fab025d54cd5d9ceb6c2fce)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/manual/bsp-hw.json')
-rw-r--r-- | meta/lib/oeqa/manual/bsp-hw.json | 1200 |
1 files changed, 1200 insertions, 0 deletions
diff --git a/meta/lib/oeqa/manual/bsp-hw.json b/meta/lib/oeqa/manual/bsp-hw.json new file mode 100644 index 0000000000..a2b1d3e0b0 --- /dev/null +++ b/meta/lib/oeqa/manual/bsp-hw.json | |||
@@ -0,0 +1,1200 @@ | |||
1 | [ | ||
2 | { | ||
3 | "test": { | ||
4 | "@alias": "bsps-hw.bsps-tools.rpm_-__install_dependency_package", | ||
5 | "author": [ | ||
6 | { | ||
7 | "email": "alexandru.c.georgescu@intel.com", | ||
8 | "name": "alexandru.c.georgescu@intel.com" | ||
9 | } | ||
10 | ], | ||
11 | "execution": { | ||
12 | "1": { | ||
13 | "action": "Get a not previously installed RPM package or build one on local machine, which should have run-time dependency.For example, \"mc\" (Midnight Commander, which is a visual file manager) should depend on \"ncurses-terminfo\". \n\n$ bitbake mc \n\n\n", | ||
14 | "expected_results": "" | ||
15 | }, | ||
16 | "2": { | ||
17 | "action": "Copy the package into a system folder (for example /home/root/rpm_packages). \n\n\n", | ||
18 | "expected_results": "" | ||
19 | }, | ||
20 | "3": { | ||
21 | "action": "Run \"rpm -ivh package_name\" and check the output, for example \"rpm -ivh mc.rpm*\" should report the dependency on \"ncurses-terminfo\".\n\n\n\n", | ||
22 | "expected_results": "3 . rpm command should report message when some RPM installation depends on other packages." | ||
23 | } | ||
24 | }, | ||
25 | "summary": "rpm_-__install_dependency_package" | ||
26 | } | ||
27 | }, | ||
28 | { | ||
29 | "test": { | ||
30 | "@alias": "bsps-hw.bsps-runtime.boot_and_install_from_USB", | ||
31 | "author": [ | ||
32 | { | ||
33 | "email": "alexandru.c.georgescu@intel.com", | ||
34 | "name": "alexandru.c.georgescu@intel.com" | ||
35 | } | ||
36 | ], | ||
37 | "execution": { | ||
38 | "1": { | ||
39 | "action": "plugin usb which contains live image burned", | ||
40 | "expected_results": "User can choose install system from usb stick onto harddisk from boot menu or command line option \n" | ||
41 | }, | ||
42 | "2": { | ||
43 | "action": "configure device BIOS to firstly boot from USB if necessary", | ||
44 | "expected_results": "Installed system can boot up" | ||
45 | }, | ||
46 | "3": { | ||
47 | "action": "boot the device and select option \"Install\" from boot menu", | ||
48 | "expected_results": "" | ||
49 | }, | ||
50 | "4": { | ||
51 | "action": "proceed through default install process", | ||
52 | "expected_results": "" | ||
53 | }, | ||
54 | "5": { | ||
55 | "action": "Remove USB, and reboot into new installed system. \nNote: If installation was successfully completed and received this message \"\"(sdx): Volume was not properly unmounted...Please run fsck.\"\" ignore it because this was whitelisted according to bug 9652.", | ||
56 | "expected_results": "" | ||
57 | } | ||
58 | }, | ||
59 | "summary": "boot_and_install_from_USB" | ||
60 | } | ||
61 | }, | ||
62 | { | ||
63 | "test": { | ||
64 | "@alias": "bsps-hw.bsps-runtime.live_boot_from_USB", | ||
65 | "author": [ | ||
66 | { | ||
67 | "email": "juan.fernandox.ramos.frayle@intel.com", | ||
68 | "name": "juan.fernandox.ramos.frayle@intel.com" | ||
69 | } | ||
70 | ], | ||
71 | "execution": { | ||
72 | "1": { | ||
73 | "action": "Plugin usb which contains live image burned.", | ||
74 | "expected_results": "User can choose boot from live image on usb stick from boot menu or command line option" | ||
75 | }, | ||
76 | "2": { | ||
77 | "action": "Configure device BIOS to firstly boot from USB if necessary.", | ||
78 | "expected_results": "" | ||
79 | }, | ||
80 | "3": { | ||
81 | "action": "Reboot the device and boot from USB stick.", | ||
82 | "expected_results": "Live image can boot up with usb stick" | ||
83 | } | ||
84 | }, | ||
85 | "summary": "live_boot_from_USB" | ||
86 | } | ||
87 | }, | ||
88 | { | ||
89 | "test": { | ||
90 | "@alias": "bsps-hw.bsps-runtime.boot_from_runlevel_3", | ||
91 | "author": [ | ||
92 | { | ||
93 | "email": "alexandru.c.georgescu@intel.com", | ||
94 | "name": "alexandru.c.georgescu@intel.com" | ||
95 | } | ||
96 | ], | ||
97 | "execution": { | ||
98 | "1": { | ||
99 | "action": "Boot into system and edit /etc/inittab to make sure that system enter at the run level 3 by default, this is done by changing the line \n\n\nid:5:initdefault \n\nto \n\nid:3:initdefault \n\n", | ||
100 | "expected_results": "" | ||
101 | }, | ||
102 | "2": { | ||
103 | "action": "Reboot system, and press \"Tab\" to enter \"grub\"", | ||
104 | "expected_results": "" | ||
105 | }, | ||
106 | "3": { | ||
107 | "action": "Get into the \"kernel\" line with the edit option \"e\" and add \"psplash=false text\" at the end line.", | ||
108 | "expected_results": "" | ||
109 | }, | ||
110 | "4": { | ||
111 | "action": "Press \"F10\" or \"ctrl+x\" to boot system", | ||
112 | "expected_results": "" | ||
113 | }, | ||
114 | "5": { | ||
115 | "action": "If system ask you for a login type \"root\"", | ||
116 | "expected_results": "System should boot to run level 3, showing the command prompt." | ||
117 | } | ||
118 | }, | ||
119 | "summary": "boot_from_runlevel_3" | ||
120 | } | ||
121 | }, | ||
122 | { | ||
123 | "test": { | ||
124 | "@alias": "bsps-hw.bsps-runtime.boot_from_runlevel_5", | ||
125 | "author": [ | ||
126 | { | ||
127 | "email": "alexandru.c.georgescu@intel.com", | ||
128 | "name": "alexandru.c.georgescu@intel.com" | ||
129 | } | ||
130 | ], | ||
131 | "execution": { | ||
132 | "1": { | ||
133 | "action": "Boot into system and edit /etc/inittab to make sure that system enter at the run level 5 by default, this is done by changing the line \n\nid:3:initdefault \n\nto \n\nid:5:initdefault \n\n", | ||
134 | "expected_results": "" | ||
135 | }, | ||
136 | "2": { | ||
137 | "action": "Reboot system, and press \"Tab\" to enter \"grub\"", | ||
138 | "expected_results": "" | ||
139 | }, | ||
140 | "3": { | ||
141 | "action": "Get into the \"kernel\" line with the edit option \"e\" and add \"psplash=false text\" at the end line.", | ||
142 | "expected_results": "" | ||
143 | }, | ||
144 | "4": { | ||
145 | "action": "Press \"F10\" or \"ctrl+x\" to boot system \nNote: The test is only for sato image.", | ||
146 | "expected_results": "System should boot to runlevel 5 ." | ||
147 | } | ||
148 | }, | ||
149 | "summary": "boot_from_runlevel_5" | ||
150 | } | ||
151 | }, | ||
152 | { | ||
153 | "test": { | ||
154 | "@alias": "bsps-hw.bsps-runtime.shutdown_system", | ||
155 | "author": [ | ||
156 | { | ||
157 | "email": "alexandru.c.georgescu@intel.com", | ||
158 | "name": "alexandru.c.georgescu@intel.com" | ||
159 | } | ||
160 | ], | ||
161 | "execution": { | ||
162 | "1": { | ||
163 | "action": "boot system", | ||
164 | "expected_results": "" | ||
165 | }, | ||
166 | "2": { | ||
167 | "action": "launch terminal and run \"shutdown -h now\" or \"poweroff\"", | ||
168 | "expected_results": "System can be shutdown successfully . " | ||
169 | } | ||
170 | }, | ||
171 | "summary": "shutdown_system" | ||
172 | } | ||
173 | }, | ||
174 | { | ||
175 | "test": { | ||
176 | "@alias": "bsps-hw.bsps-runtime.reboot_system", | ||
177 | "author": [ | ||
178 | { | ||
179 | "email": "alexandru.c.georgescu@intel.com", | ||
180 | "name": "alexandru.c.georgescu@intel.com" | ||
181 | } | ||
182 | ], | ||
183 | "execution": { | ||
184 | "1": { | ||
185 | "action": "boot system", | ||
186 | "expected_results": "" | ||
187 | }, | ||
188 | "2": { | ||
189 | "action": "launch terminal and run \"reboot\"", | ||
190 | "expected_results": "System can reboot successfully . " | ||
191 | } | ||
192 | }, | ||
193 | "summary": "reboot_system" | ||
194 | } | ||
195 | }, | ||
196 | { | ||
197 | "test": { | ||
198 | "@alias": "bsps-hw.bsps-runtime.switch_among_multi_applications_and_desktop", | ||
199 | "author": [ | ||
200 | { | ||
201 | "email": "alexandru.c.georgescu@intel.com", | ||
202 | "name": "alexandru.c.georgescu@intel.com" | ||
203 | } | ||
204 | ], | ||
205 | "execution": { | ||
206 | "1": { | ||
207 | "action": "launch several applications(like contacts, file manager, notes, etc)", | ||
208 | "expected_results": "user could switch among multi applications and desktop" | ||
209 | }, | ||
210 | "2": { | ||
211 | "action": "launch terminal", | ||
212 | "expected_results": "" | ||
213 | }, | ||
214 | "3": { | ||
215 | "action": "switch among multi applications and desktop", | ||
216 | "expected_results": "" | ||
217 | }, | ||
218 | "4": { | ||
219 | "action": "close applications \nNote: The case is for sato image only. ", | ||
220 | "expected_results": "" | ||
221 | } | ||
222 | }, | ||
223 | "summary": "switch_among_multi_applications_and_desktop" | ||
224 | } | ||
225 | }, | ||
226 | { | ||
227 | "test": { | ||
228 | "@alias": "bsps-hw.bsps-runtime.USB_-_mount", | ||
229 | "author": [ | ||
230 | { | ||
231 | "email": "alexandru.c.georgescu@intel.com", | ||
232 | "name": "alexandru.c.georgescu@intel.com" | ||
233 | } | ||
234 | ], | ||
235 | "execution": { | ||
236 | "1": { | ||
237 | "action": "Boot system \n\n", | ||
238 | "expected_results": "" | ||
239 | }, | ||
240 | "2": { | ||
241 | "action": "Plug USB stick, it should be mount in /run/media/sd(x) If X-window system does not start and show USB device, then use the terminal to mount it, following the next steps: \na. Locate the usb stick (usually it is on /dev/sdb) \nb. Create a directory with \"mkdir stick\" (so you will have such a path as: /home/root/stick). \nc. Run the command \"mount /dev/sdb /home/root/stick\" to mount USB device on it. \n\n", | ||
242 | "expected_results": "USB device should be mounted in /run/media/sd(x) \nor in /home/root/stick \n\n" | ||
243 | }, | ||
244 | "3": { | ||
245 | "action": "Then you can access USB stick (/home/root/stick) via Terminal or GUI and try various commands and actions like \"cp\", \"mv\", \"touch\" and \"rm\". Type \"dmesg\" command and check for recent mounted devices.", | ||
246 | "expected_results": "Basic commands work properly. The system sends a notification in \"dmesg\" command, showing that the USB stick is accessible and the device is mounted ." | ||
247 | } | ||
248 | }, | ||
249 | "summary": "USB_-_mount" | ||
250 | } | ||
251 | }, | ||
252 | { | ||
253 | "test": { | ||
254 | "@alias": "bsps-hw.bsps-runtime.USB_-_read_files", | ||
255 | "author": [ | ||
256 | { | ||
257 | "email": "alexandru.c.georgescu@intel.com", | ||
258 | "name": "alexandru.c.georgescu@intel.com" | ||
259 | } | ||
260 | ], | ||
261 | "execution": { | ||
262 | "1": { | ||
263 | "action": "boot system", | ||
264 | "expected_results": "view/copy successfully" | ||
265 | }, | ||
266 | "2": { | ||
267 | "action": "plug usb stick", | ||
268 | "expected_results": "" | ||
269 | }, | ||
270 | "3": { | ||
271 | "action": "view files in usb by file browser", | ||
272 | "expected_results": "" | ||
273 | }, | ||
274 | "4": { | ||
275 | "action": "copy some files from usb to local hardware", | ||
276 | "expected_results": "" | ||
277 | } | ||
278 | }, | ||
279 | "summary": "USB_-_read_files" | ||
280 | } | ||
281 | }, | ||
282 | { | ||
283 | "test": { | ||
284 | "@alias": "bsps-hw.bsps-runtime.USB_-_umount", | ||
285 | "author": [ | ||
286 | { | ||
287 | "email": "alexandru.c.georgescu@intel.com", | ||
288 | "name": "alexandru.c.georgescu@intel.com" | ||
289 | } | ||
290 | ], | ||
291 | "execution": { | ||
292 | "1": { | ||
293 | "action": "boot system", | ||
294 | "expected_results": "usb directory in file browser automatically missed" | ||
295 | }, | ||
296 | "2": { | ||
297 | "action": "plug usb stick", | ||
298 | "expected_results": "" | ||
299 | }, | ||
300 | "3": { | ||
301 | "action": "view files in usb by file browser \n4.unplug usb", | ||
302 | "expected_results": "" | ||
303 | } | ||
304 | }, | ||
305 | "summary": "USB_-_umount" | ||
306 | } | ||
307 | }, | ||
308 | { | ||
309 | "test": { | ||
310 | "@alias": "bsps-hw.bsps-runtime.USB_-_write_files", | ||
311 | "author": [ | ||
312 | { | ||
313 | "email": "alexandru.c.georgescu@intel.com", | ||
314 | "name": "alexandru.c.georgescu@intel.com" | ||
315 | } | ||
316 | ], | ||
317 | "execution": { | ||
318 | "1": { | ||
319 | "action": "boot system", | ||
320 | "expected_results": "create/copy successfully" | ||
321 | }, | ||
322 | "2": { | ||
323 | "action": "plug usb stick", | ||
324 | "expected_results": "" | ||
325 | }, | ||
326 | "3": { | ||
327 | "action": "create files in usb \n4.copy some files from local hardware to usb", | ||
328 | "expected_results": "" | ||
329 | } | ||
330 | }, | ||
331 | "summary": "USB_-_write_files" | ||
332 | } | ||
333 | }, | ||
334 | { | ||
335 | "test": { | ||
336 | "@alias": "bsps-hw.bsps-runtime.ethernet_static_ip_set_in_connman", | ||
337 | "author": [ | ||
338 | { | ||
339 | "email": "alexandru.c.georgescu@intel.com", | ||
340 | "name": "alexandru.c.georgescu@intel.com" | ||
341 | } | ||
342 | ], | ||
343 | "execution": { | ||
344 | "1": { | ||
345 | "action": "Boot the system and check internet connection is on . ", | ||
346 | "expected_results": "" | ||
347 | }, | ||
348 | "2": { | ||
349 | "action": "Launch connmand-properties (up-right corner on desktop)", | ||
350 | "expected_results": "" | ||
351 | }, | ||
352 | "3": { | ||
353 | "action": "Choose Ethernet device and set a valid static ip address for it. \nFor example, in our internal network, we can set as following: \nip address: 10.239.48.xxx \nMask: 255.255.255.0 \nGateway (Broadcast): 10.239.48.255", | ||
354 | "expected_results": "" | ||
355 | }, | ||
356 | "4": { | ||
357 | "action": "Check the Network configuration with \"ifconfig\"", | ||
358 | "expected_results": "Static IP was set successfully \n" | ||
359 | }, | ||
360 | "5": { | ||
361 | "action": "ping to another IP adress", | ||
362 | "expected_results": "Ping works correclty\n" | ||
363 | } | ||
364 | }, | ||
365 | "summary": "ethernet_static_ip_set_in_connman" | ||
366 | } | ||
367 | }, | ||
368 | { | ||
369 | "test": { | ||
370 | "@alias": "bsps-hw.bsps-runtime.ethernet_get_IP_in_connman_via_DHCP", | ||
371 | "author": [ | ||
372 | { | ||
373 | "email": "alexandru.c.georgescu@intel.com", | ||
374 | "name": "alexandru.c.georgescu@intel.com" | ||
375 | } | ||
376 | ], | ||
377 | "execution": { | ||
378 | "1": { | ||
379 | "action": "Launch connmand-properties (up-right corner on your desktop). ", | ||
380 | "expected_results": "" | ||
381 | }, | ||
382 | "2": { | ||
383 | "action": "Check if Ethernet device can work properly with static IP, doing \"ping XXX.XXX.XXX.XXX\", once this is set.", | ||
384 | "expected_results": "Ping executed successfully . \n\n" | ||
385 | }, | ||
386 | "3": { | ||
387 | "action": "Then choose DHCP method for Ethernet device in connmand-properties.", | ||
388 | "expected_results": "" | ||
389 | }, | ||
390 | "4": { | ||
391 | "action": "Check with 'ifconfig\" and \"ping\" if Ethernet device get IP address via DHCP.", | ||
392 | "expected_results": "Ethernet device can get dynamic IP address via DHCP in connmand ." | ||
393 | } | ||
394 | }, | ||
395 | "summary": "ethernet_get_IP_in_connman_via_DHCP" | ||
396 | } | ||
397 | }, | ||
398 | { | ||
399 | "test": { | ||
400 | "@alias": "bsps-hw.bsps-tools.connman_offline_mode_in_connman-gnome", | ||
401 | "author": [ | ||
402 | { | ||
403 | "email": "alexandru.c.georgescu@intel.com", | ||
404 | "name": "alexandru.c.georgescu@intel.com" | ||
405 | } | ||
406 | ], | ||
407 | "execution": { | ||
408 | "1": { | ||
409 | "action": "Launch connman-properties after system booting \n\n", | ||
410 | "expected_results": "" | ||
411 | }, | ||
412 | "2": { | ||
413 | "action": "choose \"offline mode\" and check the connection of all network interfaces ", | ||
414 | "expected_results": "All connection should be off after clicking \"offline mode\" . " | ||
415 | } | ||
416 | }, | ||
417 | "summary": "connman_offline_mode_in_connman-gnome" | ||
418 | } | ||
419 | }, | ||
420 | { | ||
421 | "test": { | ||
422 | "@alias": "bsps-hw.bsps-runtime.X_server_can_start_up_with_runlevel_5_boot", | ||
423 | "author": [ | ||
424 | { | ||
425 | "email": "alexandru.c.georgescu@intel.com", | ||
426 | "name": "alexandru.c.georgescu@intel.com" | ||
427 | } | ||
428 | ], | ||
429 | "execution": { | ||
430 | "1": { | ||
431 | "action": "boot up system with default runlevel \n\n", | ||
432 | "expected_results": "X server can start up well and desktop display has no problem . \n\n" | ||
433 | }, | ||
434 | "2": { | ||
435 | "action": "type runlevel at command prompt", | ||
436 | "expected_results": "Output:N 5" | ||
437 | } | ||
438 | }, | ||
439 | "summary": "X_server_can_start_up_with_runlevel_5_boot" | ||
440 | } | ||
441 | }, | ||
442 | { | ||
443 | "test": { | ||
444 | "@alias": "bsps-hw.bsps-runtime.standby", | ||
445 | "author": [ | ||
446 | { | ||
447 | "email": "alexandru.c.georgescu@intel.com", | ||
448 | "name": "alexandru.c.georgescu@intel.com" | ||
449 | } | ||
450 | ], | ||
451 | "execution": { | ||
452 | "1": { | ||
453 | "action": "boot system and launch terminal; check output of \"date\" and launch script \"continue.sh\"", | ||
454 | "expected_results": "" | ||
455 | }, | ||
456 | "2": { | ||
457 | "action": "echo \"mem\" > /sys/power/state", | ||
458 | "expected_results": "" | ||
459 | }, | ||
460 | "3": { | ||
461 | "action": "After system go into S3 mode, move mouse or press any key to make it resume (on NUC press power button)", | ||
462 | "expected_results": "" | ||
463 | }, | ||
464 | "4": { | ||
465 | "action": "Check \"date\" and script \"continue.sh\"", | ||
466 | "expected_results": "" | ||
467 | }, | ||
468 | "5": { | ||
469 | "action": "Check if application can work as normal \ncontinue.sh as below: \n \n#!/bin/sh \n \ni=1 \nwhile [ 0 ] \ndo \n echo $i \n sleep 1 \n i=$((i+1)) \ndone ", | ||
470 | "expected_results": "Screen should resume back and script can run continuously incrementing the i's value from where it was before going to standby state. Date should be the same with the corresponding time increment." | ||
471 | } | ||
472 | }, | ||
473 | "summary": "standby" | ||
474 | } | ||
475 | }, | ||
476 | { | ||
477 | "test": { | ||
478 | "@alias": "bsps-hw.bsps-runtime.check_CPU_utilization_after_standby", | ||
479 | "author": [ | ||
480 | { | ||
481 | "email": "alexandru.c.georgescu@intel.com", | ||
482 | "name": "alexandru.c.georgescu@intel.com" | ||
483 | } | ||
484 | ], | ||
485 | "execution": { | ||
486 | "1": { | ||
487 | "action": "Start up system", | ||
488 | "expected_results": "" | ||
489 | }, | ||
490 | "2": { | ||
491 | "action": "run \"top\" command and check if there is any process eating CPU time", | ||
492 | "expected_results": "" | ||
493 | }, | ||
494 | "3": { | ||
495 | "action": "make system into standby and resume it", | ||
496 | "expected_results": "" | ||
497 | }, | ||
498 | "4": { | ||
499 | "action": "run \"top\" command and check if there is any difference with the data before standby", | ||
500 | "expected_results": "There should be no big difference before/after standby with \"top\" . " | ||
501 | } | ||
502 | }, | ||
503 | "summary": "check_CPU_utilization_after_standby" | ||
504 | } | ||
505 | }, | ||
506 | { | ||
507 | "test": { | ||
508 | "@alias": "bsps-hw.bsps-runtime.Test_if_LAN_device_works_well_after_resume_from_suspend_state", | ||
509 | "author": [ | ||
510 | { | ||
511 | "email": "alexandru.c.georgescu@intel.com", | ||
512 | "name": "alexandru.c.georgescu@intel.com" | ||
513 | } | ||
514 | ], | ||
515 | "execution": { | ||
516 | "1": { | ||
517 | "action": "boot system and launch terminal", | ||
518 | "expected_results": "" | ||
519 | }, | ||
520 | "2": { | ||
521 | "action": "echo \"mem\" > /sys/power/state", | ||
522 | "expected_results": "" | ||
523 | }, | ||
524 | "3": { | ||
525 | "action": "After system go into S3 mode, move mouse or press any key to make it resume", | ||
526 | "expected_results": "" | ||
527 | }, | ||
528 | "4": { | ||
529 | "action": "check ping status \n\nNote: This TC apply only for core-image-full-cmd and core-image-lsb .", | ||
530 | "expected_results": "ping should always work before/after standby" | ||
531 | } | ||
532 | }, | ||
533 | "summary": "Test_if_LAN_device_works_well_after_resume_from_suspend_state" | ||
534 | } | ||
535 | }, | ||
536 | { | ||
537 | "test": { | ||
538 | "@alias": "bsps-hw.bsps-runtime.Test_if_usb_hid_device_works_well_after_resume_from_suspend_state", | ||
539 | "author": [ | ||
540 | { | ||
541 | "email": "alexandru.c.georgescu@intel.com", | ||
542 | "name": "alexandru.c.georgescu@intel.com" | ||
543 | } | ||
544 | ], | ||
545 | "execution": { | ||
546 | "1": { | ||
547 | "action": "boot system and launch terminal", | ||
548 | "expected_results": "" | ||
549 | }, | ||
550 | "2": { | ||
551 | "action": "echo \"mem\" > /sys/power/state", | ||
552 | "expected_results": "" | ||
553 | }, | ||
554 | "3": { | ||
555 | "action": "After system go into S3 mode, resume the device by pressing the power button or using HID devices", | ||
556 | "expected_results": "Devices resumes " | ||
557 | }, | ||
558 | "4": { | ||
559 | "action": "check usb mouse and keyboard", | ||
560 | "expected_results": "Usb mouse and keyboard should work" | ||
561 | } | ||
562 | }, | ||
563 | "summary": "Test_if_usb_hid_device_works_well_after_resume_from_suspend_state" | ||
564 | } | ||
565 | }, | ||
566 | { | ||
567 | "test": { | ||
568 | "@alias": "bsps-hw.bsps-tools.click_terminal_icon_on_X_desktop", | ||
569 | "author": [ | ||
570 | { | ||
571 | "email": "alexandru.c.georgescu@intel.com", | ||
572 | "name": "alexandru.c.georgescu@intel.com" | ||
573 | } | ||
574 | ], | ||
575 | "execution": { | ||
576 | "1": { | ||
577 | "action": "After system launch and X start up, click terminal icon on desktop", | ||
578 | "expected_results": "" | ||
579 | }, | ||
580 | "2": { | ||
581 | "action": "Check if only one terminal window launched and no other problem met", | ||
582 | "expected_results": "There should be no problem after launching terminal . " | ||
583 | } | ||
584 | }, | ||
585 | "summary": "click_terminal_icon_on_X_desktop" | ||
586 | } | ||
587 | }, | ||
588 | { | ||
589 | "test": { | ||
590 | "@alias": "bsps-hw.bsps-tools.Add_multiple_files_in_media_player", | ||
591 | "author": [ | ||
592 | { | ||
593 | "email": "alexandru.c.georgescu@intel.com", | ||
594 | "name": "alexandru.c.georgescu@intel.com" | ||
595 | } | ||
596 | ], | ||
597 | "execution": { | ||
598 | "1": { | ||
599 | "action": "Launch media player", | ||
600 | "expected_results": "" | ||
601 | }, | ||
602 | "2": { | ||
603 | "action": "Add multiple files(5 files) in media player at same time (ogg or wav)", | ||
604 | "expected_results": "" | ||
605 | }, | ||
606 | "3": { | ||
607 | "action": "Verify the sound.", | ||
608 | "expected_results": "Media player should be OK with this action, it reproduce files correctly." | ||
609 | } | ||
610 | }, | ||
611 | "summary": "Add_multiple_files_in_media_player" | ||
612 | } | ||
613 | }, | ||
614 | { | ||
615 | "test": { | ||
616 | "@alias": "bsps-hw.bsps-runtime.check_bash_in_image", | ||
617 | "author": [ | ||
618 | { | ||
619 | "email": "alexandru.c.georgescu@intel.com", | ||
620 | "name": "alexandru.c.georgescu@intel.com" | ||
621 | } | ||
622 | ], | ||
623 | "execution": { | ||
624 | "1": { | ||
625 | "action": "After system is up, check if bash command exists with command \"which bash\"", | ||
626 | "expected_results": "bash command should exist in image giving something as below \"/bin/bash\"" | ||
627 | } | ||
628 | }, | ||
629 | "summary": "check_bash_in_image" | ||
630 | } | ||
631 | }, | ||
632 | { | ||
633 | "test": { | ||
634 | "@alias": "bsps-hw.bsps-runtime.MicroSD_-__mount", | ||
635 | "author": [ | ||
636 | { | ||
637 | "email": "alexandru.c.georgescu@intel.com", | ||
638 | "name": "alexandru.c.georgescu@intel.com" | ||
639 | } | ||
640 | ], | ||
641 | "execution": { | ||
642 | "1": { | ||
643 | "action": "boot system", | ||
644 | "expected_results": "system notify that MicroSDis accessible" | ||
645 | }, | ||
646 | "2": { | ||
647 | "action": "plug MicroSD card", | ||
648 | "expected_results": "" | ||
649 | } | ||
650 | }, | ||
651 | "summary": "MicroSD_-__mount" | ||
652 | } | ||
653 | }, | ||
654 | { | ||
655 | "test": { | ||
656 | "@alias": "bsps-hw.bsps-runtime.MicroSD_-__read_files", | ||
657 | "author": [ | ||
658 | { | ||
659 | "email": "alexandru.c.georgescu@intel.com", | ||
660 | "name": "alexandru.c.georgescu@intel.com" | ||
661 | } | ||
662 | ], | ||
663 | "execution": { | ||
664 | "1": { | ||
665 | "action": "boot system", | ||
666 | "expected_results": "view/copy successfully" | ||
667 | }, | ||
668 | "2": { | ||
669 | "action": "plug MicroSD card", | ||
670 | "expected_results": "" | ||
671 | }, | ||
672 | "3": { | ||
673 | "action": "view files inMicroSD by file browser", | ||
674 | "expected_results": "" | ||
675 | }, | ||
676 | "4": { | ||
677 | "action": "copy some files fromMicroSD to local hardware", | ||
678 | "expected_results": "" | ||
679 | } | ||
680 | }, | ||
681 | "summary": "MicroSD_-__read_files" | ||
682 | } | ||
683 | }, | ||
684 | { | ||
685 | "test": { | ||
686 | "@alias": "bsps-hw.bsps-runtime.MicroSD_-__umount", | ||
687 | "author": [ | ||
688 | { | ||
689 | "email": "alexandru.c.georgescu@intel.com", | ||
690 | "name": "alexandru.c.georgescu@intel.com" | ||
691 | } | ||
692 | ], | ||
693 | "execution": { | ||
694 | "1": { | ||
695 | "action": "boot system", | ||
696 | "expected_results": "MicroSD in file browser automatically missed . " | ||
697 | }, | ||
698 | "2": { | ||
699 | "action": "plug MicroSD card", | ||
700 | "expected_results": "" | ||
701 | }, | ||
702 | "3": { | ||
703 | "action": "view files in MicroSDby file browser", | ||
704 | "expected_results": "" | ||
705 | }, | ||
706 | "4": { | ||
707 | "action": "unplug MicroSD", | ||
708 | "expected_results": "" | ||
709 | } | ||
710 | }, | ||
711 | "summary": "MicroSD_-__umount" | ||
712 | } | ||
713 | }, | ||
714 | { | ||
715 | "test": { | ||
716 | "@alias": "bsps-hw.bsps-runtime.MicroSD_-__write_files", | ||
717 | "author": [ | ||
718 | { | ||
719 | "email": "alexandru.c.georgescu@intel.com", | ||
720 | "name": "alexandru.c.georgescu@intel.com" | ||
721 | } | ||
722 | ], | ||
723 | "execution": { | ||
724 | "1": { | ||
725 | "action": "boot system", | ||
726 | "expected_results": "create/copy successfully" | ||
727 | }, | ||
728 | "2": { | ||
729 | "action": "plug MicroSD card", | ||
730 | "expected_results": "" | ||
731 | }, | ||
732 | "3": { | ||
733 | "action": "create files in MicroSD", | ||
734 | "expected_results": "" | ||
735 | }, | ||
736 | "4": { | ||
737 | "action": "copy some files from local hardware to MicroSD", | ||
738 | "expected_results": "" | ||
739 | } | ||
740 | }, | ||
741 | "summary": "MicroSD_-__write_files" | ||
742 | } | ||
743 | }, | ||
744 | { | ||
745 | "test": { | ||
746 | "@alias": "bsps-hw.bsps-tools.video_-_libva_check_(ogg_video_play)", | ||
747 | "author": [ | ||
748 | { | ||
749 | "email": "alexandru.c.georgescu@intel.com", | ||
750 | "name": "alexandru.c.georgescu@intel.com" | ||
751 | } | ||
752 | ], | ||
753 | "execution": { | ||
754 | "1": { | ||
755 | "action": "check if libva is installed on system (or libogg)", | ||
756 | "expected_results": "" | ||
757 | }, | ||
758 | "2": { | ||
759 | "action": "copy sample ogg file to system", | ||
760 | "expected_results": "" | ||
761 | }, | ||
762 | "3": { | ||
763 | "action": "launch media player can play the ogg file", | ||
764 | "expected_results": "ogg file can be played without problem when libva is used (or libogg) " | ||
765 | } | ||
766 | }, | ||
767 | "summary": "video_-_libva_check_(ogg_video_play)" | ||
768 | } | ||
769 | }, | ||
770 | { | ||
771 | "test": { | ||
772 | "@alias": "bsps-hw.bsps-tools.media_player_-_unable_to_play_MPEG-1_without_\"commercial\"_flag", | ||
773 | "author": [ | ||
774 | { | ||
775 | "email": "alexandru.c.georgescu@intel.com", | ||
776 | "name": "alexandru.c.georgescu@intel.com" | ||
777 | } | ||
778 | ], | ||
779 | "execution": { | ||
780 | "1": { | ||
781 | "action": "Copy sample MPEG-1 file to a system without the \"commercial\" flag.", | ||
782 | "expected_results": "" | ||
783 | }, | ||
784 | "2": { | ||
785 | "action": "Launch media player and make sure it cannot play the MPEG-1 file.", | ||
786 | "expected_results": "MPEG-1 file can not be played on images without the \"commercial\" flag. " | ||
787 | } | ||
788 | }, | ||
789 | "summary": "media_player_-_unable_to_play_MPEG-1_without_\"commercial\"_flag" | ||
790 | } | ||
791 | }, | ||
792 | { | ||
793 | "test": { | ||
794 | "@alias": "bsps-hw.bsps-tools.media_player_-_play_video_(ogv)", | ||
795 | "author": [ | ||
796 | { | ||
797 | "email": "alexandru.c.georgescu@intel.com", | ||
798 | "name": "alexandru.c.georgescu@intel.com" | ||
799 | } | ||
800 | ], | ||
801 | "execution": { | ||
802 | "1": { | ||
803 | "action": "copy sample ogv file to system", | ||
804 | "expected_results": "" | ||
805 | }, | ||
806 | "2": { | ||
807 | "action": "launch media player and make sure it can play the ogv file", | ||
808 | "expected_results": "ogv file can be played without problem" | ||
809 | } | ||
810 | }, | ||
811 | "summary": "media_player_-_play_video_(ogv)" | ||
812 | } | ||
813 | }, | ||
814 | { | ||
815 | "test": { | ||
816 | "@alias": "bsps-hw.bsps-tools.media_player_-_stop/play_button_(ogv)", | ||
817 | "author": [ | ||
818 | { | ||
819 | "email": "alexandru.c.georgescu@intel.com", | ||
820 | "name": "alexandru.c.georgescu@intel.com" | ||
821 | } | ||
822 | ], | ||
823 | "execution": { | ||
824 | "1": { | ||
825 | "action": "copy sample ogv file to system", | ||
826 | "expected_results": "" | ||
827 | }, | ||
828 | "2": { | ||
829 | "action": "launch media player can play the ogv file", | ||
830 | "expected_results": "" | ||
831 | }, | ||
832 | "3": { | ||
833 | "action": "click \"stop\" button to stop playing", | ||
834 | "expected_results": "" | ||
835 | }, | ||
836 | "4": { | ||
837 | "action": "click \"start\" button to resume playing", | ||
838 | "expected_results": "ogv file can be start/stop without problem" | ||
839 | } | ||
840 | }, | ||
841 | "summary": "media_player_-_stop/play_button_(ogv)" | ||
842 | } | ||
843 | }, | ||
844 | { | ||
845 | "test": { | ||
846 | "@alias": "bsps-hw.bsps-tools.audio_-_play_(ogg)_with_HDMI", | ||
847 | "author": [ | ||
848 | { | ||
849 | "email": "alexandru.c.georgescu@intel.com", | ||
850 | "name": "alexandru.c.georgescu@intel.com" | ||
851 | } | ||
852 | ], | ||
853 | "execution": { | ||
854 | "1": { | ||
855 | "action": "copy sample ogg file to system", | ||
856 | "expected_results": "" | ||
857 | }, | ||
858 | "2": { | ||
859 | "action": "connect system with a monitor with HDMI", | ||
860 | "expected_results": "" | ||
861 | }, | ||
862 | "3": { | ||
863 | "action": "launch media player and play the ogg file", | ||
864 | "expected_results": "ogg file can be played without problem with HDMI" | ||
865 | } | ||
866 | }, | ||
867 | "summary": "audio_-_play_(ogg)_with_HDMI" | ||
868 | } | ||
869 | }, | ||
870 | { | ||
871 | "test": { | ||
872 | "@alias": "bsps-hw.bsps-tools.audio_-_play_(wav)_with_HDMI", | ||
873 | "author": [ | ||
874 | { | ||
875 | "email": "alexandru.c.georgescu@intel.com", | ||
876 | "name": "alexandru.c.georgescu@intel.com" | ||
877 | } | ||
878 | ], | ||
879 | "execution": { | ||
880 | "1": { | ||
881 | "action": "copy sample wav file to system", | ||
882 | "expected_results": "" | ||
883 | }, | ||
884 | "2": { | ||
885 | "action": "connect system with a monitor with HDMI", | ||
886 | "expected_results": "" | ||
887 | }, | ||
888 | "3": { | ||
889 | "action": "launch media player and play the wav file", | ||
890 | "expected_results": "wav file can be played without problem, with HDMI" | ||
891 | } | ||
892 | }, | ||
893 | "summary": "audio_-_play_(wav)_with_HDMI" | ||
894 | } | ||
895 | }, | ||
896 | { | ||
897 | "test": { | ||
898 | "@alias": "bsps-hw.bsps-tools.Graphics_-_ABAT", | ||
899 | "author": [ | ||
900 | { | ||
901 | "email": "alexandru.c.georgescu@intel.com", | ||
902 | "name": "alexandru.c.georgescu@intel.com" | ||
903 | } | ||
904 | ], | ||
905 | "execution": { | ||
906 | "1": { | ||
907 | "action": "Download ABAT test suite from internal git repository, git clone git://tinderbox.sh.intel.com/git/abat", | ||
908 | "expected_results": "" | ||
909 | }, | ||
910 | "2": { | ||
911 | "action": "Apply following patch to make it work on yocto environment", | ||
912 | "expected_results": "" | ||
913 | }, | ||
914 | "3": { | ||
915 | "action": "Run \"./abat.sh\" to run ABAT test refer to abat.patch", | ||
916 | "expected_results": "All ABAT test should pass. \nNote : If below 3 fails appears ignore them. \n- start up X server fail.. due is already up \n- module [intel_agp] \n- module [i915]" | ||
917 | } | ||
918 | }, | ||
919 | "summary": "Graphics_-_ABAT" | ||
920 | } | ||
921 | }, | ||
922 | { | ||
923 | "test": { | ||
924 | "@alias": "bsps-hw.bsps-tools.Graphics_-_x11perf_-_2D", | ||
925 | "author": [ | ||
926 | { | ||
927 | "email": "alexandru.c.georgescu@intel.com", | ||
928 | "name": "alexandru.c.georgescu@intel.com" | ||
929 | } | ||
930 | ], | ||
931 | "execution": { | ||
932 | "1": { | ||
933 | "action": "Run \"x11perf -aa10text\" and \"x11perf -rgb10text\"", | ||
934 | "expected_results": "" | ||
935 | }, | ||
936 | "2": { | ||
937 | "action": "Get the FPS result and compare it with upstream graphics data on Sandybridge", | ||
938 | "expected_results": "There should not be big regression between Yocto and upstream linux . " | ||
939 | } | ||
940 | }, | ||
941 | "summary": "Graphics_-_x11perf_-_2D" | ||
942 | } | ||
943 | }, | ||
944 | { | ||
945 | "test": { | ||
946 | "@alias": "bsps-hw.bsps-oe-core.Test_Run_Integrity_-_Check_that_image_is_buildable", | ||
947 | "author": [ | ||
948 | { | ||
949 | "email": "corneliux.stoicescu@intel.com", | ||
950 | "name": "corneliux.stoicescu@intel.com" | ||
951 | } | ||
952 | ], | ||
953 | "execution": { | ||
954 | "1": { | ||
955 | "action": "Check that image can be built using either of the following methods: \n\n", | ||
956 | "expected_results": "" | ||
957 | }, | ||
958 | "2": { | ||
959 | "action": "Check that image is built by autobuilder \nPlease check at: https://autobuilder.yocto.io/pub/releases/ \nChoose the target release that you are validating. \n\n", | ||
960 | "expected_results": "" | ||
961 | }, | ||
962 | "3": { | ||
963 | "action": "Build image yourself \nPreferred to build an core-image-sato-dev to ease the process of the dependent test cases in this run. \nNote: Please set MACHINE in conf/local.conf ", | ||
964 | "expected_results": "If either method fails, this test case will be failed and dependent test cases will be blocked. " | ||
965 | } | ||
966 | }, | ||
967 | "summary": "Test_Run_Integrity_-_Check_that_image_is_buildable" | ||
968 | } | ||
969 | }, | ||
970 | { | ||
971 | "test": { | ||
972 | "@alias": "bsps-hw.bsps-runtime.Check_if_SATA_disk_can_work_correctly", | ||
973 | "author": [ | ||
974 | { | ||
975 | "email": "yi.zhao@windriver.com", | ||
976 | "name": "yi.zhao@windriver.com" | ||
977 | } | ||
978 | ], | ||
979 | "execution": { | ||
980 | "1": { | ||
981 | "action": "Run fdisk command to create partition on SATA disk. ", | ||
982 | "expected_results": "The SATA device can mount, umount, read and write. " | ||
983 | }, | ||
984 | "2": { | ||
985 | "action": "Mount/Umount \n mke2fs /dev/sda1 \n mount -t ext2 /dev/sda1 /mnt/disk \n umount /mnt/disk", | ||
986 | "expected_results": "" | ||
987 | }, | ||
988 | "3": { | ||
989 | "action": "Read/Write (filesystem) \n touch /mnt/disk/test.txt \n echo abcd > /mnt/disk/test.txt \n cat /mnt/disk/test.txt", | ||
990 | "expected_results": "" | ||
991 | }, | ||
992 | "4": { | ||
993 | "action": "Read/Write (raw) \n dd if=/dev/sda1 of=/tmp/test bs=1k count=1k \n This command will read 1MB from /dev/sda1 to /tmp/test", | ||
994 | "expected_results": "" | ||
995 | } | ||
996 | }, | ||
997 | "summary": "Check_if_SATA_disk_can_work_correctly" | ||
998 | } | ||
999 | }, | ||
1000 | { | ||
1001 | "test": { | ||
1002 | "@alias": "bsps-hw.bsps-runtime.Install_and_boot_from_USB-drive_to_HDD-drive", | ||
1003 | "author": [ | ||
1004 | { | ||
1005 | "email": "david.israelx.rodriguez.castellanos@intel.com", | ||
1006 | "name": "david.israelx.rodriguez.castellanos@intel.com" | ||
1007 | } | ||
1008 | ], | ||
1009 | "execution": { | ||
1010 | "1": { | ||
1011 | "action": "Get a HDD drive.", | ||
1012 | "expected_results": "User can choose install system from USB stick on HDD drive from boot menu or command line option \n" | ||
1013 | }, | ||
1014 | "2": { | ||
1015 | "action": "Plugin USB which contains live image burned (USB1).", | ||
1016 | "expected_results": "Installed system can boot up." | ||
1017 | }, | ||
1018 | "3": { | ||
1019 | "action": "Configure device BIOS to firstly boot from USB if necessary", | ||
1020 | "expected_results": "" | ||
1021 | }, | ||
1022 | "4": { | ||
1023 | "action": "Boot the device and select option \"Install\" from boot menu.", | ||
1024 | "expected_results": "" | ||
1025 | }, | ||
1026 | "5": { | ||
1027 | "action": "Make sure that the divice in which image is going to be installed is the HDD drive.", | ||
1028 | "expected_results": "" | ||
1029 | }, | ||
1030 | "6": { | ||
1031 | "action": "Proceed through default install process.", | ||
1032 | "expected_results": "" | ||
1033 | }, | ||
1034 | "7": { | ||
1035 | "action": "Remove USB1, and reboot into new installed system.", | ||
1036 | "expected_results": "" | ||
1037 | } | ||
1038 | }, | ||
1039 | "summary": "Install_and_boot_from_USB-drive_to_HDD-drive" | ||
1040 | } | ||
1041 | }, | ||
1042 | { | ||
1043 | "test": { | ||
1044 | "@alias": "bsps-hw.bsps-runtime.Install_and_boot_from_USB-drive_to_SD-drive", | ||
1045 | "author": [ | ||
1046 | { | ||
1047 | "email": "david.israelx.rodriguez.castellanos@intel.com", | ||
1048 | "name": "david.israelx.rodriguez.castellanos@intel.com" | ||
1049 | } | ||
1050 | ], | ||
1051 | "execution": { | ||
1052 | "1": { | ||
1053 | "action": "Get a SD-drive with enough free space to install an image.", | ||
1054 | "expected_results": "User can choose install system from USB stick on SD-drive from boot menu or command line option. \n" | ||
1055 | }, | ||
1056 | "2": { | ||
1057 | "action": "Plugin USB which contains live image burned (USB1).", | ||
1058 | "expected_results": "Installed system can boot up." | ||
1059 | }, | ||
1060 | "3": { | ||
1061 | "action": "Configure device BIOS to firstly boot from USB if necessary", | ||
1062 | "expected_results": "" | ||
1063 | }, | ||
1064 | "4": { | ||
1065 | "action": "Boot the device and select option \"Install\" from boot menu.", | ||
1066 | "expected_results": "" | ||
1067 | }, | ||
1068 | "5": { | ||
1069 | "action": "Make sure that the device in which image is going to be installed is the SD-drive.", | ||
1070 | "expected_results": "" | ||
1071 | }, | ||
1072 | "6": { | ||
1073 | "action": "Proceed through default install process.", | ||
1074 | "expected_results": "" | ||
1075 | }, | ||
1076 | "7": { | ||
1077 | "action": "Remove USB1, and reboot into new installed system.", | ||
1078 | "expected_results": "" | ||
1079 | } | ||
1080 | }, | ||
1081 | "summary": "Install_and_boot_from_USB-drive_to_SD-drive" | ||
1082 | } | ||
1083 | }, | ||
1084 | { | ||
1085 | "test": { | ||
1086 | "@alias": "bsps-hw.bsps-runtime.Test_boot_on_serial_communication_SD", | ||
1087 | "author": [ | ||
1088 | { | ||
1089 | "email": "juan.fernandox.ramos.frayle@intel.com", | ||
1090 | "name": "juan.fernandox.ramos.frayle@intel.com" | ||
1091 | } | ||
1092 | ], | ||
1093 | "execution": { | ||
1094 | "1": { | ||
1095 | "action": "1.- Create a yocto project image in a SD card \nexample \n2 - Configure a connection like shown in the link avobe: \nhttps://wiki.yoctoproject.org/wiki/MinnowMax_board_Serial_video_connection_guide \n3 - Verify the Minow Max board is connected to the host \n4 - Boot the system to desktop \n5 - Open a Terminal and check the IP \nIn Terminal type $ifconfig\"", | ||
1096 | "expected_results": "Verify you can create a live image \n" | ||
1097 | } | ||
1098 | }, | ||
1099 | "summary": "Test_boot_on_serial_communication_SD" | ||
1100 | } | ||
1101 | }, | ||
1102 | { | ||
1103 | "test": { | ||
1104 | "@alias": "bsps-hw.bsps-runtime.Test_boot_on_serial_communication_HDD", | ||
1105 | "author": [ | ||
1106 | { | ||
1107 | "email": "juan.fernandox.ramos.frayle@intel.com", | ||
1108 | "name": "juan.fernandox.ramos.frayle@intel.com" | ||
1109 | } | ||
1110 | ], | ||
1111 | "execution": { | ||
1112 | "1": { | ||
1113 | "action": "1 - Create a yocto project image in a HDD \nexample \n2 - Configure a connection like shown in the link avobe: \nhttps://wiki.yoctoproject.org/wiki/MinnowMax_board_Serial_video_connection_guide \n3 - Verify the Minow Max board is connected to the host \n4 - Boot the system to desktop \n5 - Open a Terminal and check the IP \nIn Terminal type $ifconfig\"> ", | ||
1114 | "expected_results": "Verify you can create a live image \n" | ||
1115 | } | ||
1116 | }, | ||
1117 | "summary": "Test_boot_on_serial_communication_HDD" | ||
1118 | } | ||
1119 | }, | ||
1120 | { | ||
1121 | "test": { | ||
1122 | "@alias": "bsps-hw.bsps-runtime.Test_boot_on_serial_communication_USB", | ||
1123 | "author": [ | ||
1124 | { | ||
1125 | "email": "juan.fernandox.ramos.frayle@intel.com", | ||
1126 | "name": "juan.fernandox.ramos.frayle@intel.com" | ||
1127 | } | ||
1128 | ], | ||
1129 | "execution": { | ||
1130 | "1": { | ||
1131 | "action": "1.- Create a yocto project image in a USB \nexample <dd if= core-image-sato-sdk.hddimg of =/dev/sdb>", | ||
1132 | "expected_results": "Verify you can create a live image \n" | ||
1133 | }, | ||
1134 | "2": { | ||
1135 | "action": "Configure a connection like shown in the link avobe: \nhttps://wiki.yoctoproject.org/wiki/MinnowMax_board_Serial_video_connection_guide\n\n", | ||
1136 | "expected_results": "Video signal is present and not delayed \n" | ||
1137 | }, | ||
1138 | "3": { | ||
1139 | "action": " Verify the Minow Max board is connected to the host", | ||
1140 | "expected_results": "Verify the system boot ok and no errors are present \n" | ||
1141 | }, | ||
1142 | "4": { | ||
1143 | "action": " Boot the system to desktop", | ||
1144 | "expected_results": " Check that a valid IP is retrieved" | ||
1145 | }, | ||
1146 | "5": { | ||
1147 | "action": " Open a Terminal and check the IP \nIn Terminal type $ifconfig\" ", | ||
1148 | "expected_results": "" | ||
1149 | } | ||
1150 | }, | ||
1151 | "summary": "Test_boot_on_serial_communication_USB" | ||
1152 | } | ||
1153 | }, | ||
1154 | { | ||
1155 | "test": { | ||
1156 | "@alias": "bsps-hw.bsps-runtime.Test_Seek_bar_and_volume_control", | ||
1157 | "author": [ | ||
1158 | { | ||
1159 | "email": "juan.fernandox.ramos.frayle@intel.com", | ||
1160 | "name": "juan.fernandox.ramos.frayle@intel.com" | ||
1161 | } | ||
1162 | ], | ||
1163 | "execution": { | ||
1164 | "1": { | ||
1165 | "action": "Run media player and load a media file ", | ||
1166 | "expected_results": "Media player correctly open audio/video file \n" | ||
1167 | }, | ||
1168 | "2": { | ||
1169 | "action": "Verify that seek and volume control are present ", | ||
1170 | "expected_results": "Seek bar and volume control are present \n" | ||
1171 | }, | ||
1172 | "3": { | ||
1173 | "action": "Verify that selecting the speaker icon opens the volume control", | ||
1174 | "expected_results": "Volume control bar must appear \n" | ||
1175 | }, | ||
1176 | "4": { | ||
1177 | "action": "Verify you can increase and decrease volume level with the volume control", | ||
1178 | "expected_results": "Volume level must be increased and decreased \n" | ||
1179 | }, | ||
1180 | "5": { | ||
1181 | "action": "Observe that slider on the seek bar moves along with the video/audio play", | ||
1182 | "expected_results": "Video/audio file can be played and slider moves along with the video/audio play \n" | ||
1183 | }, | ||
1184 | "6": { | ||
1185 | "action": "Verify you can navigate the video with the slider back and forward", | ||
1186 | "expected_results": "The slider can move back and forward in the seek bar \n" | ||
1187 | }, | ||
1188 | "7": { | ||
1189 | "action": "Verify that seek and volume control are functional in full screen mode", | ||
1190 | "expected_results": "Press the full screen mode icon, seek bar and volume control must work fine \n" | ||
1191 | }, | ||
1192 | "8": { | ||
1193 | "action": "Verify that pressing << or >> while playing a file makes the slide goes slow/backwards or faster", | ||
1194 | "expected_results": "Verify << and >> works correctly" | ||
1195 | } | ||
1196 | }, | ||
1197 | "summary": "Test_Seek_bar_and_volume_control" | ||
1198 | } | ||
1199 | } | ||
1200 | ] \ No newline at end of file | ||