To perform message based testing on a system
Command Line Interface
To perform message based testing on a system:
First, set up the necessary environment variables. See Setting Environment
Write a System Testing .pts test script. See the Reference Manual for test script
Write a System Testing .spv supervisor script. See the Reference Manual for test
Note Manually created supervisor scripts may be overwritten by the Test
RealTime graphical user interface.
Compile the generated test harness source file. See Compiling the Test Harness.
If you are using any of the runtime analysis features, instrument and compile
the source code. See Instrumenting and Compiling the Source Code.
If not, simply compile your source code with your usual compiler.
Set up the TDP configuration file, called product.h. See Preparing a Products
Compile the TDP Library. See Compiling the TDP Library.
Link the compiled files together to create an executable test binary. See Linking
Ensure that the System Testing agents are running on all remote target hosts.
See Installing System Testing Agents.
10. Run the supervisor script on the supervisor machine (the machine running Test
RealTime) with the following command:
where supervisor is the name of the .spv supervisor script.
the System Testing Report Generator to produce a test report. See the
corresponding Report Generator command line section in the Reference
Graphical User Interface to view the test reports. See the
Graphical User Interface command line section in the Reference Manual.
Command Line Examples
This section describes two basic examples of using Test RealTime Runtime Analysis
features through the Command Line Interface: