TST file

The TST file is a script that describes implementation-dependent tests of the component setting.

It runs from Processor Expert only if the component is set up correctly. Component modules won't be generated if any error is reported from the TST file. The TST file is stored in the same directory as the driver; the file-name is also the same and the file-extension is TST. You can edit TST file directly in Component Development Environment. For more information, see Driver Processing topic.

The list of macros defined for the TST file is the same as macros for the driver. You can use all macroprocessor commands (see Macroprocessor Commands topic) in the TST file as in the component driver. Messages from the TST script are reported using the commands %error, %warning, %hint to Processor Expert Error window. The TST script cannot define any global macros accessible from other TST files or drivers.

Warning: If you write any TST file for your component, any warning and hint will NOT be generated from the driver. All warnings and hints should be generated from the TST file.

Example:

%if Property1="MASTER"

%error Sorry - this feature is not implemented yet.

%endif

%-

%if Property2="0"

%hint Define buffer for better performance.

%endif

There is complete component BasicProperties in this version of CDE. This component contains example of TST and CHG files.