diff options
author | Andrey Pampukha <[email protected]> | 2010-04-19 17:28:07 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-06-09 16:19:18 +0200 |
commit | 1327bd8956b2d0f6b5a9201ce9ecf361f94733aa (patch) | |
tree | 9fa7463d786cfab1c12343e8b5fac829e7e1e0c1 /lib/common_test/doc/src/run_test_chapter.xml | |
parent | ebcab814cabc74407f48aba1b41327df80586fcd (diff) | |
download | otp-1327bd8956b2d0f6b5a9201ce9ecf361f94733aa.tar.gz otp-1327bd8956b2d0f6b5a9201ce9ecf361f94733aa.tar.bz2 otp-1327bd8956b2d0f6b5a9201ce9ecf361f94733aa.zip |
Move 'node_start' and 'eval' terms into new 'init' term
node_start+eval -> init(node_start, eval)
Also include some documentation updates.
Diffstat (limited to 'lib/common_test/doc/src/run_test_chapter.xml')
-rw-r--r-- | lib/common_test/doc/src/run_test_chapter.xml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/lib/common_test/doc/src/run_test_chapter.xml b/lib/common_test/doc/src/run_test_chapter.xml index f5dc477c6f..44b4077ec4 100644 --- a/lib/common_test/doc/src/run_test_chapter.xml +++ b/lib/common_test/doc/src/run_test_chapter.xml @@ -384,8 +384,8 @@ {event_handler, EventHandlers, InitArgs}. {event_handler, NodeRefs, EventHandlers, InitArgs}. - {eval, [{Module, Function, Arguments}]}. - {eval, [NodeAlias], [{Module, Function, Arguments}]}. + {init, Options}. + {init, [NodeAlias], Options}. </pre> <p>Test terms:</p> <pre> @@ -461,15 +461,9 @@ <item>Lastly, all suites for systems t3 are to be completely skipped and this should be explicitly noted in the log files.</item> </list> - <p>It is possible to evaluate any function(s) during processing of the test - specification. This feature may be used e.g. to add some directories to - the code path, initialise some ETS table etc. New <c>eval</c> terms can be - used for this purpose. - If only a list of functions is given, then all functions from the list - will be consequently applied on the current node. If at least one node - alias is given, then the functions will be called remotely on all nodes - specified. Please note that in case when node is defined to be started by - the CT Master, the evaluation will be deferred. + <p>It is possible to specify initialization options for nodes defined in the + test specification. Currently, there are options to start the node and/or to + evaluate any function on the node. See the <seealso marker="ct_master_chapter#ct_slave">Automatic startup of the test target nodes</seealso> chapter for details.</p> <p>It is possible for the user to provide a test specification that |