Overview
Comment: | Added description of flows |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | trunk |
Files: | files | file ages | folders |
SHA1: |
62fac7c8d2ea28f8a98d972f943029d0 |
User & Date: | mrwellan on 2011-10-06 11:10:35 |
Other Links: | manifest | tags |
Context
2011-10-06
| ||
11:10 | Added description of flows Closed-Leaf check-in: 62fac7c8d2 user: mrwellan tags: trunk | |
2011-05-17
| ||
17:25 | Corrected MEGATEST to MT_MEGATEST in script examples check-in: 69ef19722d user: mrwellan tags: trunk | |
Changes
Modified docs/megatest.lyx from [2b1a7e2789] to [8c08e564c1].
︙ | ︙ | |||
466 467 468 469 470 471 472 | \end_layout \end_inset \end_layout | | > > > > > | 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 | \end_layout \end_inset \end_layout \begin_layout Section Choose Flow or Unstructured Run? \end_layout \begin_layout Standard A flow is a structured and specifically sequenced set of tests. See the Flows chapter to understand the difference. \end_layout \begin_layout Chapter How to Write Tests \end_layout \begin_layout Section |
︙ | ︙ | |||
544 545 546 547 548 549 550 | \end_layout \begin_layout Subsection Create your main.csh script \end_layout \begin_layout Standard | | | 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 | \end_layout \begin_layout Subsection Create your main.csh script \end_layout \begin_layout Standard Note: Using csh is NOT generally recommended. Use bash, perl, ruby, zsh or anything other than csh. We use csh here because it is popular in some industries. \end_layout \begin_layout Paragraph \begin_inset listings |
︙ | ︙ | |||
1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 | \end_layout \begin_layout Plain Layout waiton cpu mem \end_layout \end_inset \end_layout \begin_layout Chapter Reference | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 | \end_layout \begin_layout Plain Layout waiton cpu mem \end_layout \end_inset \end_layout \begin_layout Chapter Flows \end_layout \begin_layout Standard A flow specifies the tests to run, the order and dependencies and is managed by a running megatest process. \end_layout \begin_layout Section Flow Specification and Running \end_layout \begin_layout Subsection Write your flow file \end_layout \begin_layout Standard flows/<flowname>.config \end_layout \begin_layout Standard \begin_inset listings inline false status open \begin_layout Plain Layout # Flow: <flowname> \end_layout \begin_layout Plain Layout [flowconfig] \end_layout \begin_layout Plain Layout # turn on item level dependencies \end_layout \begin_layout Plain Layout itemdeps on \end_layout \begin_layout Plain Layout \end_layout \begin_layout Plain Layout [flowsteps] \end_layout \begin_layout Plain Layout # <testname>[,<predecessor>] \end_layout \begin_layout Plain Layout \end_layout \begin_layout Plain Layout # Run the test "copydata" \end_layout \begin_layout Plain Layout copydata \end_layout \begin_layout Plain Layout \end_layout \begin_layout Plain Layout # Run the test "setup" after copydata completes with PASS, WARN or WAIVE \end_layout \begin_layout Plain Layout setup,copydata \end_layout \begin_layout Plain Layout \end_layout \begin_layout Plain Layout # once the test "setup" completes successfully run sim1, sim2 and sim3 \end_layout \begin_layout Plain Layout sim1,setup \end_layout \begin_layout Plain Layout sim2,setup \end_layout \begin_layout Plain Layout sim3,setup \end_layout \end_inset \end_layout \begin_layout Subsection Run the flow \end_layout \begin_layout Standard \begin_inset listings inline false status open \begin_layout Plain Layout megatest -runflow <flowname> :FIELD1 val1 :FIELD2 val2 :runname wk32.4 \end_layout \end_inset \end_layout \begin_layout Chapter Reference |
︙ | ︙ |