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 +
[requirements] +waiton C +itemmap (\d+)/res \1/aa+
[requirements] +waiton C +itemmap (\d+)/res \1/bb+
[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} +
[requirements] +runtimelim 1h 2m 3s # this will automatically kill the test if it runs for more than 1h 2m and 3s+
A test with a skip section will conditional skip running.
[skip] +prevrunning x +# rundelay 30m 15s+
# 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] +fileexists /path/to/a/file # skip if /path/to/a/file exists+
[skip] +rundelay 15m 15s+
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
# Override the rollup for specific tests [testrollup] runfirst mysummary.sh
In megatest.config add the following sections: