os/ossrv/genericopenlibs/posixrealtimeextensions/test/testclock/scripts/tclock.script
Update contrib.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
21 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0001
22 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0001
23 //! @SYMTestStatus 3.Released
24 RUN_TEST_STEP !Result=0 5 tclock Testgetclockid1
25 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0001
27 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0002
28 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0002
29 //! @SYMTestStatus 3.Released
30 RUN_TEST_STEP !Result=0 5 tclock Testgetclockid2
31 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0002
33 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0003
34 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0003
35 //! @SYMTestStatus 3.Released
36 RUN_TEST_STEP !Result=0 5 tclock Testgetclockid3
37 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0003
39 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0004
40 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0004
41 //! @SYMTestStatus 3.Released
42 RUN_TEST_STEP !Result=0 5 tclock Testgetclockid4
43 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0004
45 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0005
46 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0005
47 //! @SYMTestStatus 3.Released
48 RUN_TEST_STEP !Result=0 5 tclock Testgetclockid5
49 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0005
51 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0006
52 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0006
53 //! @SYMTestStatus 3.Released
54 RUN_TEST_STEP !Result=0 5 tclock Testclockresolution1
55 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0006
57 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0007
58 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0007
59 //! @SYMTestStatus 3.Released
60 RUN_TEST_STEP !Result=0 5 tclock Testclockresolution2 \tstdapis\tclock.ini Sectionclock_res1
61 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0007
63 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0008
64 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0008
65 //! @SYMTestStatus 3.Released
66 RUN_TEST_STEP !Result=0 5 tclock Testclockresolution2 \tstdapis\tclock.ini Sectionclock_res2
67 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0008
69 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0009
70 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0009
71 //! @SYMTestStatus 3.Released
72 RUN_TEST_STEP !Result=0 5 tclock Testclockresolution2 \tstdapis\tclock.ini Sectionclock_res3
73 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0009
75 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0010
76 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0010
77 //! @SYMTestStatus 3.Released
78 RUN_TEST_STEP !Result=0 5 tclock Testclockresolution3 \tstdapis\tclock.ini Sectionclock_res4
79 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0010
81 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0011
82 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0011
83 //! @SYMTestStatus 3.Released
84 RUN_TEST_STEP !Result=0 5 tclock Testclockresolution3 \tstdapis\tclock.ini Sectionclock_res5
85 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0011
87 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0012
88 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0012
89 //! @SYMTestStatus 3.Released
90 RUN_TEST_STEP !Result=0 5 tclock Testclockresolution3 \tstdapis\tclock.ini Sectionclock_res6
91 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0012
93 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0013
94 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0013
95 //! @SYMTestStatus 3.Released
96 RUN_TEST_STEP !Result=0 5 tclock Testclockgettime1
97 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0013
99 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0014
100 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0014
101 //! @SYMTestStatus 3.Released
102 RUN_TEST_STEP !Result=0 5 tclock Testclockgettime2 \tstdapis\tclock.ini Sectionclock_gettime1
103 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0014
105 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0015
106 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0015
107 //! @SYMTestStatus 3.Released
108 RUN_TEST_STEP !Result=0 5 tclock Testclockgettime2 \tstdapis\tclock.ini Sectionclock_gettime2
109 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0015
111 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0016
112 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0016
113 //! @SYMTestStatus 3.Released
114 RUN_TEST_STEP !Result=0 5 tclock Testclockgettime2 \tstdapis\tclock.ini Sectionclock_gettime3
115 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0016
117 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0017
118 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0017
119 //! @SYMTestStatus 3.Released
120 RUN_TEST_STEP !Result=0 5 tclock Testclockgettime3 \tstdapis\tclock.ini Sectionclock_gettime4
121 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0017
123 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0018
124 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0018
125 //! @SYMTestStatus 3.Released
126 RUN_TEST_STEP !Result=0 5 tclock Testclockgettime3 \tstdapis\tclock.ini Sectionclock_gettime5
127 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0018
129 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0019
130 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0019
131 //! @SYMTestStatus 3.Released
132 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime1 \tstdapis\tclock.ini Sectionclock_settime1
133 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0019
135 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0020
136 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0020
137 //! @SYMTestStatus 3.Released
138 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime1 \tstdapis\tclock.ini Sectionclock_settime2
139 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0020
141 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0021
142 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0021
143 //! @SYMTestStatus 3.Released
144 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime2 \tstdapis\tclock.ini Sectionclock_settime3
145 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0021
147 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0022
148 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0022
149 //! @SYMTestStatus 3.Released
150 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime2 \tstdapis\tclock.ini Sectionclock_settime4
151 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0022
153 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0023
154 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0023
155 //! @SYMTestStatus 3.Released
156 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime2 \tstdapis\tclock.ini Sectionclock_settime5
157 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0023
159 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0024
160 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0024
161 //! @SYMTestStatus 3.Released
162 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime6
163 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0024
165 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0025
166 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0025
167 //! @SYMTestStatus 3.Released
168 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime7
169 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0025
171 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0026
172 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0026
173 //! @SYMTestStatus 3.Released
174 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime8
175 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0026
177 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0027
178 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0027
179 //! @SYMTestStatus 3.Released
180 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime9
181 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0027
183 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0028
184 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0028
185 //! @SYMTestStatus 3.Released
186 RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime10
187 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0028
189 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0029
190 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0029
191 //! @SYMTestStatus 3.Released
192 RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep1 \tstdapis\tclock.ini Sectionclock_nanosleep1
193 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0029
195 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0030
196 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0030
197 //! @SYMTestStatus 3.Released
198 RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep1 \tstdapis\tclock.ini Sectionclock_nanosleep2
199 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0030
201 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0031
202 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0031
203 //! @SYMTestStatus 3.Released
204 RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep1 \tstdapis\tclock.ini Sectionclock_nanosleep3
205 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0031
207 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0032
208 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0032
209 //! @SYMTestStatus 3.Released
210 RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep2 \tstdapis\tclock.ini Sectionclock_nanosleep1
211 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0032
213 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0033
214 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0033
215 //! @SYMTestStatus 3.Released
216 RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep2 \tstdapis\tclock.ini Sectionclock_nanosleep2
217 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0033
219 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0034
220 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0034
221 //! @SYMTestStatus 3.Released
222 RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep2 \tstdapis\tclock.ini Sectionclock_nanosleep3
223 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0034
225 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0035
226 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0035
227 //! @SYMTestStatus 3.Released
228 RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep3 \tstdapis\tclock.ini Sectionclock_nanosleep4
229 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0035
231 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0036
232 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0036
233 //! @SYMTestStatus 3.Released
234 RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep3 \tstdapis\tclock.ini Sectionclock_nanosleep5
235 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0036
237 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0037
238 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0037
239 //! @SYMTestStatus 3.Released
240 RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep4 \tstdapis\tclock.ini Sectioninvalidclockid1
241 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0037
243 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0038
244 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0038
245 //! @SYMTestStatus 3.Released
246 RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep4 \tstdapis\tclock.ini Sectioninvalidclockid2
247 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0038
249 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0039
250 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0039
251 //! @SYMTestStatus 3.Released
252 RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep4 \tstdapis\tclock.ini Sectioninvalidclockid3
253 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0039
255 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0040
256 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0040
257 //! @SYMTestStatus 3.Released
258 RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep4 \tstdapis\tclock.ini Sectioninvalidclockid4
259 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0040
261 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0041
262 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0041
263 //! @SYMTestStatus 3.Released
264 RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep5
265 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0041
267 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0042
268 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0042
269 //! @SYMTestStatus 3.Released
270 RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep6 \tstdapis\tclock.ini Sectionclock_nanosleep1
271 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0042
273 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0043
274 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0043
275 //! @SYMTestStatus 3.Released
276 RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep6 \tstdapis\tclock.ini Sectionclock_nanosleep2
277 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0043
279 START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0044
280 //! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0044
281 //! @SYMTestStatus 3.Released
282 RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep6 \tstdapis\tclock.ini Sectionclock_nanosleep3
283 END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0044