diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2012-02-24 14:51:28 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-28 12:27:24 +0000 |
commit | 36a2f338f377d88cd2926bcfdcd2fa4207a49e8f (patch) | |
tree | 6fcbfef4b60a579864bcfd36279d3cf20bf666c7 /meta/recipes-extended/lsb/lsbtest/session | |
parent | c3a23ec304e750f82d8a98c2fc507478f03ab965 (diff) | |
download | poky-36a2f338f377d88cd2926bcfdcd2fa4207a49e8f.tar.gz |
lsbtest: Add recipe for LSB tests and automate test
The recipe is used for LSB tests. The script LSB_Test.sh does the following things:
- setup LSB testing environment
- download LSB rpm packages with list file packages_list from remote
- install the packages
- execute LSB testing with profile file session
- collect the results
Install packages_list and session files into ${D}/opt/lsb-test.
[YOCTO #1567]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/lsb/lsbtest/session')
-rw-r--r-- | meta/recipes-extended/lsb/lsbtest/session | 194 |
1 files changed, 194 insertions, 0 deletions
diff --git a/meta/recipes-extended/lsb/lsbtest/session b/meta/recipes-extended/lsb/lsbtest/session new file mode 100644 index 0000000000..85ca2efe92 --- /dev/null +++ b/meta/recipes-extended/lsb/lsbtest/session | |||
@@ -0,0 +1,194 @@ | |||
1 | [GENERAL] | ||
2 | VERBOSE_LEVEL: 1 | ||
3 | ARCHITECTURE: targetarch | ||
4 | USE_INTERNET: 1 | ||
5 | STD_VERSION: LSB 4.1 | ||
6 | STD_PROFILE: no | ||
7 | [cmdchk] | ||
8 | RUN: 1 | ||
9 | VERSION: local|* | ||
10 | |||
11 | [libchk] | ||
12 | RUN: 1 | ||
13 | VERSION: local|* | ||
14 | |||
15 | [alsa-t2c] | ||
16 | RUN: 1 | ||
17 | VERSION: local|* | ||
18 | |||
19 | [alsa-t2c|local|*] | ||
20 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/alsa-t2c | ||
21 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/alsa-t2c/results | ||
22 | |||
23 | [core] | ||
24 | RUN: 1 | ||
25 | VERSION: local|* | ||
26 | |||
27 | [core|local|*] | ||
28 | AUTOREPLY_PROVIDES_BASH: n | ||
29 | AUTOREPLY_TESTRUN_PATH: /home/tet/test_sets | ||
30 | AUTOREPLY_PERSON: Automated | ||
31 | AUTOREPLY_KERNEL_NAME: vmlinuz | ||
32 | AUTOREPLY_INSTALL_LSBPAM_CONF: y | ||
33 | AUTOREPLY_PROVIDES_C_SHELL: n | ||
34 | AUTOREPLY_ORGANISATION: N/A | ||
35 | AUTOREPLY_SET_PASS_MIN_DAYS: y | ||
36 | AUTOREPLY_PROVIDES_SYSV_INIT: | ||
37 | AUTOREPLY_ISNTALL_DEVS: y | ||
38 | AUTOREPLY_SUPPORTS_FILE_CMD: y | ||
39 | AUTOREPLY_TEST_SYSTEM: Distribution Checker | ||
40 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/core/tet/test_sets | ||
41 | AUTOREPLY_SUPPORTS_NLS: n | ||
42 | AUTOREPLY_SUPPORTS_PROCESS_ACCOUNTING: n | ||
43 | AUTOREPLY_PATH_TO_RC.D: | ||
44 | AUTOREPLY_ALLOWS_MAKEDEV: n | ||
45 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/core/tet/test_sets/results | ||
46 | |||
47 | [core-t2c] | ||
48 | RUN: 1 | ||
49 | VERSION: local|* | ||
50 | |||
51 | [core-t2c|local|*] | ||
52 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/core-t2c | ||
53 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/core-t2c/results | ||
54 | |||
55 | [cpp-t2c] | ||
56 | RUN: 1 | ||
57 | VERSION: local|* | ||
58 | |||
59 | [cpp-t2c|local|*] | ||
60 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/cpp-t2c | ||
61 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/cpp-t2c/results | ||
62 | |||
63 | [desktop] | ||
64 | RUN: 1 | ||
65 | VERSION: local|* | ||
66 | |||
67 | [desktop|local|*] | ||
68 | AUTOREPLY_DESKTOP_ENVIRONMENT: [default] | ||
69 | AUTOREPLY_PERSON: Automated | ||
70 | AUTOREPLY_X_CLIENT_HOSTNAME: | ||
71 | AUTOREPLY_TEST_SYSTEM: Distribution Checker | ||
72 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/desktop | ||
73 | AUTOREPLY_X11_FONT_PATH: [default] | ||
74 | AUTOREPLY_SHOW_SUMMARY_REPORT: | ||
75 | AUTOREPLY_ORGANISATION: N/A | ||
76 | AUTOREPLY_XVFB_DISPLAY: [default] | ||
77 | |||
78 | [desktop-t2c] | ||
79 | RUN: 1 | ||
80 | VERSION: local|* | ||
81 | |||
82 | [desktop-t2c|local|*] | ||
83 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/desktop-t2c | ||
84 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/desktop-t2c/results | ||
85 | |||
86 | [libstdcpp] | ||
87 | RUN: 1 | ||
88 | VERSION: local|* | ||
89 | |||
90 | [libstdcpp|local|*] | ||
91 | AUTOREPLY_TEST_SYSTEM: Distribution Checker | ||
92 | AUTOREPLY_PERSON: Automated | ||
93 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/libstdcpp_4.1.0 | ||
94 | AUTOREPLY_ORGANISATION: N/A | ||
95 | AUTOREPLY_GNU_TRIPLET: | ||
96 | |||
97 | [olver] | ||
98 | RUN: 1 | ||
99 | VERSION: local|* | ||
100 | |||
101 | [olver|local|*] | ||
102 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/olver-core | ||
103 | AUTOREPLY_RESULTS_DIR: /var/opt/lsb/test/olver-core | ||
104 | |||
105 | [perl] | ||
106 | RUN: 1 | ||
107 | VERSION: local|* | ||
108 | |||
109 | [perl|local|*] | ||
110 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/perl | ||
111 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/perl/results | ||
112 | |||
113 | [printing] | ||
114 | RUN: 1 | ||
115 | VERSION: local|* | ||
116 | |||
117 | [printing|local|*] | ||
118 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/printing | ||
119 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/printing/results | ||
120 | |||
121 | [python] | ||
122 | RUN: 1 | ||
123 | VERSION: local|* | ||
124 | |||
125 | [python|local|*] | ||
126 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/python | ||
127 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/python/results | ||
128 | |||
129 | [qt3-azov] | ||
130 | RUN: 1 | ||
131 | VERSION: local|* | ||
132 | |||
133 | [qt3-azov|local|*] | ||
134 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/qt3-azov | ||
135 | AUTOREPLY_X11_FONT_PATH: [default] | ||
136 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/qt3-azov/results | ||
137 | |||
138 | [qt4-azov] | ||
139 | RUN: 1 | ||
140 | VERSION: local|* | ||
141 | |||
142 | [qt4-azov|local|*] | ||
143 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/qt4-azov | ||
144 | AUTOREPLY_X11_FONT_PATH: [default] | ||
145 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/qt4-azov/results | ||
146 | |||
147 | [xml2-azov] | ||
148 | RUN: 1 | ||
149 | VERSION: local|* | ||
150 | |||
151 | [xts5] | ||
152 | RUN: 1 | ||
153 | VERSION: local|* | ||
154 | |||
155 | [xts5|local|*] | ||
156 | AUTOREPLY_XT_FONTPATH_GOOD: [default] | ||
157 | AUTOREPLY_TESTSUITE_DIR: /opt/lsb/test/xts5 | ||
158 | AUTOREPLY_XVFB_DISPLAY: [default] | ||
159 | AUTOREPLY_RESULTS_DIR: /opt/lsb/test/xts5/xts5/results | ||
160 | AUTOREPLY_XT_FONTPATH: [default] | ||
161 | AUTOREPLY_X_CLIENT_HOSTNAME: | ||
162 | |||
163 | [apache] | ||
164 | RUN: 1 | ||
165 | VERSION: local|* | ||
166 | |||
167 | [expect] | ||
168 | RUN: 1 | ||
169 | VERSION: local|* | ||
170 | |||
171 | [groff] | ||
172 | RUN: 1 | ||
173 | VERSION: local|* | ||
174 | |||
175 | [raptor] | ||
176 | RUN: 1 | ||
177 | VERSION: local|* | ||
178 | |||
179 | [rsync] | ||
180 | RUN: 1 | ||
181 | VERSION: local|* | ||
182 | |||
183 | [samba] | ||
184 | RUN: 1 | ||
185 | VERSION: local|* | ||
186 | |||
187 | [tcl] | ||
188 | RUN: 1 | ||
189 | VERSION: local|* | ||
190 | |||
191 | [xpdf] | ||
192 | RUN: 1 | ||
193 | VERSION: local|* | ||
194 | |||