Running the TSL Tool
The TSL utility generates test frames from a specification file written in the Extended Test Specification Language. By default it writes the test frames to a new file created by appending a '.tsl' extension to the input_file's name. Options can be used to modify the output.
To create a frame file from a tsl spec file we use the command:
tsl [ --manpage ] [ -cs ] input_file [ -o output_file ]
Where the meaning of the above options are:
--manpage
Print the man page of the tsl tool.
--c
Report the number of test frames generated, but don't write them to the output. After the number of frames is reported you will be given the option of writing them to the output.
-s
Output is the standard output.
-o output_file
Output is the file output_file unless the -s option is used.
Example:
Suppose the tsl specification file present in the testplans.alt directory is 'v0.tsl'. Suppose we want to generate the frame file for the above tsl spec file. We type:
tsl v0.tsl
This causes the tsl program to generate the frame file named, by default, v0.tsl.tsl.
Now suppose we want to generate the frame file named v0.frame. We type:
tsl v0.tsl -o v0.frame