Megatest

Check-in [71c21902f8]
Login
Overview
Comment:Minor documentation updates
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | subtest-rollup
Files: files | file ages | folders
SHA1: 71c21902f8dc948406e33e2a7e1577306c83becb
User & Date: matt on 2011-05-14 18:07:09
Other Links: branch diff | manifest | tags
Context
2011-05-14
18:09
Merging subtest-rollup to trunk check-in: 00761e1112 user: matt tags: trunk, v1.06
18:07
Minor documentation updates Closed-Leaf check-in: 71c21902f8 user: matt tags: subtest-rollup
2011-05-13
00:48
Added syntax "VAR [system cmd ...]" to config files so that dynamic entries can be made check-in: ed8901551a user: matt tags: subtest-rollup
Changes

Modified docs/megatest.html from [791a8e0f1e] to [a113e56825].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?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-05-12"/>
<link rel="stylesheet" href="http://www.nongnu.org/elyxer/lyx.css" type="text/css" media="screen"/>
<title>Megatest</title>
</head>
<body>
<div id="globalWrapper">
<h1 class="title">
Megatest






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?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-05-14"/>
<link rel="stylesheet" href="http://www.nongnu.org/elyxer/lyx.css" type="text/css" media="screen"/>
<title>Megatest</title>
</head>
<body>
<div id="globalWrapper">
<h1 class="title">
Megatest
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
</div>
</div>
<div class="toc">
<a class="Link" href="#toc-Section-0.3">Section 0.3: Reference</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsection-0.3.1">Subsection 0.3.1: Environment variables</a>
</div>

<div class="toc">
<a class="Link" href="#toc-Subsection-0.3.2">Subsection 0.3.2: Configuration files</a>
</div>
<div class="tocindent">


<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.2.1">Subsubsection 0.3.2.1: megatest.config</a>
</div>
<div class="toc">



<a class="Link" href="#toc-Subsubsection-0.3.2.2">Subsubsection 0.3.2.2: runconfigs.config file</a>
</div>
</div>
<div class="toc">



<a class="Link" href="#toc-Subsection-0.3.3">Subsection 0.3.3: Writing tests</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.3.1">Subsubsection 0.3.3.1: testconfig file</a>
</div>


</div>

<div class="toc">
<a class="Link" href="#toc-Subsection-0.3.4">Subsection 0.3.4: Command line</a>








</div>
</div>
</div>
</div>

</div>
<h2 class="Section">







|

>

|

|
>
>

|


>
>
>
|



>
>
>
|



|

>
>

>

|
>
>
>
>
>
>
>
>







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
</div>
</div>
<div class="toc">
<a class="Link" href="#toc-Section-0.3">Section 0.3: Reference</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsection-0.3.1">Subsection 0.3.1: Configuration files</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.1.1">Subsubsection 0.3.1.1: Sections</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.1.2">Subsubsection 0.3.1.2: Variables</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.1.3">Subsubsection 0.3.1.3: Includes</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.1.4">Subsubsection 0.3.1.4: Setting a variable by running a command</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.1.5">Subsubsection 0.3.1.5: Notes</a>
</div>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-0.3.2">Subsection 0.3.2: Environment variables</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-0.3.3">Subsection 0.3.3: Configuration files</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.3.1">Subsubsection 0.3.3.1: megatest.config</a>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.3.2">Subsubsection 0.3.3.2: runconfigs.config file</a>
</div>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-0.3.4">Subsection 0.3.4: Writing tests</a>
</div>
<div class="tocindent">
<div class="toc">
<a class="Link" href="#toc-Subsubsection-0.3.4.1">Subsubsection 0.3.4.1: testconfig file</a>
</div>
</div>
<div class="toc">
<a class="Link" href="#toc-Subsection-0.3.5">Subsection 0.3.5: Command line</a>
</div>
</div>
</div>
</div>

</div>
<h2 class="Section">
280
281
282
283
284
285
286
287



















































288
289
290
291
292
293
294
<div class="Code">
watch megatest -list-runs %
</div>
<h2 class="Section">
<a class="toc" name="toc-Section-0.3">0.3</a> Reference
</h2>
<h3 class="Subsection">
<a class="toc" name="toc-Subsection-0.3.1">0.3.1</a> Environment variables



















































</h3>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
Variable
</td>







|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







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
<div class="Code">
watch megatest -list-runs %
</div>
<h2 class="Section">
<a class="toc" name="toc-Section-0.3">0.3</a> Reference
</h2>
<h3 class="Subsection">
<a class="toc" name="toc-Subsection-0.3.1">0.3.1</a> Configuration files
</h3>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.1.1">0.3.1.1</a> Sections
</h4>
<div class="Unindented">
[section name]
</div>
<div class="Indented">
This creates a section named “section name”
</div>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.1.2">0.3.1.2</a> Variables
</h4>
<div class="Unindented">
VARX has this value
</div>
<div class="Indented">
The variable “VARX” will have the value “has this value”
</div>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.1.3">0.3.1.3</a> Includes
</h4>
<div class="Unindented">
[include filename]
</div>
<div class="Indented">
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>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.1.4">0.3.1.4</a> Setting a variable by running a command
</h4>
<div class="Unindented">
VARNAME [system ls /tmp]
</div>
<div class="Indented">
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>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.1.5">0.3.1.5</a> Notes
</h4>
<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>
<h3 class="Subsection">
<a class="toc" name="toc-Subsection-0.3.2">0.3.2</a> Environment variables
</h3>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
Variable
</td>
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414

</tr>

</table>

</div>
<h3 class="Subsection">
<a class="toc" name="toc-Subsection-0.3.2">0.3.2</a> Configuration files
</h3>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.2.1">0.3.2.1</a> megatest.config
</h4>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
section
</td>







|


|







468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485

</tr>

</table>

</div>
<h3 class="Subsection">
<a class="toc" name="toc-Subsection-0.3.3">0.3.3</a> Configuration files
</h3>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.3.1">0.3.3.1</a> megatest.config
</h4>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
section
</td>
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585

</tr>

</table>

</div>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.2.2">0.3.2.2</a> runconfigs.config file
</h4>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
section
</td>







|







642
643
644
645
646
647
648
649
650
651
652
653
654
655
656

</tr>

</table>

</div>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.3.2">0.3.3.2</a> runconfigs.config file
</h4>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
section
</td>
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
# runconfigs.config
</div>
<div class="Code">
[default]
</div>
<div class="Code">
ENCRYTION true



</div>
<div class="Code">
[megacorp/india]
</div>
<div class="Code">
TESTPATH /nfs/testing/megacorp_runs



</div>
<div class="Code">
[femtocorp/cook_islands]
</div>
<div class="Code">
ENCRYTION false
</div>
<div class="Code">
TESTPATH /afs/kiatoa/testing/cook_islands



</div>
<div class="Code">
[femtocorp/new_zealand]
</div>
<div class="Code">
TESTPATH /afs/kiatao/testing/new_zealand



</div>
<div class="Code">
[megacorp/new_zealand]
</div>
<div class="Code">
TESTPATH /nfs/testing/megacorp_runs
</div>







>
>
>






>
>
>









>
>
>






>
>
>







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
# runconfigs.config
</div>
<div class="Code">
[default]
</div>
<div class="Code">
ENCRYTION true
</div>
<div class="Code">
#
</div>
<div class="Code">
[megacorp/india]
</div>
<div class="Code">
TESTPATH /nfs/testing/megacorp_runs
</div>
<div class="Code">
#
</div>
<div class="Code">
[femtocorp/cook_islands]
</div>
<div class="Code">
ENCRYTION false
</div>
<div class="Code">
TESTPATH /afs/kiatoa/testing/cook_islands
</div>
<div class="Code">
#
</div>
<div class="Code">
[femtocorp/new_zealand]
</div>
<div class="Code">
TESTPATH /afs/kiatao/testing/new_zealand
</div>
<div class="Code">
#
</div>
<div class="Code">
[megacorp/new_zealand]
</div>
<div class="Code">
TESTPATH /nfs/testing/megacorp_runs
</div>
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
<div class="Code">
ENCRYPTION true
</div>
<div class="Code">
TESTPATH /nfs/testing/megacorp_runs
</div>
<h3 class="Subsection">
<a class="toc" name="toc-Subsection-0.3.3">0.3.3</a> Writing tests
</h3>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.3.1">0.3.3.1</a> testconfig file
</h4>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
section
</td>







|


|







771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
<div class="Code">
ENCRYPTION true
</div>
<div class="Code">
TESTPATH /nfs/testing/megacorp_runs
</div>
<h3 class="Subsection">
<a class="toc" name="toc-Subsection-0.3.4">0.3.4</a> Writing tests
</h3>
<h4 class="Subsubsection">
<a class="toc" name="toc-Subsubsection-0.3.4.1">0.3.4.1</a> testconfig file
</h4>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
section
</td>
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786

</tr>

</table>

</div>
<h3 class="Subsection">
<a class="toc" name="toc-Subsection-0.3.4">0.3.4</a> Command line
</h3>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
switch or param
</td>







|







855
856
857
858
859
860
861
862
863
864
865
866
867
868
869

</tr>

</table>

</div>
<h3 class="Subsection">
<a class="toc" name="toc-Subsection-0.3.5">0.3.5</a> Command line
</h3>
<div class="Unindented">
<table>
<tr>
<td align="left" valign="top">
switch or param
</td>
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124

</table>

</div>

<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-05-12T22:59:47.948657</span>
</div>
</div>
</body>
</html>







|




1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207

</table>

</div>

<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-05-14T17:06:23.587385</span>
</div>
</div>
</body>
</html>

Modified docs/megatest.lyx from [5ce045a978] to [b50d911082].

347
348
349
350
351
352
353



























































































































354
355
356
357
358
359
360
\begin_layout Code
watch megatest -list-runs %
\end_layout

\begin_layout Section
Reference
\end_layout




























































































































\begin_layout Subsection
Environment variables
\end_layout

\begin_layout Standard
\begin_inset Tabular







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







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
\begin_layout Code
watch megatest -list-runs %
\end_layout

\begin_layout Section
Reference
\end_layout

\begin_layout Subsection
Configuration files
\end_layout

\begin_layout Subsubsection
Sections
\end_layout

\begin_layout Standard
[section name]
\end_layout

\begin_layout Standard
This creates a section named 
\begin_inset Quotes eld
\end_inset

section name
\begin_inset Quotes erd
\end_inset


\end_layout

\begin_layout Subsubsection
Variables
\end_layout

\begin_layout Standard
VARX has this value
\end_layout

\begin_layout Standard
The variable 
\begin_inset Quotes eld
\end_inset

VARX
\begin_inset Quotes erd
\end_inset

 will have the value 
\begin_inset Quotes eld
\end_inset

has this value
\begin_inset Quotes erd
\end_inset


\end_layout

\begin_layout Subsubsection
Includes
\end_layout

\begin_layout Standard
[include filename]
\end_layout

\begin_layout Standard
The file named 
\begin_inset Quotes eld
\end_inset

filename
\begin_inset Quotes erd
\end_inset

 will be included as if part of the calling file.
 NOTE: This means no section can be named 
\begin_inset Quotes eld
\end_inset

include 
\begin_inset Quotes eld
\end_inset

 (with the whitespace).
\end_layout

\begin_layout Subsubsection
Setting a variable by running a command
\end_layout

\begin_layout Standard
VARNAME [system ls /tmp]
\end_layout

\begin_layout Standard
The variable 
\begin_inset Quotes eld
\end_inset

VARNAME
\begin_inset Quotes erd
\end_inset

 will get a value created by the Unix command 
\begin_inset Quotes eld
\end_inset

ls /tmp
\begin_inset Quotes erd
\end_inset

.
 All lines of output from the command will be joined with a space.
\end_layout

\begin_layout Subsubsection
Notes
\end_layout

\begin_layout Itemize
Some variables are infered as lists.
 Each token on the line separated by whitespace will be member of the list.
\end_layout

\begin_layout Itemize
Comments (lines starting with #) and blank lines are ignored.
\end_layout

\begin_layout Subsection
Environment variables
\end_layout

\begin_layout Standard
\begin_inset Tabular
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
\begin_layout Code
[default]
\end_layout

\begin_layout Code
ENCRYTION true
\end_layout





\begin_layout Code
[megacorp/india]
\end_layout

\begin_layout Code
TESTPATH /nfs/testing/megacorp_runs
\end_layout





\begin_layout Code
[femtocorp/cook_islands]
\end_layout

\begin_layout Code
ENCRYTION false
\end_layout

\begin_layout Code
TESTPATH /afs/kiatoa/testing/cook_islands
\end_layout





\begin_layout Code
[femtocorp/new_zealand]
\end_layout

\begin_layout Code
TESTPATH /afs/kiatao/testing/new_zealand
\end_layout





\begin_layout Code
[megacorp/new_zealand]
\end_layout

\begin_layout Code
TESTPATH /nfs/testing/megacorp_runs







>
>
>
>








>
>
>
>












>
>
>
>








>
>
>
>







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
\begin_layout Code
[default]
\end_layout

\begin_layout Code
ENCRYTION true
\end_layout

\begin_layout Code
#
\end_layout

\begin_layout Code
[megacorp/india]
\end_layout

\begin_layout Code
TESTPATH /nfs/testing/megacorp_runs
\end_layout

\begin_layout Code
#
\end_layout

\begin_layout Code
[femtocorp/cook_islands]
\end_layout

\begin_layout Code
ENCRYTION false
\end_layout

\begin_layout Code
TESTPATH /afs/kiatoa/testing/cook_islands
\end_layout

\begin_layout Code
#
\end_layout

\begin_layout Code
[femtocorp/new_zealand]
\end_layout

\begin_layout Code
TESTPATH /afs/kiatao/testing/new_zealand
\end_layout

\begin_layout Code
#
\end_layout

\begin_layout Code
[megacorp/new_zealand]
\end_layout

\begin_layout Code
TESTPATH /nfs/testing/megacorp_runs