A place for discussing the creation of test driver schemas, customizing of object mapping files, developing Perl script subroutines to enhance the test driver schema language, and the generation of test drivers.

The easiest way to customize the information being written into a test driver file is to utilize the PERL interpreter facility that is built into the test driver generator. Your object mappings and/or schema can pass the value meta-tokens that you would like formatted differently into a perl function that you include in your perl routines file that you can supply via the EMBED_PERL directive

EMBED_PERL 'my_perl_routines.pl';

that is normally included in the object mappings file for each subsystem. For example, you could place a perl routine called format_fp_number into your perl routine file.

sub format_fp_number{ # number to format my($fp_input_number) = @_;

return (sprintf("%3.1f",$fp_input_number)); }}

Then, in your map files and/or schema files, any location where there is a value that needs to be formatted in this way should be modified to pass the value to the perl routine, which then reformats the number and returns the new string form. For example, a "set descriptor" for an output variable can be changed from