The files are stored in the driver directory on the same location as drv files, but they possess the tst extension; they are processed by PE macro processor using src file, with the only difference of the DriverExtension macro having tst instead of drv value. The existence of the TST script file is not necessary (unlike the driver). The output from this file is not expected and is not saved anywhere, only errors, warnings and hints or possibly setting by the %set command will be accepted. Prior processing the component TST script file, main.tst will be processed (if exists). In the course of tst processing, defining global symbols (except for the main.tst driver) will not be permitted - any possible symbols will be defined only locally, when the symbols from the main.TST script file will be available for component TST as well.
TS2 script file will be in most times started only after tst.