Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


2.6.11 Enabling coverage information collection without having to specify the option during batch job execution

By specifying the environment setting parameters listed below for collecting coverage information, you eliminate the need to specify the coverage information collection option (-t option) during batch job execution:

The following subsections show example settings in the environment file and the command to be executed.

Organization of this subsection

(1) Example settings in the environment file

This example specifies the following parameters in the environment file:

#-adsh_conf BATCH_CVR YES
#-adsh_conf ASC_FILE ./cvrg/ver001-*

The following explains each line of the settings:

  1. BATCH_CVR: Uses the coverage auto-acquisition functionality.

  2. ASC_FILE: Defines the accumulation file naming rules used by the coverage auto-acquisition functionality.

(2) Command to be executed

This example executes the following command using the above settings in the environment file:

adshexec sample.ash

This command produces the same results as if the adshexec command with adshexec -t -o ./cvrg/ver001-sample sample.ash specified were executed. However, if the adshexec command with adshexec -t sample.ash specified (the -t option specified) were executed, the return code would be 1, resulting in an error.