| Switch
| Parameters
| Description
|
-BATCH /BATCH
| SCRIPT1 [SCRIPT2 ...]
| One or more script names. The specified scripts will be run in parallel.
- If the scripts do not have a full pathname the TestSmith default /Scripts
directory will be assumed, unless the -DIR switch
preceded the -BATCH switch, in which case the specified path will be
used for each script.
- The .smith extension will be assumed if not explicitly stated.
- If no scripts are specified, or none of the specified scripts
can be found, TestSmith will exit with a -1 code.
|
-DIR /DIR
| PATHNAME
| A full drive:/pathname, with or without the final "\" character.
|
-ERRJOIN /ERRJOIN
| SUM | OR
|
Specify that final error codes from each executed script (if issued)
are to be 'joined' to produce a final error code that is returned to the
calling process when TestSmith exits.
This parameter is only useful if multiple scripts are specified.
If it is not used, the return code from the last script to
complete will be used as the return code of the application.
The constant values SUM or OR are acceptable.
All other values will be ignored.
SUM will add all error codes together to produce the final error code.
OR will use the bitwise logical OR operation to join the results.
It is the script creator's responsibility to ensure that all return codes
are ^2 values (0, 1, 2, 4, 8, etc.).
See Error Code Parameters for information
on how to set error levels.
|