Tinderbox/Tbox3 tests: Difference between revisions

Jump to navigation Jump to search
Updated a few $client commands and added bit on logging.
m (→‎$client object: - formatting)
(Updated a few $client commands and added bit on logging.)
Line 32: Line 32:


; get_field :??
; get_field :??
; do_command: The do_command method, in addition to doing a command, also adds it to the logs.
; do_command($command, $grep, $timeout): The do_command method, in addition to doing a command, also adds it to the logs.<br>$command is the command to run<br>$grep is an optional subroutine to parse the output of $command<br>If the command has run for $timeout and is not giving output, it is assumed to have hung.
; eat_command :??
; eat_command :??
; print_log : This only adds a message to the log?
 
===== Logging =====
The tinderbox server will show the logs in various formats.  The Summary format will only include things that start with ---&gt; and %lt;---.  These are used to add or remove tabs for the summary as well.
 
Commands whose results that show up in the summary include:
* start_section
* end_section
* do_command (via start/end section)
* eat_command
 
; print_log : This only adds a message to the log.


==== TinderClientModules::YourModule::get_config ====
==== TinderClientModules::YourModule::get_config ====
24

edits

Navigation menu