Index: docs/manual/megatest_manual.html ================================================================== --- docs/manual/megatest_manual.html +++ docs/manual/megatest_manual.html @@ -1291,76 +1291,87 @@
[requirements]
 waiton A B
 
 [itemmap]
 A (\d+)/aa aa/\1
-B (\d+)/bb --------------------
-
-.Testconfig for Test D
- -

waiton C -itemmap (\d+)/res \1/aa

-
-
-
.Testconfig for Test E
-
-

waiton C -itemmap (\d+)/res \1/bb

-
-
-
Dynamic Flow Dependency Tree
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-.Autogeneration waiton list for dynamic flow dependency trees
-
-

# With a toplevel test you may wish to generate your list +B (\d+)/bb +

+
+
Testconfig for Test D
+
+
[requirements]
+waiton C
+itemmap (\d+)/res \1/aa
+
+
+
Testconfig for Test E
+
+
[requirements]
+waiton C
+itemmap (\d+)/res \1/bb
+
+ +
+

Dynamic Flow Dependency Tree

+
+
Autogeneration waiton list for dynamic flow dependency trees
+
+
[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}

-
-
-
Run time limit
-^^^^^^^^^^^^^^
-
-

runtimelim 1h 2m 3s # this will automatically kill the test if it runs for more than 1h 2m and 3s

-
-
-
Skip
-^^^^
-
-A test with a skip section will conditional skip running.
-
-.Skip section example
-
-

prevrunning x -# rundelay 30m 15s

-
-
-
Skip on Still-running Tests
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-

# NB// If the prevrunning line exists with any value the test will +waiton #{shell get-valid-tests-to-run.sh} +

+
+
+

Run time limit

+
+
+
[requirements]
+runtimelim 1h 2m 3s  # this will automatically kill the test if it runs for more than 1h 2m and 3s
+
+
+
+

Skip

+

A test with a skip section will conditional skip running.

+
+
Skip section example
+
+
[skip]
+prevrunning x
+# rundelay 30m 15s
+
+
+
+

Skip on Still-running Tests

+
+
+
# 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.

-

prevrunning x

-
-
-
Skip if a File Exists
-^^^^^^^^^^^^^^^^^^^^^
-
-

fileexists /path/to/a/file # skip if /path/to/a/file exists

-
-
-
Skip if test ran more recently than specified time
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-.Skip if this test has been run in the past fifteen minutes and 15 seconds.
-
-
-
- +# skip. + +[skip] +prevrunning x + + +
+

Skip if a File Exists

+
+
+
[skip]
+fileexists /path/to/a/file # skip if /path/to/a/file exists
+
+
+
+

Skip if test ran more recently than specified time

+
+
Skip if this test has been run in the past fifteen minutes and 15 seconds.
+
+
[skip]
+rundelay 15m 15s
+

Disks

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 @@ -1387,10 +1398,11 @@ # diff diff %file1% %file2% # This builtin rule is applied if a <waivername>.logpro file exists # logpro diff %file1% %file2% | logpro %waivername%.logpro %waivername%.html

+

Ezsteps

Example ezsteps with logpro rules
@@ -1452,10 +1464,12 @@
# Override the rollup for specific tests
 [testrollup]
 runfirst mysummary.sh
+
+

Archiving Setup

In megatest.config add the following sections: