Overview
Comment: | reference.txt |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
892fac9e25940725c3bc0e915ccfbaf9 |
User & Date: | matt on 2015-09-21 21:06:18 |
Other Links: | manifest | tags |
Context
2015-09-28
| ||
22:01 | some nmsg stuff and typo fix in manual check-in: 59f2a303f7 user: matt tags: trunk | |
2015-09-21
| ||
21:06 | reference.txt check-in: 892fac9e25 user: matt tags: trunk | |
2015-09-16
| ||
23:58 | tweaks check-in: 399a5a4dfd user: matt tags: trunk | |
Changes
Modified docs/manual/megatest_manual.html from [0577937b3e] to [e7659e10e3].
︙ | ︙ | |||
1289 1290 1291 1292 1293 1294 1295 | <div class="title">Testconfig for Test C</div> <div class="content monospaced"> <pre>[requirements] waiton A B [itemmap] A (\d+)/aa aa/\1 | | | > | | > | | > > | > > > | < > > < < | < < | | > > > > | | > | > > > | < | < | < > | < > < < < | | > > > > > | > | | > | > > | < | < < < < | 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 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 | <div class="title">Testconfig for Test C</div> <div class="content monospaced"> <pre>[requirements] waiton A B [itemmap] A (\d+)/aa aa/\1 B (\d+)/bb</pre> </div></div> <div class="listingblock"> <div class="title">Testconfig for Test D</div> <div class="content monospaced"> <pre>[requirements] waiton C itemmap (\d+)/res \1/aa</pre> </div></div> <div class="listingblock"> <div class="title">Testconfig for Test E</div> <div class="content monospaced"> <pre>[requirements] waiton C itemmap (\d+)/res \1/bb</pre> </div></div> </div> <div class="sect3"> <h4 id="_dynamic_flow_dependency_tree">Dynamic Flow Dependency Tree</h4> <div class="listingblock"> <div class="title">Autogeneration waiton list for dynamic flow dependency trees</div> <div class="content monospaced"> <pre>[requirements] # With a toplevel test you may wish to generate your list # of tests to run dynamically # waiton #{shell get-valid-tests-to-run.sh}</pre> </div></div> </div> <div class="sect3"> <h4 id="_run_time_limit_2">Run time limit</h4> <div class="listingblock"> <div class="content monospaced"> <pre>[requirements] runtimelim 1h 2m 3s # this will automatically kill the test if it runs for more than 1h 2m and 3s</pre> </div></div> </div> <div class="sect3"> <h4 id="_skip">Skip</h4> <div class="paragraph"><p>A test with a skip section will conditional skip running.</p></div> <div class="listingblock"> <div class="title">Skip section example</div> <div class="content monospaced"> <pre>[skip] prevrunning x # rundelay 30m 15s</pre> </div></div> </div> <div class="sect3"> <h4 id="_skip_on_still_running_tests">Skip on Still-running Tests</h4> <div class="listingblock"> <div class="content monospaced"> <pre># NB// If the prevrunning line exists with *any* value the test will # automatically SKIP if the same-named test is currently RUNNING. The # "x" can be any string. Comment out the prevrunning line to turn off # skip. [skip] prevrunning x</pre> </div></div> </div> <div class="sect3"> <h4 id="_skip_if_a_file_exists">Skip if a File Exists</h4> <div class="listingblock"> <div class="content monospaced"> <pre>[skip] fileexists /path/to/a/file # skip if /path/to/a/file exists</pre> </div></div> </div> <div class="sect3"> <h4 id="_skip_if_test_ran_more_recently_than_specified_time">Skip if test ran more recently than specified time</h4> <div class="listingblock"> <div class="title">Skip if this test has been run in the past fifteen minutes and 15 seconds.</div> <div class="content monospaced"> <pre>[skip] rundelay 15m 15s</pre> </div></div> </div> <div class="sect3"> <h4 id="_disks">Disks</h4> <div class="paragraph"><p>A disks section in testconfig will override the disks section in megatest.config. This can be used to allocate disks on a per-test or per item basis.</p></div> </div> |
︙ | ︙ | |||
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 | # 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</pre> </div></div> </div> <div class="sect2"> <h3 id="_ezsteps">Ezsteps</h3> <div class="listingblock"> <div class="title">Example ezsteps with logpro rules</div> <div class="content monospaced"> <pre>[ezsteps] | > | 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 | # 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</pre> </div></div> </div> </div> <div class="sect2"> <h3 id="_ezsteps">Ezsteps</h3> <div class="listingblock"> <div class="title">Example ezsteps with logpro rules</div> <div class="content monospaced"> <pre>[ezsteps] |
︙ | ︙ | |||
1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 | <div class="listingblock"> <div class="title">For test "runfirst" override the toplevel generation with a script "mysummary.sh"</div> <div class="content monospaced"> <pre># Override the rollup for specific tests [testrollup] runfirst mysummary.sh</pre> </div></div> </div> <div class="sect1"> <h2 id="_archiving_setup">Archiving Setup</h2> <div class="sectionbody"> <div class="paragraph"><p>In megatest.config add the following sections:</p></div> <div class="listingblock"> <div class="title">megatest.config</div> | > > | 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 | <div class="listingblock"> <div class="title">For test "runfirst" override the toplevel generation with a script "mysummary.sh"</div> <div class="content monospaced"> <pre># Override the rollup for specific tests [testrollup] runfirst mysummary.sh</pre> </div></div> </div> </div> </div> <div class="sect1"> <h2 id="_archiving_setup">Archiving Setup</h2> <div class="sectionbody"> <div class="paragraph"><p>In megatest.config add the following sections:</p></div> <div class="listingblock"> <div class="title">megatest.config</div> |
︙ | ︙ |