KCMS Test Suite User's Guide

Recording Test Script Results To a Log File

For each script file executed, results are recorded in a log file. All the log files can be found in the kcmstest/log directory. The log file name is the name of the script file, with the .scr file extension replaced by the .log extension. If, for example, the test script name is IC_eval.scr, the log file name is IC_eval.log.

One exception to this naming scheme is if you enter all as the test script name. See "Starting the kcmstest Command" for details on this entry. In this case, the log file name is testall.log.

Two versions of a log file may exist at any given time: the current and the previous version. The previous version has its extension changed to .bak.

Example 2-3 is the log file output created from the test script shown in Example 2-2 .


Example 2-3 Log File Output

Parsing a KcsLoadProfile
Command         Profile Reference = scanner         Profile File Name =

kcmsEKls3510.inp         Profile Handling = By File         Profile Load Hint

= LoadWhenNeeded;         Profile Load Hint = UnLoadwhenNeeded;        

Profile Operation Hint = Image;         Load Hint =   2024000         Thu Jul

25 08:16:07 1996  Completed KcsLoadProfile command, status =    0         Thu

Jul 25 08:16:07 1996    Parsing a KcsLoadProfile Command         Profile

Reference = printer         Profile File Name = kcmsEKsunnws.out        

Profile Handling = By File         Profile Load Hint = LoadWhenNeeded;        

Profile Load Hint = UnLoadwhenNeeded;         Profile Operation Hint = Image; 

       Load Hint =   2024000         Thu Jul 25 08:16:07 1996  Completed

KcsLoadProfile command, status =    0         Thu Jul 25 08:16:07 1996  

Parsing a KcsConnectProfiles Command         Profile Reference = scan-print   

     Number of Profiles in Connect = 2         Profile Reference = scanner    

    Profile Reference = printer         Operation Hint =     20001         Thu

Jul 25 08:16:07 1996  Completed KcsConnectProfiles command, status =    0     

   Thu Jul 25 08:16:08 1996    Parsing a KcsEvaluate Command         Profile

Reference = scan-print         Source Layout = RGBInterLeaved;        

Destination Layout = RGBInterLeaved;         Input Image Name =

macbeth_1550.tif         Output Image Name = None         Operation Hint =    

20001         Thu Jul 25 08:16:08 1996  Completed KcsEvaluate command, status

=    0         364800.000000 pixels processed in 0.621338 seconds.         

The processing rate = 587120.062500 pixels/second.   Parsing a Free Profile

command          Profile reference =scanner  Completed KcsFreeProfile command,

status =    0  Parsing a Free Profile command          Profile reference

=printer  Completed KcsFreeProfile command, status =    0  Parsing a Free

Profile command          Profile reference =scan-print  Completed

KcsFreeProfile command, status =    0