## AP2 - Automated Audio Device Driver Test Tool

[prev][next][parent][TOC]

### /BATCH

Specifying the /BATCH switch runs AP2 in a batch mode. When running AP2 in batch mode, no user interaction is required, nor is it necessary. The program will run, test all scripts, and automatically terminate when there is an error, or when all scripts have been tested.

To run in batch mode, you must specify which scripts are to be tested. Use any combination of the previous seven switches. Specifying /VIDEO /WAVE / BATCH will automatically test all video and wave scripts and terminate when done. Note: If none of the selection switches are specified, AP2 will return an error message specifying that no test cases were selected.

All errors and failed scripts are logged to an OUTPUT file. The output file can be specified with the /O switch. If no output file is specified, AP2.OUT will be the default.

In batch mode, testing Device Capabilities is defaulted to on, unless the / NOTEST switch is specified.

During batch execution, only those files not designated by their naming convention as INTERACTIVE are run. A file is designated as interactive if the seventh character in its filename is an "I". For example: C1____I1.P2S . A file should be designated as interactive if it uses the @BREAK or the @CHECK P2String directive.