os/ossrv/genericopenlibs/posixrealtimeextensions/test/testclock/scripts/tclock.script
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/genericopenlibs/posixrealtimeextensions/test/testclock/scripts/tclock.script Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,284 @@
1.4 +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +PRINT Run all tclock
1.20 +LOAD_SUITE tclock
1.21 +
1.22 +CONSECUTIVE
1.23 +
1.24 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0001
1.25 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0001
1.26 +//! @SYMTestStatus 3.Released
1.27 +RUN_TEST_STEP !Result=0 5 tclock Testgetclockid1
1.28 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0001
1.29 +
1.30 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0002
1.31 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0002
1.32 +//! @SYMTestStatus 3.Released
1.33 +RUN_TEST_STEP !Result=0 5 tclock Testgetclockid2
1.34 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0002
1.35 +
1.36 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0003
1.37 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0003
1.38 +//! @SYMTestStatus 3.Released
1.39 +RUN_TEST_STEP !Result=0 5 tclock Testgetclockid3
1.40 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0003
1.41 +
1.42 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0004
1.43 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0004
1.44 +//! @SYMTestStatus 3.Released
1.45 +RUN_TEST_STEP !Result=0 5 tclock Testgetclockid4
1.46 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0004
1.47 +
1.48 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0005
1.49 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0005
1.50 +//! @SYMTestStatus 3.Released
1.51 +RUN_TEST_STEP !Result=0 5 tclock Testgetclockid5
1.52 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0005
1.53 +
1.54 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0006
1.55 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0006
1.56 +//! @SYMTestStatus 3.Released
1.57 +RUN_TEST_STEP !Result=0 5 tclock Testclockresolution1
1.58 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0006
1.59 +
1.60 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0007
1.61 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0007
1.62 +//! @SYMTestStatus 3.Released
1.63 +RUN_TEST_STEP !Result=0 5 tclock Testclockresolution2 \tstdapis\tclock.ini Sectionclock_res1
1.64 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0007
1.65 +
1.66 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0008
1.67 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0008
1.68 +//! @SYMTestStatus 3.Released
1.69 +RUN_TEST_STEP !Result=0 5 tclock Testclockresolution2 \tstdapis\tclock.ini Sectionclock_res2
1.70 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0008
1.71 +
1.72 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0009
1.73 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0009
1.74 +//! @SYMTestStatus 3.Released
1.75 +RUN_TEST_STEP !Result=0 5 tclock Testclockresolution2 \tstdapis\tclock.ini Sectionclock_res3
1.76 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0009
1.77 +
1.78 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0010
1.79 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0010
1.80 +//! @SYMTestStatus 3.Released
1.81 +RUN_TEST_STEP !Result=0 5 tclock Testclockresolution3 \tstdapis\tclock.ini Sectionclock_res4
1.82 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0010
1.83 +
1.84 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0011
1.85 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0011
1.86 +//! @SYMTestStatus 3.Released
1.87 +RUN_TEST_STEP !Result=0 5 tclock Testclockresolution3 \tstdapis\tclock.ini Sectionclock_res5
1.88 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0011
1.89 +
1.90 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0012
1.91 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0012
1.92 +//! @SYMTestStatus 3.Released
1.93 +RUN_TEST_STEP !Result=0 5 tclock Testclockresolution3 \tstdapis\tclock.ini Sectionclock_res6
1.94 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0012
1.95 +
1.96 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0013
1.97 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0013
1.98 +//! @SYMTestStatus 3.Released
1.99 +RUN_TEST_STEP !Result=0 5 tclock Testclockgettime1
1.100 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0013
1.101 +
1.102 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0014
1.103 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0014
1.104 +//! @SYMTestStatus 3.Released
1.105 +RUN_TEST_STEP !Result=0 5 tclock Testclockgettime2 \tstdapis\tclock.ini Sectionclock_gettime1
1.106 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0014
1.107 +
1.108 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0015
1.109 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0015
1.110 +//! @SYMTestStatus 3.Released
1.111 +RUN_TEST_STEP !Result=0 5 tclock Testclockgettime2 \tstdapis\tclock.ini Sectionclock_gettime2
1.112 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0015
1.113 +
1.114 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0016
1.115 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0016
1.116 +//! @SYMTestStatus 3.Released
1.117 +RUN_TEST_STEP !Result=0 5 tclock Testclockgettime2 \tstdapis\tclock.ini Sectionclock_gettime3
1.118 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0016
1.119 +
1.120 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0017
1.121 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0017
1.122 +//! @SYMTestStatus 3.Released
1.123 +RUN_TEST_STEP !Result=0 5 tclock Testclockgettime3 \tstdapis\tclock.ini Sectionclock_gettime4
1.124 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0017
1.125 +
1.126 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0018
1.127 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0018
1.128 +//! @SYMTestStatus 3.Released
1.129 +RUN_TEST_STEP !Result=0 5 tclock Testclockgettime3 \tstdapis\tclock.ini Sectionclock_gettime5
1.130 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0018
1.131 +
1.132 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0019
1.133 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0019
1.134 +//! @SYMTestStatus 3.Released
1.135 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime1 \tstdapis\tclock.ini Sectionclock_settime1
1.136 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0019
1.137 +
1.138 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0020
1.139 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0020
1.140 +//! @SYMTestStatus 3.Released
1.141 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime1 \tstdapis\tclock.ini Sectionclock_settime2
1.142 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0020
1.143 +
1.144 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0021
1.145 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0021
1.146 +//! @SYMTestStatus 3.Released
1.147 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime2 \tstdapis\tclock.ini Sectionclock_settime3
1.148 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0021
1.149 +
1.150 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0022
1.151 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0022
1.152 +//! @SYMTestStatus 3.Released
1.153 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime2 \tstdapis\tclock.ini Sectionclock_settime4
1.154 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0022
1.155 +
1.156 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0023
1.157 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0023
1.158 +//! @SYMTestStatus 3.Released
1.159 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime2 \tstdapis\tclock.ini Sectionclock_settime5
1.160 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0023
1.161 +
1.162 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0024
1.163 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0024
1.164 +//! @SYMTestStatus 3.Released
1.165 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime6
1.166 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0024
1.167 +
1.168 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0025
1.169 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0025
1.170 +//! @SYMTestStatus 3.Released
1.171 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime7
1.172 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0025
1.173 +
1.174 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0026
1.175 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0026
1.176 +//! @SYMTestStatus 3.Released
1.177 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime8
1.178 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0026
1.179 +
1.180 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0027
1.181 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0027
1.182 +//! @SYMTestStatus 3.Released
1.183 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime9
1.184 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0027
1.185 +
1.186 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0028
1.187 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0028
1.188 +//! @SYMTestStatus 3.Released
1.189 +RUN_TEST_STEP !Result=0 5 tclock Testclocksettime3 \tstdapis\tclock.ini Sectionclock_settime10
1.190 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0028
1.191 +
1.192 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0029
1.193 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0029
1.194 +//! @SYMTestStatus 3.Released
1.195 +RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep1 \tstdapis\tclock.ini Sectionclock_nanosleep1
1.196 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0029
1.197 +
1.198 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0030
1.199 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0030
1.200 +//! @SYMTestStatus 3.Released
1.201 +RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep1 \tstdapis\tclock.ini Sectionclock_nanosleep2
1.202 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0030
1.203 +
1.204 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0031
1.205 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0031
1.206 +//! @SYMTestStatus 3.Released
1.207 +RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep1 \tstdapis\tclock.ini Sectionclock_nanosleep3
1.208 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0031
1.209 +
1.210 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0032
1.211 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0032
1.212 +//! @SYMTestStatus 3.Released
1.213 +RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep2 \tstdapis\tclock.ini Sectionclock_nanosleep1
1.214 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0032
1.215 +
1.216 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0033
1.217 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0033
1.218 +//! @SYMTestStatus 3.Released
1.219 +RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep2 \tstdapis\tclock.ini Sectionclock_nanosleep2
1.220 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0033
1.221 +
1.222 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0034
1.223 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0034
1.224 +//! @SYMTestStatus 3.Released
1.225 +RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep2 \tstdapis\tclock.ini Sectionclock_nanosleep3
1.226 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0034
1.227 +
1.228 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0035
1.229 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0035
1.230 +//! @SYMTestStatus 3.Released
1.231 +RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep3 \tstdapis\tclock.ini Sectionclock_nanosleep4
1.232 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0035
1.233 +
1.234 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0036
1.235 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0036
1.236 +//! @SYMTestStatus 3.Released
1.237 +RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep3 \tstdapis\tclock.ini Sectionclock_nanosleep5
1.238 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0036
1.239 +
1.240 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0037
1.241 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0037
1.242 +//! @SYMTestStatus 3.Released
1.243 +RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep4 \tstdapis\tclock.ini Sectioninvalidclockid1
1.244 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0037
1.245 +
1.246 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0038
1.247 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0038
1.248 +//! @SYMTestStatus 3.Released
1.249 +RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep4 \tstdapis\tclock.ini Sectioninvalidclockid2
1.250 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0038
1.251 +
1.252 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0039
1.253 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0039
1.254 +//! @SYMTestStatus 3.Released
1.255 +RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep4 \tstdapis\tclock.ini Sectioninvalidclockid3
1.256 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0039
1.257 +
1.258 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0040
1.259 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0040
1.260 +//! @SYMTestStatus 3.Released
1.261 +RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep4 \tstdapis\tclock.ini Sectioninvalidclockid4
1.262 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0040
1.263 +
1.264 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0041
1.265 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0041
1.266 +//! @SYMTestStatus 3.Released
1.267 +RUN_TEST_STEP !Result=0 5 tclock Testclocknanosleep5
1.268 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0041
1.269 +
1.270 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0042
1.271 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0042
1.272 +//! @SYMTestStatus 3.Released
1.273 +RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep6 \tstdapis\tclock.ini Sectionclock_nanosleep1
1.274 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0042
1.275 +
1.276 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0043
1.277 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0043
1.278 +//! @SYMTestStatus 3.Released
1.279 +RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep6 \tstdapis\tclock.ini Sectionclock_nanosleep2
1.280 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0043
1.281 +
1.282 +START_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0044
1.283 +//! @SYMTestCaseID OPENENV-LIBRT-CIT-TESTCLOCK-0044
1.284 +//! @SYMTestStatus 3.Released
1.285 +RUN_TEST_STEP !Result=0 10 tclock Testclocknanosleep6 \tstdapis\tclock.ini Sectionclock_nanosleep3
1.286 +END_TESTCASE OPENENV-LIBRT-CIT-TESTCLOCK-0044
1.287 +