Overview
Comment: | Moved docs to html dir |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
bcd0ad74716a2c8d76ac18621ac16bdc |
User & Date: | matt on 2011-09-24 13:09:52 |
Other Links: | manifest | tags |
Context
2011-09-24
| ||
13:19 | Regenerated html check-in: d86604b96b user: matt tags: trunk | |
13:09 | Moved docs to html dir check-in: bcd0ad7471 user: matt tags: trunk | |
2011-09-21
| ||
17:13 | Bumped to v1.26 check-in: 6340e533f1 user: mrwellan tags: trunk | |
Changes
Modified docs/Makefile from [47143d4774] to [81788daa51].
1 |
| | > | > | 1 2 3 4 5 6 7 | html/megatest.html : megatest.lyx rm -rf megatest.html.LyXconv lyx -e html megatest.lyx cp megatest.html.LyXconv/* html/ fossil add html/* |
Added docs/html/dashboard-test.png version [cce50d0681].
cannot compute difference between binary files
Added docs/html/dashboard.png version [d9430cd2eb].
cannot compute difference between binary files
Added docs/html/megatest.html version [3ea180aaee].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 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 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 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 | <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="generator" content="http://www.nongnu.org/elyxer/"/> <meta name="create-date" content="2011-09-24"/> <link rel="stylesheet" href="http://www.nongnu.org/elyxer/lyx.css" type="text/css" media="screen"/> <title>Converted document</title> </head> <body> <div id="globalWrapper"> <div class="Standard"> </div> <div class="Standard"> </div> <div class="Standard"> </div> <h1 class="title"> </h1> <h2 class="author"> Matthew Welland </h2> <h2 class="Date"> Sept. 20, </h2> <div class="Standard"> </div> <div class="Standard"> <p><br/> </p> 2011 Matthew Welland. All rights reserved. </div> <div class="Standard"> Megatest is free software released under the General Public License v2.0. Please see the file COPYING in the source distribution for details. </div> <div class="Standard"> <div class="medskip"> </div> Email: matt@kiatoa.com. </div> <div class="Standard"> Web: www.kiatoa.com/fossils/megatest </div> <div class="Standard"> <div class="medskip"> </div> This document is believed to be acurate at the time of writing but as with any opensource project the source code itself is the final arbiter of the softwares behaviour. It is the responsibility of the end user to validate that the code will perform as they expect. The author assumes no responsibility for any inaccuracies that this document may contain. In no event will Matthew Welland be liable for direct, indirect, special, exemplary, incidental, or consequential damages resulting from any defect or omission in this document, even if advised of the possibility of such damages. </div> <div class="Standard"> This document is a snapshot in time and the Megatest software has likely been changed since publication. This document and the product that it describes may be improved at any time, without notice or obligation. </div> <div class="Standard"> <p><br/> </p> </div> <h1 class="Section-"> <a class="toc" name="toc-Section--1"></a>Megatest/document Revision History </h1> <div class="Standard"> <i>Notable revisions of the software are occasionally documented here</i>. </div> <div class="Standard"> <div class="center"> <table> <tr> <td align="center" valign="top"> Version </td> <td align="center" valign="top"> Author </td> <td align="justify" valign="top"> Description </td> <td align="center" valign="top"> Date </td> </tr> <tr> <td align="center" valign="top"> v1.25 </td> <td align="center" valign="top"> matt </td> <td align="justify" valign="top"> converted to new document template </td> <td align="center" valign="top"> <div class="PlainVisible"> </div> </td> </tr> </table> </div> </div> <div class="fulltoc"> <div class="tocheader"> Table of Contents </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Section--1">Section: Megatest/document Revision History</a> </div> <div class="toc"> <a class="Link" href="#toc-Section-1">Section 1: Introduction</a> </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Subsection-1.1">Subsection 1.1: Megatest design philosophy</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-1.2">Subsection 1.2: Megatest architecture</a> </div> </div> <div class="toc"> <a class="Link" href="#toc-Section-2">Section 2: Installation</a> </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Subsection-2.1">Subsection 2.1: Dependencies</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-2.2">Subsection 2.2: Build and Install</a> </div> </div> <div class="toc"> <a class="Link" href="#toc-Section-3">Section 3: Setup</a> </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Subsection-3.1">Subsection 3.1: Create megatest.config</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-3.2">Subsection 3.2: Create runconfigs.config</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-3.3">Subsection 3.3: Create the tests directory and your first test</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-3.4">Subsection 3.4: Create the testconfig file for your test</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-3.5">Subsection 3.5: Create your test running script, main.sh</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-3.6">Subsection 3.6: Run megatest and watch your run progress</a> </div> </div> <div class="toc"> <a class="Link" href="#toc-Section-4">Section 4: How to Write Tests</a> </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Subsection-4.1">Subsection 4.1: A Simple Test with one Step</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-4.2">Subsection 4.2: Create your testconfig file</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-4.3">Subsection 4.3: Create the main.csh script</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-4.4">Subsection 4.4: Simple Test with Multiple Steps </a> </div> </div> <div class="toc"> <a class="Link" href="#toc-Section-5">Section 5: Simple Test with Multiple Steps, Some in Parallel</a> </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Subsection-5.1">Subsection 5.1: The Makefile</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-5.2">Subsection 5.2: The main.csh file</a> </div> </div> <div class="toc"> <a class="Link" href="#toc-Section-6">Section 6: Simple Test with Iteration</a> </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Subsection-6.1">Subsection 6.1: Update your testconfig file for iteration</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-6.2">Subsection 6.2: Rewrite your main.csh for iteration</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-6.3">Subsection 6.3: Tests with Inter-test dependencies</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-6.4">Subsection 6.4: Rolling up Miscellaneous Data</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-6.5">Subsection 6.5: Rolling up Runs</a> </div> </div> <div class="toc"> <a class="Link" href="#toc-Section-7">Section 7: Dashboard</a> </div> <div class="toc"> <a class="Link" href="#toc-Section-8">Section 8: Generating an OpenDocument Spreadsheet from the Database</a> </div> <div class="toc"> <a class="Link" href="#toc-Section-9">Section 9: Reference</a> </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Subsection-9.1">Subsection 9.1: Configuration file Syntax</a> </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Subsubsection-9.1.1">Subsubsection 9.1.1: Sections</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsubsection-9.1.2">Subsubsection 9.1.2: Variables</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsubsection-9.1.3">Subsubsection 9.1.3: Includes</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsubsection-9.1.4">Subsubsection 9.1.4: Setting a variable by running a command</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsubsection-9.1.5">Subsubsection 9.1.5: Notes</a> </div> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-9.2">Subsection 9.2: Environment variables</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-9.3">Subsection 9.3: megatest.config</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-9.4">Subsection 9.4: runconfigs.config file</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsection-9.5">Subsection 9.5: Writing tests</a> </div> <div class="tocindent"> <div class="toc"> <a class="Link" href="#toc-Subsubsection-9.5.1">Subsubsection 9.5.1: testconfig file</a> </div> <div class="toc"> <a class="Link" href="#toc-Subsubsection-9.5.2">Subsubsection 9.5.2: Command line</a> </div> </div> </div> <div class="toc"> <a class="Link" href="#toc-Section-A">Section A: Data</a> </div> <div class="toc"> <a class="Link" href="#toc-Section-B">Section B: References</a> </div> </div> </div> <div class="Standard"> <p><br/> </p> </div> <h1 class="Section"> <a class="toc" name="toc-Section-1">1</a> Introduction </h1> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-1.1">1.1</a> Megatest design philosophy </h2> <div class="Standard"> Megatest is intended to provide the minimum needed resources to make writing a suite of tests for software, design engineering or process control (via owlfs for example) without being specialized for any specific problem space. Megatest in of itself does not know what constitutes a PASS or FAIL of a test. In most cases megatest is best used in conjunction with logpro or a similar tool to parse, analyze and decide on the test outcome. A call to megatest can then be made to record the result. </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-1.2">1.2</a> Megatest architecture </h2> <div class="Standard"> All data to specify the tests and configure the system is stored in plain text files. All system state is stored in an sqlite3 database. Tests are launched using the launching system available for the distributed compute platform in use. A template script is provided which can launch jobs on local and remote Linux hosts. Currently megatest uses the network filesystem to “call home” to your master sqlite3 database. </div> <h1 class="Section"> <a class="toc" name="toc-Section-2">2</a> Installation </h1> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-2.1">2.1</a> Dependencies </h2> <div class="Standard"> Chicken scheme and a number of “eggs” are required for building megatest. See the file utils/installall.sh for an automated way to install the dependencies on Linux. </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-2.2">2.2</a> Build and Install </h2> <div class="Standard"> Run “make test” to create the megatest executable. You may wish to copy the executable to a centrally accessible location. </div> <h1 class="Section"> <a class="toc" name="toc-Section-3">3</a> Setup </h1> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-3.1">3.1</a> Create megatest.config </h2> <div class="Standard"> Create the file megatest.config using the megatest.config template from the tests directory. At a minimum you need the following: </div> <div class="Standard"> <div class="listing"> <pre class="listing"># Fields are the keys under which your test runs are organized [fields] field1 TEXT field2 TEXT [jobtools] # The launcher launches jobs to the local or remote hosts, # the job is managed on the target host by megatest, # comment out launcher to run local only. An example launcher # "nbfake" can be found in the utils directory. launcher nbfake # The disks section specifies where the tests will be run. As you # run out of space in a partition you can add additional disks # entries. # Format is: # name /path/to/area [disks] disk1 /tmp </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-3.2">3.2</a> Create runconfigs.config </h2> <div class="Standard"> This file is used to set environment variables that are run specific. You can simply create an empty file to start. </div> <div class="Standard"> <div class="listing"> <pre class="listing"># runconfigs.config </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-3.3">3.3</a> Create the tests directory and your first test </h2> <div class="Standard"> <div class="listing"> <pre class="listing">../tests ├── megatest.config ├── runconfigs.config └── tests └── mytest ├── main.sh └── testconfig </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-3.4">3.4</a> Create the testconfig file for your test </h2> <div class="Standard"> <div class="listing"> <pre class="listing">[setup] runscript main.sh </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-3.5">3.5</a> Create your test running script, main.sh </h2> <div class="Standard"> <div class="listing"> <pre class="listing">#!/bin/bash $MT_MEGATEST -runstep mystep1 "sleep 20;echo Done" -m "mystep1 is done" $MT_MEGATEST -test-status :state COMPLETED :status PASS -m "This is a comment" </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-3.6">3.6</a> Run megatest and watch your run progress </h2> <div class="Standard"> <div class="listing"> <pre class="listing">megatest :field1 abc :field2 def :runname 2011week08.4a -runall watch megatest -list-runs % # OR use the dashboard dashboard & </pre> </div> </div> <h1 class="Section"> <a class="toc" name="toc-Section-4">4</a> How to Write Tests </h1> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-4.1">4.1</a> A Simple Test with one Step </h2> <div class="Standard"> <div class="listing"> <pre class="listing">mkdir simpletest cd simpletest </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-4.2">4.2</a> Create your testconfig file </h2> <div class="Standard"> <div class="listing"> <pre class="listing"># testconfig [setup] runscript main.csh </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-4.3">4.3</a> Create the main.csh script </h2> <div class="Standard"> Note: Using csh is NOT recommended. Use bash, perl, ruby, zsh or anything other than csh. We use csh here because it is popular in the EDA industry for which Megatest was originally created. </div> <div class="Standard"> <div class="listing"> <pre class="listing">#!/bin/tcsh -x # run the cpu1 simulation. # The step name is "run_simulation" # The commandline being run for this step is "runsim cpu1" # The logpro file to validate the output from the run is "runsim.logpro" $MT_MEGATEST -runstep run_simulation -logpro runsim.logpro "runsim cpu1" $MT_MEGATEST -test-status :state COMPLETED :status $? </pre> </div> </div> <div class="Standard"> You can now run megatest and the created test directory will contain the new files “run_simulation.html” and “run_simulation.log”. If you are using the dashboard you can click on the run and then push the “View log” button to view the log file in firefox. </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-4.4">4.4</a> Simple Test with Multiple Steps </h2> <div class="Standard"> To run multiple steps simply add them to the main.csh file. Here we add a step to test “cpu2”. The second step that tests cpu2 will only run after the step that tested “cpu1” completes. </div> <div class="Standard"> <div class="listing"> <pre class="listing">#!/bin/tcsh -x # run the cpu1 simulation. # The step name is "run_simulation" # The commandline being run for this step is "runsim cpu1" # The logpro file to validate the output from the run is "runsim.logpro" $MT_MEGATEST -runstep run_simulation_cpu1 -logpro runsim.logpro "runsim cpu1" && \ $MT_MEGATEST -runstep run_simulation_cpu2 -logpro runsim.logpro "runsim cpu2" $MT_MEGATEST -test-status :state COMPLETED :status $? </pre> </div> </div> <h1 class="Section"> <a class="toc" name="toc-Section-5">5</a> Simple Test with Multiple Steps, Some in Parallel </h1> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-5.1">5.1</a> The Makefile </h2> <div class="Standard"> A good way to run steps in parallel within a single test, especially when there are following steps, is to use the Unix Make utility. Writing Makefiles is beyond the scope of this document but here is a minimal example that will run “runsim cpu1” and “runsim cpu2” in parallel. For more information on make try “info make” at the Linux command prompt. </div> <div class="Standard"> <div class="listing"> <pre class="listing"># Example Makefile to run two steps in parallel RTLDIR=/path/to/rtl CPUS = cpu1 cpu2 run_simulation_$(CPUS).html : $(RTLDIR)/$(CPUS) $(MT_MEGATEST) -runstep run_simulation_$(CPUS) -logpro runsim.logpro "runsim $(CPUS) </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-5.2">5.2</a> The main.csh file </h2> <div class="Standard"> <div class="listing"> <pre class="listing">#!/bin/tcsh -x # run the cpu1 and cpu2 simulations in parallel. # The -j parameter tells make how many jobs it may run in parallel <div class="left"> make -j 2 </div> $MT_MEGATEST -test-status :state COMPLETED :status $? </pre> </div> </div> <h1 class="Section"> <a class="toc" name="toc-Section-6">6</a> Simple Test with Iteration </h1> <div class="Standard"> Since no jobs run after the cpu1 and cpu2 simulations in this test it is possible to use iterated mode. </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-6.1">6.1</a> Update your testconfig file for iteration </h2> <div class="Standard"> <div class="listing"> <pre class="listing">[setup] runscript main.csh <div class="left"> </div> [items] CPU cpu1 cpu2 </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-6.2">6.2</a> Rewrite your main.csh for iteration </h2> <div class="Standard"> <div class="listing"> <pre class="listing"><div class="left"> #!/bin/tcsh -x </div> <div class="left"> </div> <div class="left"> # run the cpu simulation but now use the environment variable $CPU </div> <div class="left"> # to select what cpu to run the simulation against </div> <div class="left"> </div> <div class="left"> $MT_MEGATEST -runstep run_simulation -logpro runsim.logpro "runsim $CPU" </div> <div class="left"> # As of version 1.07 Megatest automatically converts a status of "0" </div> <div class="left"> # to "PASS", any other number to "FAIL" and directly uses the value of </div> <div class="left"> # a string passed in. </div> <div class="left"> $MT_MEGATEST -test-status :state COMPLETED :status $? </div> </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-6.3">6.3</a> Tests with Inter-test dependencies </h2> <div class="Standard"> Sometimes a test depends on the output from a previous test or it may not make sense to run a test is another test does not complete with status “PASS”. In either of these scenarios you can use the “waiton” keyword in your testconfig file to indicate that this test must wait on one or more tests to complete before being launched. In this example there is no point in running the “system” test if the “cpu” and “mem” tests either do not complete or complete but with status “FAIL”. </div> <div class="Standard"> <div class="listing"> <pre class="listing"><div class="left"> # testconfig for the "system" test </div> <div class="left"> [setup] </div> <div class="left"> runscript main.csh </div> <div class="left"> waiton cpu mem </div> </pre> </div> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-6.4">6.4</a> Rolling up Miscellaneous Data </h2> <div class="Standard"> Use the -load-test-data switch to roll up arbitrary data from a test into the test_data table. </div> <div class="Standard"> <div class="listing"> <pre class="listing"># Fields are: # category,variable,value,expected,tol,units,comment,status $MT_MEGATEST -load-test-data << EOF foo,bar,1.2,1.9,> foo,rab,1.0e9,10e9,1e9 foo,bla,1.2,1.9,< foo,bal,1.2,1.2,<,,Check for overload foo,alb,1.2,1.2,<=,Amps,This is the high power circuit test foo,abl,1.2,1.3,0.1 foo,bra,1.2,pass,silly stuff faz,bar,10,8mA,,,"this is a comment" EOF </pre> </div> </div> <div class="Standard"> New entries are keyed on the category and variable. If a new record is inserted with a category and variable that have already been used the new record will replace the old record. </div> <div class="Standard"> Where value, expected and tol are specified the behavior is as follows. </div> <ul> <li> If value, expected and tol are numbers then status is calculated as PASS if (expected-tol) <= value <= (expected+tol) </li> <li> If value and expected are numbers and tol is >, <, >= or <= then value is compared with expected using the operator given by tol </li> <li> If status is specified its value overrides the above calculations. </li> </ul> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-6.5">6.5</a> Rolling up Runs </h2> <div class="Standard"> To roll up a number of tests in a sequence of runs to a single run use the -rollup command. </div> <div class="Standard"> <div class="listing"> <pre class="listing">megatest -rollup :sysname ubuntu :fsname nfs :datapath none :runname rollup_ww38 </pre> </div> </div> <div class="Standard"> All keys must be specified and the runname is the name of the run that will be created. All paths are kept original inside the database. When -remove-runs is used to delete runs the data is not deleted if there are rollups that refer to the data. </div> <h1 class="Section"> <a class="toc" name="toc-Section-7">7</a> Dashboard </h1> <div class="Standard"> <div class="listing"> <pre class="listing">> dashboard & </pre> </div> </div> <div class="Standard"> <img class="embedded" src="dashboard.png" alt="figure dashboard.png" style="width: 730px; max-width: 913px; height: 626px; max-height: 783px; "/> </div> <div class="Standard"> Pushing one of the buttons on the main dashboard will bring up the test specific dashboard. Values are updated in semi-real time as the test runs. </div> <div class="Standard"> <img class="embedded" src="dashboard-test.png" alt="figure dashboard-test.png" style="width: 643px; max-width: 804px; height: 571px; max-height: 714px; "/> </div> <h1 class="Section"> <a class="toc" name="toc-Section-8">8</a> Generating an OpenDocument Spreadsheet from the Database </h1> <div class="Standard"> And OpenDocument multi-paned spreadsheet can be generated from the megatest.db file by running -extract-ods </div> <div class="Standard"> <div class="listing"> <pre class="listing">megatest -extract-ods results.ods :runname % </pre> </div> </div> <div class="Standard"> You can optionally specify the keys for your database to limit further the runs to extract into the spreadsheet. The first sheet contains all the run data and subsequent sheets contain data rolled up for the individual tests. </div> <h1 class="Section"> <a class="toc" name="toc-Section-9">9</a> Reference </h1> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-9.1">9.1</a> Configuration file Syntax </h2> <h3 class="Subsubsection"> <a class="toc" name="toc-Subsubsection-9.1.1">9.1.1</a> Sections </h3> <div class="Standard"> <div class="listing"> <pre class="listing">[section name] </pre> </div> </div> <div class="Standard"> This creates a section named “section name” </div> <h3 class="Subsubsection"> <a class="toc" name="toc-Subsubsection-9.1.2">9.1.2</a> Variables </h3> <div class="Standard"> <div class="listing"> <pre class="listing">VARX has this value </pre> </div> </div> <div class="Standard"> The variable “VARX” will have the value “has this value” </div> <h3 class="Subsubsection"> <a class="toc" name="toc-Subsubsection-9.1.3">9.1.3</a> Includes </h3> <div class="Standard"> <div class="listing"> <pre class="listing">[include filename] </pre> </div> </div> <div class="Standard"> The file named “filename” will be included as if part of the calling file. NOTE: This means no section can be named “include “ (with the whitespace). </div> <h3 class="Subsubsection"> <a class="toc" name="toc-Subsubsection-9.1.4">9.1.4</a> Setting a variable by running a command </h3> <div class="Standard"> <div class="listing"> <pre class="listing">VARNAME [system ls /tmp] </pre> </div> </div> <div class="Standard"> The variable “VARNAME” will get a value created by the Unix command “ls /tmp”. All lines of output from the command will be joined with a space. </div> <h3 class="Subsubsection"> <a class="toc" name="toc-Subsubsection-9.1.5">9.1.5</a> Notes </h3> <ul> <li> Some variables are infered as lists. Each token on the line separated by whitespace will be member of the list. </li> <li> Comments (lines starting with #) and blank lines are ignored. </li> </ul> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-9.2">9.2</a> Environment variables </h2> <div class="Standard"> <table> <tr> <td align="left" valign="top"> Variable </td> <td align="left" valign="top"> Purpose </td> </tr> <tr> <td align="left" valign="top"> MT_CMDINFO </td> <td align="left" valign="top"> Conveys test variables to the megatest test runner. </td> </tr> <tr> <td align="left" valign="top"> MT_TEST_RUN_DIR </td> <td align="left" valign="top"> Directory assigned by megatest for the test to run. </td> </tr> <tr> <td align="left" valign="top"> MT_TEST_NAME </td> <td align="left" valign="top"> Name of the test, corrosponds to the directory name under tests. </td> </tr> <tr> <td align="left" valign="top"> MT_ITEM_INFO </td> <td align="left" valign="top"> Iterated tests will set this to a sequence of key/values ((KEY val) ...) </td> </tr> <tr> <td align="left" valign="top"> MT_RUN_AREA_HOME </td> <td align="left" valign="top"> Directory where megatest was launched from and where the tests code can be found </td> </tr> <tr> <td align="left" valign="top"> MT_RUNNAME </td> <td align="left" valign="top"> Name of this run as set by the :runname parameter </td> </tr> <tr> <td align="left" valign="top"> MT_MEGATEST </td> <td align="left" valign="top"> Path/Filename to megatest executable. Found either from called path or but using the “exectuable” keyword in the [setup] section. </td> </tr> <tr> <td align="left" valign="top"> <field1> .... </td> <td align="left" valign="top"> The field values as set on the megatest -runall command line (e.g. :field1 abc) </td> </tr> </table> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-9.3">9.3</a> megatest.config </h2> <div class="Standard"> <table> <tr> <td align="left" valign="top"> section </td> <td align="left" valign="top"> variable </td> <td align="left" valign="top"> value </td> <td align="left" valign="top"> required </td> <td align="left" valign="top"> comment </td> </tr> <tr> <td align="left" valign="top"> [setup] </td> <td align="left" valign="top"> max_concurrent_jobs </td> <td align="left" valign="top"> if variable is not defined no limit on jobs </td> <td align="left" valign="top"> no </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> </td> <td align="left" valign="top"> executable </td> <td align="left" valign="top"> full path to megatest binary </td> <td align="left" valign="top"> no </td> <td align="left" valign="top"> Use only if necessary, megatest will extract the location from where it used to launch and add append that to the PATH for test runs. </td> </tr> <tr> <td align="left" valign="top"> </td> <td align="left" valign="top"> runsdir </td> <td align="left" valign="top"> full path to where the link tree to all runs will be created </td> <td align="left" valign="top"> no </td> <td align="left" valign="top"> Because your runs may be spread out over several disk partitions a central link tree is created to make finding all the runs easy. </td> </tr> <tr> <td align="left" valign="top"> [fields] </td> <td align="left" valign="top"> string of letters, numbers and underscore </td> <td align="left" valign="top"> string of letters, numbers and underscore </td> <td align="left" valign="top"> at least one </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> [jobtools] </td> <td align="left" valign="top"> launcher </td> <td align="left" valign="top"> command line used to launch jobs - the job command (megatest -execute) will be appended to this </td> <td align="left" valign="top"> no </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> </td> <td align="left" valign="top"> workhosts </td> <td align="left" valign="top"> list of hostnames to run jobs on NOT SUPPORTED RIGHT NOW </td> <td align="left" valign="top"> n/a </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> [env-override] </td> <td align="left" valign="top"> string of letters, numbers and underscore </td> <td align="left" valign="top"> any string </td> <td align="left" valign="top"> no </td> <td align="left" valign="top"> These are set on the test launching machine, not the test running machine. Typical usage is to control the host or run queue for launching tests. These values will not be seen by the test when it runs. </td> </tr> <tr> <td align="left" valign="top"> [disks] </td> <td align="left" valign="top"> string of letters, numbers and underscore </td> <td align="left" valign="top"> a valid path writable by the test launching process and by the test process </td> <td align="left" valign="top"> yes </td> <td align="left" valign="top"> The disk usage balancing algorithm is to choose the disk with the least space for each test run. </td> </tr> </table> </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-9.4">9.4</a> runconfigs.config file </h2> <div class="Standard"> <table> <tr> <td align="left" valign="top"> section </td> <td align="left" valign="top"> variable </td> <td align="left" valign="top"> value </td> <td align="left" valign="top"> required? </td> <td align="left" valign="top"> comment </td> </tr> <tr> <td align="left" valign="top"> [default] </td> <td align="left" valign="top"> string of letters, numbers and underscore </td> <td align="left" valign="top"> any </td> <td align="left" valign="top"> no </td> <td align="left" valign="top"> variables set in this section will be available for all runs, defining the same variable in another section will override the value from the default section </td> </tr> <tr> <td align="left" valign="top"> [field1value/field2value...] </td> <td align="left" valign="top"> string of letters, numbers and underscore </td> <td align="left" valign="top"> any </td> <td align="left" valign="top"> no </td> <td align="left" valign="top"> the values in this section will be set for any run where field1 is field1value, field2 is field2value and fieldN is fieldNvalue. </td> </tr> </table> </div> <div class="Standard"> Example: a test suite that checks that a piece of software works correctly for different customer configurations and locations each of which is done as a separate release regression run. The fields, CUSTOMER and LOCATION were chosen. The following runconfigs.config file would set some variables specific to runs for megacorp in India and femtocorp in the Cook Islands and New Zealand: </div> <div class="Standard"> <div class="listing"> <pre class="listing"># runconfigs.config [default] ENCRYTION true [megacorp/india] TESTPATH /nfs/testing/megacorp_runs [femtocorp/cook_islands] ENCRYTION false TESTPATH /afs/kiatoa/testing/cook_islands [femtocorp/new_zealand] TESTPATH /afs/kiatoa/testing/new_zealand [megacorp/new_zealand] TESTPATH /nfs/testing/megacorp_runs </pre> </div> </div> <div class="Paragraph-"> <a class="toc" name="toc-Paragraph--1"></a>Running megatest like this: </div> <div class="Code"> megatest :CUSTOMER megacorp :LOCATION new_zealand :runname week12_2011_run1 -runall </div> <div class="Paragraph-"> <a class="toc" name="toc-Paragraph--2"></a>Would set: </div> <div class="Code"> ENCRYPTION true </div> <div class="Code"> TESTPATH /nfs/testing/megacorp_runs </div> <h2 class="Subsection"> <a class="toc" name="toc-Subsection-9.5">9.5</a> Writing tests </h2> <h3 class="Subsubsection"> <a class="toc" name="toc-Subsubsection-9.5.1">9.5.1</a> testconfig file </h3> <div class="Standard"> <table> <tr> <td align="left" valign="top"> section </td> <td align="left" valign="top"> variable </td> <td align="left" valign="top"> value </td> <td align="left" valign="top"> required? </td> <td align="left" valign="top"> comments </td> </tr> <tr> <td align="left" valign="top"> [setup] </td> <td align="left" valign="top"> runscript </td> <td align="left" valign="top"> name of script to execute for this test </td> <td align="left" valign="top"> yes </td> <td align="left" valign="top"> The script must be executable and either provide the full path or put a copy at the top of your test directory </td> </tr> <tr> <td align="left" valign="top"> [requirements] </td> <td align="left" valign="top"> waiton </td> <td align="left" valign="top"> list of valid test names </td> <td align="left" valign="top"> no </td> <td align="left" valign="top"> This test will not run until the named tests are state completed and status PASS </td> </tr> <tr> <td align="left" valign="top"> [items] </td> <td align="left" valign="top"> any valid </td> <td align="left" valign="top"> list of values </td> <td align="left" valign="top"> no </td> <td align="left" valign="top"> The test will be repeated once for each item with the variable name set to the value. If there is more than one variable then the test will be run against all unique combinations of the values </td> </tr> </table> </div> <h3 class="Subsubsection"> <a class="toc" name="toc-Subsubsection-9.5.2">9.5.2</a> Command line </h3> <div class="Standard"> <table> <tr> <td align="left" valign="top"> switch or param </td> <td align="left" valign="top"> parameter </td> <td align="left" valign="top"> purpose </td> <td align="left" valign="top"> comments </td> </tr> <tr> <td align="left" valign="top"> -h </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> brief help </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -runall </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> run all tests </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -runtests </td> <td align="left" valign="top"> test1,test2,... </td> <td align="left" valign="top"> run one or more tests </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -step </td> <td align="left" valign="top"> stepname </td> <td align="left" valign="top"> record a step </td> <td align="left" valign="top"> requires :state and :status </td> </tr> <tr> <td align="left" valign="top"> -test-status </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> record the test status </td> <td align="left" valign="top"> requires :state and :status </td> </tr> <tr> <td align="left" valign="top"> -setlog </td> <td align="left" valign="top"> logfilename </td> <td align="left" valign="top"> set the logfile name for a test </td> <td align="left" valign="top"> path is assumed to be relative to the test run directory </td> </tr> <tr> <td align="left" valign="top"> -set-toplog </td> <td align="left" valign="top"> logfilename </td> <td align="left" valign="top"> set the logfile name for the top test in an iterated test run </td> <td align="left" valign="top"> each sub test can have its own logfile set </td> </tr> <tr> <td align="left" valign="top"> -m </td> <td align="left" valign="top"> “comment” </td> <td align="left" valign="top"> sets a comment for the step, test or run </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> :runname </td> <td align="left" valign="top"> [a-zA-Z0-9_-]+ </td> <td align="left" valign="top"> directory in which this run will be stored in the test run area </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> :state </td> <td align="left" valign="top"> any value </td> <td align="left" valign="top"> Set the step or test state, this is stored in the state field in the steps or tests table respectively </td> <td align="left" valign="top"> For tests Megatest recognises “INCOMPLETE”, “COMPLETE” </td> </tr> <tr> <td align="left" valign="top"> :status </td> <td align="left" valign="top"> any value </td> <td align="left" valign="top"> Set the step or test status, this is stored in the status field in the steps or tests table respectively </td> <td align="left" valign="top"> For tests Megatest recognises “PASS”, “FAIL”, and “CHECK” </td> </tr> <tr> <td align="left" valign="top"> -list-runs </td> <td align="left" valign="top"> any value, % is wildcard </td> <td align="left" valign="top"> Respects -itempatt and -testpatt for filters </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -testpatt </td> <td align="left" valign="top"> any value, % is wildcard </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -itempatt </td> <td align="left" valign="top"> any value, % is wildcard </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -showkeys </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> Print the keys being used for this database </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -force </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> Test will not re-run if in the “PASS”, “CHECK” or “KILLED”, using -force will force the run to be launched. </td> <td align="left" valign="top"> WARNING: The -force switch will bypass any “waiton” dependencies. </td> </tr> <tr> <td align="left" valign="top"> -xterm </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> Launch an xterm instead of run the test. The xterm will have the environment that the test would see. </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -remove-runs </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> Remove a run, test or subtest from the database and the disk. Cannot be undone. Requires -testpatt, -itempatt, :runname and all keys be specified. </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> <i>Test helpers</i> </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -runstep </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> Used inside a test to run a step, record the start and end of the step and optionally analyze the output using logpro. </td> <td align="left" valign="top"> </td> </tr> <tr> <td align="left" valign="top"> -logpro </td> <td align="left" valign="top"> </td> <td align="left" valign="top"> If using logpro to asses the PASS/FAIL status of the step you specify the logpro file with this parameter. </td> <td align="left" valign="top"> </td> </tr> </table> </div> <h1 class="Section"> <a class="toc" name="toc-Section-A">A</a> Data </h1> <h1 class="Section"> <a class="toc" name="toc-Section-B">B</a> References </h1> <hr class="footer"/> <div class="footer" id="generated-by"> Document generated by <a href="http://elyxer.nongnu.org/">eLyXer 1.0.0 (2010-07-21)</a> on <span class="create-date">2011-09-24T12:08:54.560787</span> </div> </div> </body> </html> |
Deleted docs/megatest.html version [ecf823ced4].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |
Deleted docs/megatest.wiki version [a8e8eae5b4].
|
| < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < |