summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/manual
diff options
context:
space:
mode:
authorsangeeta jain <sangeeta.jain@intel.com>2019-03-14 10:55:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-18 11:12:26 +0000
commit437dcb901d2017fc851689be761cfc8d0e7e5679 (patch)
treed64ef8d0024e469eaaad68deba10a526529d1cf1 /meta/lib/oeqa/manual
parent2c7c08232e6757e9b723dc1c8440bae4408c7123 (diff)
downloadpoky-437dcb901d2017fc851689be761cfc8d0e7e5679.tar.gz
oeqa/manual/bsp-hw.json: test id updated and obsolete test cases removed
Two changes made in oeqa/manual/bsp-hw.json: 1. All test id (eg. @alias) inside manual testcase file shall follow the same test id naming convention from oeqa automated tests (eg. selftest, runtime, sdk, etc), where the test id consists of <test_module>.<test_suite>.<test_function>. Furthermore, there shall be only 1 unique test_module per each manual testcases file. This file was using more than 1 unique test_module for testcases. Furthermore, some of the testcases were defined using different test_suite where it was not needed. This patch fix the manual testcases file to have only 1 unique test_module as well as test_suite to simplify test id naming. 2. As per review by Intel and Windriver team, 7 testcases were found obsolete. Removed 7 testcases. (From OE-Core rev: e1136bae81672894a277512d7084d27f4e3416b9) Signed-off-by: sangeeta jain <sangeeta.jain@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/manual')
-rw-r--r--meta/lib/oeqa/manual/bsp-hw.json266
1 files changed, 46 insertions, 220 deletions
diff --git a/meta/lib/oeqa/manual/bsp-hw.json b/meta/lib/oeqa/manual/bsp-hw.json
index 2bbf4b2617..4b7c76f70f 100644
--- a/meta/lib/oeqa/manual/bsp-hw.json
+++ b/meta/lib/oeqa/manual/bsp-hw.json
@@ -1,7 +1,7 @@
1[ 1[
2 { 2 {
3 "test": { 3 "test": {
4 "@alias": "bsps-hw.bsps-tools.rpm_-__install_dependency_package", 4 "@alias": "bsps-hw.bsps-hw.rpm_-__install_dependency_package",
5 "author": [ 5 "author": [
6 { 6 {
7 "email": "alexandru.c.georgescu@intel.com", 7 "email": "alexandru.c.georgescu@intel.com",
@@ -27,7 +27,7 @@
27 }, 27 },
28 { 28 {
29 "test": { 29 "test": {
30 "@alias": "bsps-hw.bsps-runtime.boot_and_install_from_USB", 30 "@alias": "bsps-hw.bsps-hw.boot_and_install_from_USB",
31 "author": [ 31 "author": [
32 { 32 {
33 "email": "alexandru.c.georgescu@intel.com", 33 "email": "alexandru.c.georgescu@intel.com",
@@ -61,7 +61,7 @@
61 }, 61 },
62 { 62 {
63 "test": { 63 "test": {
64 "@alias": "bsps-hw.bsps-runtime.live_boot_from_USB", 64 "@alias": "bsps-hw.bsps-hw.live_boot_from_USB",
65 "author": [ 65 "author": [
66 { 66 {
67 "email": "juan.fernandox.ramos.frayle@intel.com", 67 "email": "juan.fernandox.ramos.frayle@intel.com",
@@ -87,7 +87,7 @@
87 }, 87 },
88 { 88 {
89 "test": { 89 "test": {
90 "@alias": "bsps-hw.bsps-runtime.boot_from_runlevel_3", 90 "@alias": "bsps-hw.bsps-hw.boot_from_runlevel_3",
91 "author": [ 91 "author": [
92 { 92 {
93 "email": "alexandru.c.georgescu@intel.com", 93 "email": "alexandru.c.georgescu@intel.com",
@@ -121,7 +121,7 @@
121 }, 121 },
122 { 122 {
123 "test": { 123 "test": {
124 "@alias": "bsps-hw.bsps-runtime.boot_from_runlevel_5", 124 "@alias": "bsps-hw.bsps-hw.boot_from_runlevel_5",
125 "author": [ 125 "author": [
126 { 126 {
127 "email": "alexandru.c.georgescu@intel.com", 127 "email": "alexandru.c.georgescu@intel.com",
@@ -151,7 +151,7 @@
151 }, 151 },
152 { 152 {
153 "test": { 153 "test": {
154 "@alias": "bsps-hw.bsps-runtime.shutdown_system", 154 "@alias": "bsps-hw.bsps-hw.shutdown_system",
155 "author": [ 155 "author": [
156 { 156 {
157 "email": "alexandru.c.georgescu@intel.com", 157 "email": "alexandru.c.georgescu@intel.com",
@@ -173,7 +173,7 @@
173 }, 173 },
174 { 174 {
175 "test": { 175 "test": {
176 "@alias": "bsps-hw.bsps-runtime.reboot_system", 176 "@alias": "bsps-hw.bsps-hw.reboot_system",
177 "author": [ 177 "author": [
178 { 178 {
179 "email": "alexandru.c.georgescu@intel.com", 179 "email": "alexandru.c.georgescu@intel.com",
@@ -195,7 +195,7 @@
195 }, 195 },
196 { 196 {
197 "test": { 197 "test": {
198 "@alias": "bsps-hw.bsps-runtime.switch_among_multi_applications_and_desktop", 198 "@alias": "bsps-hw.bsps-hw.switch_among_multi_applications_and_desktop",
199 "author": [ 199 "author": [
200 { 200 {
201 "email": "alexandru.c.georgescu@intel.com", 201 "email": "alexandru.c.georgescu@intel.com",
@@ -225,7 +225,7 @@
225 }, 225 },
226 { 226 {
227 "test": { 227 "test": {
228 "@alias": "bsps-hw.bsps-runtime.USB_-_mount", 228 "@alias": "bsps-hw.bsps-hw.USB_-_mount",
229 "author": [ 229 "author": [
230 { 230 {
231 "email": "alexandru.c.georgescu@intel.com", 231 "email": "alexandru.c.georgescu@intel.com",
@@ -251,7 +251,7 @@
251 }, 251 },
252 { 252 {
253 "test": { 253 "test": {
254 "@alias": "bsps-hw.bsps-runtime.USB_-_read_files", 254 "@alias": "bsps-hw.bsps-hw.USB_-_read_files",
255 "author": [ 255 "author": [
256 { 256 {
257 "email": "alexandru.c.georgescu@intel.com", 257 "email": "alexandru.c.georgescu@intel.com",
@@ -281,7 +281,7 @@
281 }, 281 },
282 { 282 {
283 "test": { 283 "test": {
284 "@alias": "bsps-hw.bsps-runtime.USB_-_umount", 284 "@alias": "bsps-hw.bsps-hw.USB_-_umount",
285 "author": [ 285 "author": [
286 { 286 {
287 "email": "alexandru.c.georgescu@intel.com", 287 "email": "alexandru.c.georgescu@intel.com",
@@ -307,7 +307,7 @@
307 }, 307 },
308 { 308 {
309 "test": { 309 "test": {
310 "@alias": "bsps-hw.bsps-runtime.USB_-_write_files", 310 "@alias": "bsps-hw.bsps-hw.USB_-_write_files",
311 "author": [ 311 "author": [
312 { 312 {
313 "email": "alexandru.c.georgescu@intel.com", 313 "email": "alexandru.c.georgescu@intel.com",
@@ -333,7 +333,7 @@
333 }, 333 },
334 { 334 {
335 "test": { 335 "test": {
336 "@alias": "bsps-hw.bsps-runtime.ethernet_static_ip_set_in_connman", 336 "@alias": "bsps-hw.bsps-hw.ethernet_static_ip_set_in_connman",
337 "author": [ 337 "author": [
338 { 338 {
339 "email": "alexandru.c.georgescu@intel.com", 339 "email": "alexandru.c.georgescu@intel.com",
@@ -367,7 +367,7 @@
367 }, 367 },
368 { 368 {
369 "test": { 369 "test": {
370 "@alias": "bsps-hw.bsps-runtime.ethernet_get_IP_in_connman_via_DHCP", 370 "@alias": "bsps-hw.bsps-hw.ethernet_get_IP_in_connman_via_DHCP",
371 "author": [ 371 "author": [
372 { 372 {
373 "email": "alexandru.c.georgescu@intel.com", 373 "email": "alexandru.c.georgescu@intel.com",
@@ -397,7 +397,7 @@
397 }, 397 },
398 { 398 {
399 "test": { 399 "test": {
400 "@alias": "bsps-hw.bsps-tools.connman_offline_mode_in_connman-gnome", 400 "@alias": "bsps-hw.bsps-hw.connman_offline_mode_in_connman-gnome",
401 "author": [ 401 "author": [
402 { 402 {
403 "email": "alexandru.c.georgescu@intel.com", 403 "email": "alexandru.c.georgescu@intel.com",
@@ -419,7 +419,7 @@
419 }, 419 },
420 { 420 {
421 "test": { 421 "test": {
422 "@alias": "bsps-hw.bsps-runtime.X_server_can_start_up_with_runlevel_5_boot", 422 "@alias": "bsps-hw.bsps-hw.X_server_can_start_up_with_runlevel_5_boot",
423 "author": [ 423 "author": [
424 { 424 {
425 "email": "alexandru.c.georgescu@intel.com", 425 "email": "alexandru.c.georgescu@intel.com",
@@ -441,7 +441,7 @@
441 }, 441 },
442 { 442 {
443 "test": { 443 "test": {
444 "@alias": "bsps-hw.bsps-runtime.standby", 444 "@alias": "bsps-hw.bsps-hw.standby",
445 "author": [ 445 "author": [
446 { 446 {
447 "email": "alexandru.c.georgescu@intel.com", 447 "email": "alexandru.c.georgescu@intel.com",
@@ -475,7 +475,7 @@
475 }, 475 },
476 { 476 {
477 "test": { 477 "test": {
478 "@alias": "bsps-hw.bsps-runtime.check_CPU_utilization_after_standby", 478 "@alias": "bsps-hw.bsps-hw.check_CPU_utilization_after_standby",
479 "author": [ 479 "author": [
480 { 480 {
481 "email": "alexandru.c.georgescu@intel.com", 481 "email": "alexandru.c.georgescu@intel.com",
@@ -505,7 +505,7 @@
505 }, 505 },
506 { 506 {
507 "test": { 507 "test": {
508 "@alias": "bsps-hw.bsps-runtime.Test_if_LAN_device_works_well_after_resume_from_suspend_state", 508 "@alias": "bsps-hw.bsps-hw.Test_if_LAN_device_works_well_after_resume_from_suspend_state",
509 "author": [ 509 "author": [
510 { 510 {
511 "email": "alexandru.c.georgescu@intel.com", 511 "email": "alexandru.c.georgescu@intel.com",
@@ -535,7 +535,7 @@
535 }, 535 },
536 { 536 {
537 "test": { 537 "test": {
538 "@alias": "bsps-hw.bsps-runtime.Test_if_usb_hid_device_works_well_after_resume_from_suspend_state", 538 "@alias": "bsps-hw.bsps-hw.Test_if_usb_hid_device_works_well_after_resume_from_suspend_state",
539 "author": [ 539 "author": [
540 { 540 {
541 "email": "alexandru.c.georgescu@intel.com", 541 "email": "alexandru.c.georgescu@intel.com",
@@ -565,7 +565,7 @@
565 }, 565 },
566 { 566 {
567 "test": { 567 "test": {
568 "@alias": "bsps-hw.bsps-tools.click_terminal_icon_on_X_desktop", 568 "@alias": "bsps-hw.bsps-hw.click_terminal_icon_on_X_desktop",
569 "author": [ 569 "author": [
570 { 570 {
571 "email": "alexandru.c.georgescu@intel.com", 571 "email": "alexandru.c.georgescu@intel.com",
@@ -587,7 +587,7 @@
587 }, 587 },
588 { 588 {
589 "test": { 589 "test": {
590 "@alias": "bsps-hw.bsps-tools.Add_multiple_files_in_media_player", 590 "@alias": "bsps-hw.bsps-hw.Add_multiple_files_in_media_player",
591 "author": [ 591 "author": [
592 { 592 {
593 "email": "alexandru.c.georgescu@intel.com", 593 "email": "alexandru.c.georgescu@intel.com",
@@ -613,7 +613,7 @@
613 }, 613 },
614 { 614 {
615 "test": { 615 "test": {
616 "@alias": "bsps-hw.bsps-runtime.check_bash_in_image", 616 "@alias": "bsps-hw.bsps-hw.check_bash_in_image",
617 "author": [ 617 "author": [
618 { 618 {
619 "email": "alexandru.c.georgescu@intel.com", 619 "email": "alexandru.c.georgescu@intel.com",
@@ -631,7 +631,7 @@
631 }, 631 },
632 { 632 {
633 "test": { 633 "test": {
634 "@alias": "bsps-hw.bsps-runtime.MicroSD_-__mount", 634 "@alias": "bsps-hw.bsps-hw.MicroSD_-__mount",
635 "author": [ 635 "author": [
636 { 636 {
637 "email": "alexandru.c.georgescu@intel.com", 637 "email": "alexandru.c.georgescu@intel.com",
@@ -653,7 +653,7 @@
653 }, 653 },
654 { 654 {
655 "test": { 655 "test": {
656 "@alias": "bsps-hw.bsps-runtime.MicroSD_-__read_files", 656 "@alias": "bsps-hw.bsps-hw.MicroSD_-__read_files",
657 "author": [ 657 "author": [
658 { 658 {
659 "email": "alexandru.c.georgescu@intel.com", 659 "email": "alexandru.c.georgescu@intel.com",
@@ -683,7 +683,7 @@
683 }, 683 },
684 { 684 {
685 "test": { 685 "test": {
686 "@alias": "bsps-hw.bsps-runtime.MicroSD_-__umount", 686 "@alias": "bsps-hw.bsps-hw.MicroSD_-__umount",
687 "author": [ 687 "author": [
688 { 688 {
689 "email": "alexandru.c.georgescu@intel.com", 689 "email": "alexandru.c.georgescu@intel.com",
@@ -713,7 +713,7 @@
713 }, 713 },
714 { 714 {
715 "test": { 715 "test": {
716 "@alias": "bsps-hw.bsps-runtime.MicroSD_-__write_files", 716 "@alias": "bsps-hw.bsps-hw.MicroSD_-__write_files",
717 "author": [ 717 "author": [
718 { 718 {
719 "email": "alexandru.c.georgescu@intel.com", 719 "email": "alexandru.c.georgescu@intel.com",
@@ -743,7 +743,7 @@
743 }, 743 },
744 { 744 {
745 "test": { 745 "test": {
746 "@alias": "bsps-hw.bsps-tools.video_-_libva_check_(ogg_video_play)", 746 "@alias": "bsps-hw.bsps-hw.video_-_libva_check_(ogg_video_play)",
747 "author": [ 747 "author": [
748 { 748 {
749 "email": "alexandru.c.georgescu@intel.com", 749 "email": "alexandru.c.georgescu@intel.com",
@@ -769,29 +769,7 @@
769 }, 769 },
770 { 770 {
771 "test": { 771 "test": {
772 "@alias": "bsps-hw.bsps-tools.media_player_-_unable_to_play_MPEG-1_without_\"commercial\"_flag", 772 "@alias": "bsps-hw.bsps-hw.media_player_-_play_video_(ogv)",
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": [ 773 "author": [
796 { 774 {
797 "email": "alexandru.c.georgescu@intel.com", 775 "email": "alexandru.c.georgescu@intel.com",
@@ -813,7 +791,7 @@
813 }, 791 },
814 { 792 {
815 "test": { 793 "test": {
816 "@alias": "bsps-hw.bsps-tools.media_player_-_stop/play_button_(ogv)", 794 "@alias": "bsps-hw.bsps-hw.media_player_-_stop/play_button_(ogv)",
817 "author": [ 795 "author": [
818 { 796 {
819 "email": "alexandru.c.georgescu@intel.com", 797 "email": "alexandru.c.georgescu@intel.com",
@@ -843,7 +821,7 @@
843 }, 821 },
844 { 822 {
845 "test": { 823 "test": {
846 "@alias": "bsps-hw.bsps-tools.audio_-_play_(ogg)_with_HDMI", 824 "@alias": "bsps-hw.bsps-hw.audio_-_play_(ogg)_with_HDMI",
847 "author": [ 825 "author": [
848 { 826 {
849 "email": "alexandru.c.georgescu@intel.com", 827 "email": "alexandru.c.georgescu@intel.com",
@@ -869,7 +847,7 @@
869 }, 847 },
870 { 848 {
871 "test": { 849 "test": {
872 "@alias": "bsps-hw.bsps-tools.audio_-_play_(wav)_with_HDMI", 850 "@alias": "bsps-hw.bsps-hw.audio_-_play_(wav)_with_HDMI",
873 "author": [ 851 "author": [
874 { 852 {
875 "email": "alexandru.c.georgescu@intel.com", 853 "email": "alexandru.c.georgescu@intel.com",
@@ -895,7 +873,7 @@
895 }, 873 },
896 { 874 {
897 "test": { 875 "test": {
898 "@alias": "bsps-hw.bsps-tools.Graphics_-_ABAT", 876 "@alias": "bsps-hw.bsps-hw.Graphics_-_ABAT",
899 "author": [ 877 "author": [
900 { 878 {
901 "email": "alexandru.c.georgescu@intel.com", 879 "email": "alexandru.c.georgescu@intel.com",
@@ -921,7 +899,7 @@
921 }, 899 },
922 { 900 {
923 "test": { 901 "test": {
924 "@alias": "bsps-hw.bsps-tools.Graphics_-_x11perf_-_2D", 902 "@alias": "bsps-hw.bsps-hw.Graphics_-_x11perf_-_2D",
925 "author": [ 903 "author": [
926 { 904 {
927 "email": "alexandru.c.georgescu@intel.com", 905 "email": "alexandru.c.georgescu@intel.com",
@@ -943,33 +921,7 @@
943 }, 921 },
944 { 922 {
945 "test": { 923 "test": {
946 "@alias": "bsps-hw.bsps-oe-core.Test_Run_Integrity_-_Check_that_image_is_buildable", 924 "@alias": "bsps-hw.bsps-hw.Check_if_SATA_disk_can_work_correctly",
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": [ 925 "author": [
974 { 926 {
975 "email": "yi.zhao@windriver.com", 927 "email": "yi.zhao@windriver.com",
@@ -999,7 +951,7 @@
999 }, 951 },
1000 { 952 {
1001 "test": { 953 "test": {
1002 "@alias": "bsps-hw.bsps-runtime.Install_and_boot_from_USB-drive_to_HDD-drive", 954 "@alias": "bsps-hw.bsps-hw.Install_and_boot_from_USB-drive_to_HDD-drive",
1003 "author": [ 955 "author": [
1004 { 956 {
1005 "email": "david.israelx.rodriguez.castellanos@intel.com", 957 "email": "david.israelx.rodriguez.castellanos@intel.com",
@@ -1041,7 +993,7 @@
1041 }, 993 },
1042 { 994 {
1043 "test": { 995 "test": {
1044 "@alias": "bsps-hw.bsps-runtime.Install_and_boot_from_USB-drive_to_SD-drive", 996 "@alias": "bsps-hw.bsps-hw.Install_and_boot_from_USB-drive_to_SD-drive",
1045 "author": [ 997 "author": [
1046 { 998 {
1047 "email": "david.israelx.rodriguez.castellanos@intel.com", 999 "email": "david.israelx.rodriguez.castellanos@intel.com",
@@ -1083,7 +1035,7 @@
1083 }, 1035 },
1084 { 1036 {
1085 "test": { 1037 "test": {
1086 "@alias": "bsps-hw.bsps-runtime.Test_boot_on_serial_communication_SD", 1038 "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_SD",
1087 "author": [ 1039 "author": [
1088 { 1040 {
1089 "email": "juan.fernandox.ramos.frayle@intel.com", 1041 "email": "juan.fernandox.ramos.frayle@intel.com",
@@ -1101,7 +1053,7 @@
1101 }, 1053 },
1102 { 1054 {
1103 "test": { 1055 "test": {
1104 "@alias": "bsps-hw.bsps-runtime.Test_boot_on_serial_communication_HDD", 1056 "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_HDD",
1105 "author": [ 1057 "author": [
1106 { 1058 {
1107 "email": "juan.fernandox.ramos.frayle@intel.com", 1059 "email": "juan.fernandox.ramos.frayle@intel.com",
@@ -1119,7 +1071,7 @@
1119 }, 1071 },
1120 { 1072 {
1121 "test": { 1073 "test": {
1122 "@alias": "bsps-hw.bsps-runtime.Test_boot_on_serial_communication_USB", 1074 "@alias": "bsps-hw.bsps-hw.Test_boot_on_serial_communication_USB",
1123 "author": [ 1075 "author": [
1124 { 1076 {
1125 "email": "juan.fernandox.ramos.frayle@intel.com", 1077 "email": "juan.fernandox.ramos.frayle@intel.com",
@@ -1153,7 +1105,7 @@
1153 }, 1105 },
1154 { 1106 {
1155 "test": { 1107 "test": {
1156 "@alias": "bsps-hw.bsps-runtime.Test_Seek_bar_and_volume_control", 1108 "@alias": "bsps-hw.bsps-hw.Test_Seek_bar_and_volume_control",
1157 "author": [ 1109 "author": [
1158 { 1110 {
1159 "email": "juan.fernandox.ramos.frayle@intel.com", 1111 "email": "juan.fernandox.ramos.frayle@intel.com",
@@ -1199,7 +1151,7 @@
1199 }, 1151 },
1200 { 1152 {
1201 "test": { 1153 "test": {
1202 "@alias": "bsps-runtime.bsps-runtime.Check_if_watchdog_can_reset_the_target_system", 1154 "@alias": "bsps-hw.bsps-hw.Check_if_watchdog_can_reset_the_target_system",
1203 "author": [ 1155 "author": [
1204 { 1156 {
1205 "email": "yi.zhao@windriver.com", 1157 "email": "yi.zhao@windriver.com",
@@ -1217,7 +1169,7 @@
1217 }, 1169 },
1218 { 1170 {
1219 "test": { 1171 "test": {
1220 "@alias": "bsps-runtime.bsps-runtime.Check_if_RTC_(Real_Time_Clock)_can_work_correctly", 1172 "@alias": "bsps-hw.bsps-hw.Check_if_RTC_(Real_Time_Clock)_can_work_correctly",
1221 "author": [ 1173 "author": [
1222 { 1174 {
1223 "email": "yi.zhao@windriver.com", 1175 "email": "yi.zhao@windriver.com",
@@ -1251,7 +1203,7 @@
1251 }, 1203 },
1252 { 1204 {
1253 "test": { 1205 "test": {
1254 "@alias": "bsps-runtime.bsps-runtime.Check_if_target_can_support_EEPROM", 1206 "@alias": "bsps-hw.bsps-hw.Check_if_target_can_support_EEPROM",
1255 "author": [ 1207 "author": [
1256 { 1208 {
1257 "email": "yi.zhao@windriver.com", 1209 "email": "yi.zhao@windriver.com",
@@ -1273,107 +1225,7 @@
1273 }, 1225 },
1274 { 1226 {
1275 "test": { 1227 "test": {
1276 "@alias": "bsps-tools.bsps-tools.smart_add_rpm-dir_channel_(auto)", 1228 "@alias": "bsps-hw.bsps-hw.System_can_boot_up_via_NFS",
1277 "author": [
1278 {
1279 "email": "corneliux.stoicescu@intel.com",
1280 "name": "corneliux.stoicescu@intel.com"
1281 }
1282 ],
1283 "execution": {
1284 "1": {
1285 "action": "Build out packages with poky tree and copy the deploy/rpm directory to target directory. ",
1286 "expected_results": "The command should add a rpm-dir channel with smart. "
1287 },
1288 "2": {
1289 "action": "On target, run \"smart channel --add myrpmdir type=rpm-dir path=/path/to/tmp/deploy/rpm/i586\". ",
1290 "expected_results": "Run \"smart channel --show myrpmdir\" can show the information about the channel:\n[myrpmdir] \ntype = rpm-dir \npath = /path/to/tmp/deploy/rpm/i586"
1291 },
1292 "3": {
1293 "action": "Run \"smart channel --show myrpmdir\" and check the output. ",
1294 "expected_results": "After disable the channel, run \"smart channel --show myrpmdir\" would show:\n[myrpmdir] \ntype = rpm-dir \ndisabled = yes \npath = /path/to/tmp/deploy/rpm/i586"
1295 },
1296 "4": {
1297 "action": "Run \"smart channel --disable myrpmdir\" to diable the channel. ",
1298 "expected_results": ""
1299 },
1300 "5": {
1301 "action": "Run \"smart channel --show myrpmdir\" and check the output.",
1302 "expected_results": ""
1303 }
1304 },
1305 "summary": "smart_add_rpm-dir_channel"
1306 }
1307 },
1308 {
1309 "test": {
1310 "@alias": "bsps-tools.bsps-tools.smart_install_package_from_a_local_directory_(auto)",
1311 "author": [
1312 {
1313 "email": "corneliux.stoicescu@intel.com",
1314 "name": "corneliux.stoicescu@intel.com"
1315 }
1316 ],
1317 "execution": {
1318 "1": {
1319 "action": "Copy packages directory to target and add a rpm-dir channel with \nsmart. Make sure this channel and the default rpm-sys channel are \nenabled.",
1320 "expected_results": "The package \"groff\" should be installed."
1321 },
1322 "2": {
1323 "action": "Run \"smart install package_name\" to install a package from the deploy/rpm/i586 directory. For example, \"smart install groff\".",
1324 "expected_results": ""
1325 }
1326 },
1327 "summary": "smart_install_package_from_a_local_directory"
1328 }
1329 },
1330 {
1331 "test": {
1332 "@alias": "bsps-tools.bsps-tools.smart_install_package_from_a_remote_repomd_repository_(auto)",
1333 "author": [
1334 {
1335 "email": "corneliux.stoicescu@intel.com",
1336 "name": "corneliux.stoicescu@intel.com"
1337 }
1338 ],
1339 "execution": {
1340 "1": {
1341 "action": "Follow procedure in \"https://wiki.yoctoproject.org/wiki/Rpm%27s_Repository_Setup_for_QA\" to create a rpm-md-channel and updatechannelinformation with smart. ",
1342 "expected_results": ""
1343 },
1344 "2": {
1345 "action": "Make sure this channel and the default rpm-sys channel are enabled with \"smart channel --show\". ",
1346 "expected_results": ""
1347 },
1348 "3": {
1349 "action": "Run \"smart install \" to install a package from the remote repository. For example, \"smart install groff\" ",
1350 "expected_results": "The package should be installed. At the example \"groff\" should be installed correctly."
1351 }
1352 },
1353 "summary": "smart_install_package_from_a_remote_repomd_repository"
1354 }
1355 },
1356 {
1357 "test": {
1358 "@alias": "bsps-tools.bsps-tools.smart_remove_package_(auto)",
1359 "author": [
1360 {
1361 "email": "corneliux.stoicescu@intel.com",
1362 "name": "corneliux.stoicescu@intel.com"
1363 }
1364 ],
1365 "execution": {
1366 "1": {
1367 "action": "Run \"smart remove \" and check the output, for example \"smart remove groff\"",
1368 "expected_results": "The package should be removed . At the example \"groff\" should be removed.\n"
1369 }
1370 },
1371 "summary": "smart_remove_package"
1372 }
1373 },
1374 {
1375 "test": {
1376 "@alias": "bsps-meta-yocto.bsps-meta-yocto.System_can_boot_up_via_NFS",
1377 "author": [ 1229 "author": [
1378 { 1230 {
1379 "email": "yi.zhao@windriver.com", 1231 "email": "yi.zhao@windriver.com",
@@ -1403,33 +1255,7 @@
1403 }, 1255 },
1404 { 1256 {
1405 "test": { 1257 "test": {
1406 "@alias": "bsps-meta-yocto.bsps-meta-yocto.System_can_boot_up_via_USB", 1258 "@alias": "bsps-hw.bsps-hw.Boot_from_JFFS2_image",
1407 "author": [
1408 {
1409 "email": "yi.zhao@windriver.com",
1410 "name": "yi.zhao@windriver.com"
1411 }
1412 ],
1413 "execution": {
1414 "1": {
1415 "action": "Copy the kernel and rootfs to the USB stick. # mount /dev/sda2 /media/sda2 # tar -xvjpf core-image-minimal-XXX.tar.bz2 -C /media/sda2 # cp vmlinux /media/sda2/boot/vmlinux # umount /media/sda2 ",
1416 "expected_results": "The system should boot up via USB\n"
1417 },
1418 "2": {
1419 "action": "Reboot the board and press a key on the terminal when prompted to get to the U-Boot command line # reboot ",
1420 "expected_results": ""
1421 },
1422 "3": {
1423 "action": "Load the kernel and boot: => ext2load usb 0:2 $loadaddr boot/vmlinux => bootoctlinux $loadaddr coremask=0x3 root=/dev/sda2 rw rootwait mtdparts=phys_mapped_flash:512k(boot0),512k(boot1),64k@3072k(eeprom)",
1424 "expected_results": ""
1425 }
1426 },
1427 "summary": "System_can_boot_up_via_USB"
1428 }
1429 },
1430 {
1431 "test": {
1432 "@alias": "bsps-meta-yocto.bsps-meta-yocto.Boot_from_JFFS2_image",
1433 "author": [ 1259 "author": [
1434 { 1260 {
1435 "email": "yi.zhao@windriver.com", 1261 "email": "yi.zhao@windriver.com",