Preface
@@ -1799,59 +1799,73 @@
Index: docs/manual/megatest_manual.html ================================================================== --- docs/manual/megatest_manual.html +++ docs/manual/megatest_manual.html @@ -773,13 +773,13 @@
We accomplish this by configuring the testconfigs of our tests C D and E as follows:
[requirements] -waiton A B - -[itemmap] -A (\d+)/aa aa/\1 -B (\d+)/bb+waiton C +itemmap (\d+)/res \1/bb
[requirements] waiton C itemmap (\d+)/res \1/aa
[requirements] -waiton C -itemmap (\d+)/res \1/bb+waiton A B + +[itemmap] +A (\d+)/aa aa/\1 +B (\d+)/bb bb/\1 +
Example from image just above, we want the following to occur:
+eg from command line megatest -run -testpatt D/1/res -target mytarget -runname myrunname +
++Full list to be run is now: D/1/res +
++Test D has a waiton - test C. Test D’s itemmap rule itemmap (\d+)/res \1/aa → causes C/1/aa to run before D/1/res +
+-We want the above to execute when we request pattern D/1/res, eg from command line megatest -run -testpatt D/1/res -target … -runname … +Full list to be run is now: D/1/res, C/1/aa
-"(\d+)/res" → "\1/aa" to require C/1/aa be executed before D/1/res -
--Full list to be run is now: D/1/res, C/1/aa -
--"(\d+)/aa" → "aa/\1" to create item A/aa/1 +Test C was a waiton - test A. Test C’s rule A (\d+)/aa aa/\1 → causes A/aa/1 to run before C/1/aa
Full list to be run is now: D/1/res, C/1/aa, A/aa/1
++Test A has no waitons. All waitons of all tests in full list have been processed. Full list is finalized. +