summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/manual/build-appliance.json
diff options
context:
space:
mode:
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>2018-10-11 17:39:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-11 23:06:35 +0100
commitefb1e2d8318412d6de39075699a02a3a12760cef (patch)
tree3f709cbf4c4eb26398ecbc92e69b93a12279a718 /meta/lib/oeqa/manual/build-appliance.json
parentaa2b645bf20fb17bfba7fff1c989173396e4f753 (diff)
downloadpoky-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/build-appliance.json')
-rw-r--r--meta/lib/oeqa/manual/build-appliance.json122
1 files changed, 122 insertions, 0 deletions
diff --git a/meta/lib/oeqa/manual/build-appliance.json b/meta/lib/oeqa/manual/build-appliance.json
new file mode 100644
index 0000000000..b8f89275d0
--- /dev/null
+++ b/meta/lib/oeqa/manual/build-appliance.json
@@ -0,0 +1,122 @@
1[
2 {
3 "test": {
4 "@alias": "build-appliance.build-appliance.Bitbake_build-appliance-image",
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 poky source code and prepare the build environment",
14 "expected_results": "bitbake build-appliance-image is successful "
15 },
16 "2": {
17 "action": "Set MACHINE to qemux86 and add the following line to conf/local.conf : SRCREV_pn-build-appliance-image = \"${AUTOREV}\"",
18 "expected_results": ""
19 },
20 "3": {
21 "action": "Run \"bitbake build-appliance-image\" \n \n",
22 "expected_results": ""
23 }
24 },
25 "summary": "Bitbake_build-appliance-image"
26 }
27 },
28 {
29 "test": {
30 "@alias": "build-appliance.build-appliance.Build_core-image-minimal_with_build-appliance-image",
31 "author": [
32 {
33 "email": "corneliux.stoicescu@intel.com",
34 "name": "corneliux.stoicescu@intel.com"
35 }
36 ],
37 "execution": {
38 "1": {
39 "action": "Build with AUTOREV or download from Autobuilder an image for Yocto Build Appliance. ",
40 "expected_results": ""
41 },
42 "2": {
43 "action": "Boot the image under VMWare Player. ",
44 "expected_results": ""
45 },
46 "3": {
47 "action": "Build qemux86 core-image-minimal using bitbake command line in the build-appliance-image ",
48 "expected_results": ""
49 },
50 "4": {
51 "action": "Launch the image just built using runqemu. ",
52 "expected_results": "core-image-minimal should build and boot. "
53 }
54 },
55 "summary": "Build_core-image-minimal_with_build-appliance-image"
56 }
57 },
58 {
59 "test": {
60 "@alias": "build-appliance.build-appliance.Build_a_image_without_error_(added_recipe)",
61 "author": [
62 {
63 "email": "sstncr@gmail.com",
64 "name": "sstncr@gmail.com"
65 }
66 ],
67 "execution": {
68 "1": {
69 "action": "Launch Build Appliance",
70 "expected_results": "User could build a image without error and the added package is in the image"
71 },
72 "2": {
73 "action": "Set \"Machine\" in conf/local.conf, for example, qemuarm",
74 "expected_results": ""
75 },
76 "3": {
77 "action": "Install a new package to the image, for example, acpid. Set the following line in conf/local.conf: IMAGE_INSTALL_append = \" acpid\"",
78 "expected_results": ""
79 },
80 "4": {
81 "action": "Build a image using bitbake command line, for example, bitbake core-image-minimal",
82 "expected_results": ""
83 },
84 "5": {
85 "action": "After build finished, launch the image and check if the added package built into image",
86 "expected_results": ""
87 }
88 },
89 "summary": "Build_a_image_without_error_(added_recipe)."
90 }
91 },
92 {
93 "test": {
94 "@alias": "build-appliance.build-appliance.Create_core-image-sato-sdk_using_build_appliance",
95 "author": [
96 {
97 "email": "ee.peng.yeoh@intel.com",
98 "name": "ee.peng.yeoh@intel.com"
99 }
100 ],
101 "execution": {
102 "1": {
103 "action": "Build with AUTOREV or download from Autobuilder an image for Yocto Build Appliance. ",
104 "expected_results": ""
105 },
106 "2": {
107 "action": "Boot the image under VMWare Player. ",
108 "expected_results": ""
109 },
110 "3": {
111 "action": "Build qemux86 core-image-sato-sdk using bitbake command line in the build-appliance-image ",
112 "expected_results": ""
113 },
114 "4": {
115 "action": "Launch the image just built using runqemu. ",
116 "expected_results": ""
117 }
118 },
119 "summary": "Create_core-image-sato-sdk_using_build_appliance"
120 }
121 }
122] \ No newline at end of file