Overview
Comment: | Document changes never committed |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.55 |
Files: | files | file ages | folders |
SHA1: |
a5941acb472e2e4e73a3cb90e408a4c5 |
User & Date: | matt on 2014-02-18 21:50:58 |
Other Links: | branch diff | manifest | tags |
Context
2014-02-18
| ||
23:46 | Added -set-run-status and -get-run-status check-in: 4a129138e2 user: matt tags: v1.55, v1.5514 | |
21:50 | Document changes never committed check-in: a5941acb47 user: matt tags: v1.55 | |
2014-02-14
| ||
16:35 | Updated the training doc check-in: ce6a2653e8 user: matt tags: v1.55 | |
Changes
Modified docs/manual/megatest_manual.html from [97d3fb8ca7] to [25f641c57e].
︙ | ︙ | |||
1190 1191 1192 1193 1194 1195 1196 | <div class="sect1"> <h2 id="_the_first_chapter_of_the_second_part">The First Chapter of the Second Part</h2> <div class="sectionbody"> <div class="paragraph"><p>Chapters grouped into book parts are at level 1 and can contain sub-sections.</p></div> </div> </div> | | | | | | | | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > < < < < < < < < < < < < | 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 | <div class="sect1"> <h2 id="_the_first_chapter_of_the_second_part">The First Chapter of the Second Part</h2> <div class="sectionbody"> <div class="paragraph"><p>Chapters grouped into book parts are at level 1 and can contain sub-sections.</p></div> </div> </div> <h1 id="_how_to_do_things">How To Do Things</h1> <div class="sect1"> <h2 id="_tricks">Tricks</h2> <div class="sectionbody"> <div class="paragraph"><p>This section is a compendium of a various useful tricks for debugging, configuring and generally getting the most out of Megatest.</p></div> </div> </div> <div class="sect1"> <h2 id="_debugging_tricks">Debugging Tricks</h2> <div class="sectionbody"> <div class="sect2"> <h3 id="_examining_the_environment">Examining The Environment</h3> <div class="sect3"> <h4 id="_during_config_file_processing">During Config File Processing</h4> </div> <div class="sect3"> <h4 id="_organising_your_tests_and_tasks">Organising Your Tests and Tasks</h4> <div class="paragraph"><p>/nfs/ch/disks/ch_unienv_disk005/qa_mrwellan/interim/src/megatest/tests/fdktestqa/testqa</p></div> <div class="listingblock"> <div class="content"> <pre><tt>[tests-paths] 1 #{get misc parent}/simplerun/tests</tt></pre> </div></div> <div class="listingblock"> <div class="content"> <pre><tt>[setup]</tt></pre> </div></div> <div class="paragraph"><p>The runscript method is a brute force way to run scripts where the user is responsible for setting STATE and STATUS</p></div> <div class="listingblock"> <div class="content"> <pre><tt>runscript main.csh</tt></pre> </div></div> <div class="paragraph"><p>ww30.2 cellname/LVS/cellname.LAYOUT_ERRORS</p></div> <div class="paragraph"><p>Error: text open</p></div> <div class="paragraph"><p>ww31.3 cellname/LVS/cellname.LAYOUT_ERRORS</p></div> <div class="paragraph"><p>Error: text open Reference</p></div> <div class="exampleblock"> <div class="content"> <div class="paragraph"><p>Chapters grouped into book parts are at level 1 and can contain sub-sections.</p></div> <div class="listingblock"> <div class="content"> <pre><tt>[setup]</tt></pre> </div></div> <div class="paragraph"><p>The runscript method is a brute force way to run scripts where the user is responsible for setting STATE and STATUS</p></div> <div class="listingblock"> <div class="content"> <pre><tt>runscript main.csh</tt></pre> </div></div> <div class="listingblock"> <div class="content"> <pre><tt>[requirements]</tt></pre> </div></div> <div class="listingblock"> <div class="content"> <pre><tt># A normal waiton waits for the prior tests to be COMPLETED # and PASS, CHECK or WAIVED waiton test1 test2</tt></pre> </div></div> <div class="paragraph"><p>The default (i.e. if mode is not specified) is normal. All pre-dependent tests must be COMPLETED and PASS, CHECK or WAIVED before the test will start</p></div> <div class="listingblock"> <div class="content"> <pre><tt>mode normal</tt></pre> </div></div> <div class="paragraph"><p>The toplevel mode requires only that the prior tests are COMPLETED.</p></div> |
︙ | ︙ | |||
1262 1263 1264 1265 1266 1267 1268 | <div class="listingblock"> <div class="content"> <pre><tt># With a toplevel test you may wish to generate your list # of tests to run dynamically # # waiton #{shell get-valid-tests-to-run.sh}</tt></pre> </div></div> | < < < < < < < < < < < < < < < < < < | 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 | <div class="listingblock"> <div class="content"> <pre><tt># With a toplevel test you may wish to generate your list # of tests to run dynamically # # waiton #{shell get-valid-tests-to-run.sh}</tt></pre> </div></div> <div class="listingblock"> <div class="content"> <pre><tt>runtimelim 1h 2m 3s # this will automatically kill the test if it runs for more than 1h 2m and 3s</tt></pre> </div></div> <div class="listingblock"> <div class="content"> <pre><tt>[skip]</tt></pre> </div></div> <div class="listingblock"> <div class="content"> <pre><tt># NB// If the prevrunning line exists with *any* value the test will # automatically SKIP if the same-named test is currently RUNNING prevrunning x</tt></pre> </div></div> <div class="listingblock"> <div class="content"> <pre><tt>fileexists /path/to/a/file # skip if /path/to/a/file exists</tt></pre> </div></div> <div class="paragraph"><p>If test is FAIL and previous test in run with same MT_TARGET is WAIVED then apply the following rules from the testconfig: If a waiver check is specified in the testconfig apply the check and if it passes then set this FAIL to WAIVED</p></div> <div class="paragraph"><p>Waiver check has two parts, 1) a list of waiver, rulename, filepatterns and 2) the rulename script spec (note that "diff" and "logpro" are predefined)</p></div> <div class="listingblock"> <div class="content"> <pre><tt>###### EXAMPLE FROM testconfig ######### # matching file(s) will be diff'd with previous run and logpro applied |
︙ | ︙ | |||
1320 1321 1322 1323 1324 1325 1326 | # This builtin rule is the default if there is no <waivername>.logpro file # diff diff %file1% %file2% # This builtin rule is applied if a <waivername>.logpro file exists # logpro diff %file1% %file2% | logpro %waivername%.logpro %waivername%.html</tt></pre> </div></div> | < < < < < < < < < < < < < < < < < < < < < < < < < < < < > < < < | | 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 | # This builtin rule is the default if there is no <waivername>.logpro file # diff diff %file1% %file2% # This builtin rule is applied if a <waivername>.logpro file exists # logpro diff %file1% %file2% | logpro %waivername%.logpro %waivername%.html</tt></pre> </div></div> <div class="paragraph"><p>To transfer the environment to the next step you can do the following:</p></div> <div class="listingblock"> <div class="content"> <pre><tt>$MT_MEGATEST -env2file .ezsteps/${stepname}</tt></pre> </div></div> <div class="paragraph"><p>One or more optional appendixes go here at section level zero.</p></div> <div class="admonitionblock"> <table><tr> <td class="icon"> <div class="title">Note</div> </td> <td class="content">Preface and appendix subsections start out of sequence at level 2 (level 1 is skipped). This only applies to multi-part book documents.</td> </tr></table> </div> <div class="paragraph"><p>The bibliography list is a style of AsciiDoc bulleted list.</p></div> <div class="ulist bibliography"><ul> <li> <p> <a id="taoup"></a>[taoup] Eric Steven Raymond. <em>The Art of Unix Programming</em>. Addison-Wesley. ISBN 0-13-142901-9. </p> </li> <li> <p> <a id="walsh-muellner"></a>[walsh-muellner] Norman Walsh & Leonard Muellner. <em>DocBook - The Definitive Guide</em>. O’Reilly & Associates. 1999. ISBN 1-56592-580-7. </p> </li> </ul></div> <div class="paragraph"><p>Glossaries are optional. Glossaries entries are an example of a style of AsciiDoc labeled lists.</p></div> <div class="dlist glossary"><dl> <dt> A glossary term </dt> <dd> <p> The corresponding (indented) definition. </p> </dd> <dt> A second glossary term </dt> <dd> <p> The corresponding (indented) definition. </p> </dd> </dl></div> <div class="paragraph"><p>Text at the end of a book describing facts about its production.</p></div> </div></div> </div> </div> </div> </div> </div> <div id="footnotes"><hr /></div> <div id="footer"> <div id="footer-text"> Version 1.0<br /> Last updated 2014-02-13 21:27:42 MST </div> </div> </body> </html> |
Modified example/cfg/machines.dat from [43d46a23d9] to [ef87a55f85].
1 2 3 4 | [] [maxload] zeus 0.40000000000000002 xena 0.20000000000000001 | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | [] [maxload] zeus 0.40000000000000002 xena 0.20000000000000001 myth2 0.01 hades 1 [minfree] zeus 1000 xena 20000 myth2 300000 hades 4000000 [reqprocs] zeus mfsmount mythbackend mfschunkserver xena mfsmount myth2 mfsmount mythfrontend mfschunkserver hades mfsmount mfsmetalogger mfschunkserver |
Modified example/cfg/sxml/_sheets.sxml from [cb97afa73f] to [84106e33a9].
︙ | ︙ | |||
24 25 26 27 28 29 30 31 | (http://www.gnumeric.org/v10.dtd:Attribute (http://www.gnumeric.org/v10.dtd:type "4") (http://www.gnumeric.org/v10.dtd:name "WorkbookView::is_protected") (http://www.gnumeric.org/v10.dtd:value "FALSE"))) (urn:oasis:names:tc:opendocument:xmlns:office:1.0:document-meta (@ (urn:oasis:names:tc:opendocument:xmlns:office:1.0:version "1.2")) (urn:oasis:names:tc:opendocument:xmlns:office:1.0:meta (urn:oasis:names:tc:opendocument:xmlns:meta:1.0:creation-date | > | | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | (http://www.gnumeric.org/v10.dtd:Attribute (http://www.gnumeric.org/v10.dtd:type "4") (http://www.gnumeric.org/v10.dtd:name "WorkbookView::is_protected") (http://www.gnumeric.org/v10.dtd:value "FALSE"))) (urn:oasis:names:tc:opendocument:xmlns:office:1.0:document-meta (@ (urn:oasis:names:tc:opendocument:xmlns:office:1.0:version "1.2")) (urn:oasis:names:tc:opendocument:xmlns:office:1.0:meta (http://purl.org/dc/elements/1.1/:date "2014-02-14T06:16:26Z") (urn:oasis:names:tc:opendocument:xmlns:meta:1.0:creation-date "2014-02-14T06:16:17Z"))) (http://www.gnumeric.org/v10.dtd:Calculation (@ (MaxIterations "100") (ManualRecalc "0") (IterationTolerance "0.001") (FloatRadix "2") (FloatDigits "53") (EnableIteration "1"))) |
︙ | ︙ |
Modified example/cfg/sxml/machines.sxml from [282ec399c9] to [59def89588].
︙ | ︙ | |||
86 87 88 89 90 91 92 | (http://www.gnumeric.org/v10.dtd:ColInfo (@ (Unit "182.2") (No "3") (HardSize "1")))) (http://www.gnumeric.org/v10.dtd:Rows (@ (DefaultSizePts "12.75")) (http://www.gnumeric.org/v10.dtd:RowInfo (@ (Unit "13.5") (No "0") (Count "5")))) (http://www.gnumeric.org/v10.dtd:Selections | | | | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | (http://www.gnumeric.org/v10.dtd:ColInfo (@ (Unit "182.2") (No "3") (HardSize "1")))) (http://www.gnumeric.org/v10.dtd:Rows (@ (DefaultSizePts "12.75")) (http://www.gnumeric.org/v10.dtd:RowInfo (@ (Unit "13.5") (No "0") (Count "5")))) (http://www.gnumeric.org/v10.dtd:Selections (@ (CursorRow "4") (CursorCol "0")) (http://www.gnumeric.org/v10.dtd:Selection (@ (startRow "4") (startCol "0") (endRow "4") (endCol "0")))) (http://www.gnumeric.org/v10.dtd:SheetLayout (@ (TopLeft "A1"))) (http://www.gnumeric.org/v10.dtd:Solver (@ (ProgramR "0") (ProblemType "0") (NonNeg "1") (ModelType "0") (MaxTime "60") |
︙ | ︙ |