Setting Up Rendezvous Members
Test RealTime - User Guide
·
Select Error only to generate traces only if an error is detected during execution
of the application. This report will be incomplete, but the report will show failed
instructions as well as a number of instructions that preceded the error. This
number depends on the Virtual Tester's trace buffer size. Use this option for
endurance testing, if you expect a large quantity execution traces.
In addition to the above, you can select the Circular trace option for strong real-time
constraints when you need full control over the flush of traces to disk. If you want to
still store a large amount of trace data, specify a large buffer.
Setting Up Rendezvous Members
When you have used Rendezvous points in your .pts test script, it is necessary to
indicate the number of members that the supervisor must expect at each rendezvous.
The Rendezvous Members dialog box is an advanced option of the Virtual Tester
Configuration.
To specify the number of members for each rendezvous:
1. In
the
Project Explorer, right-click a System Testing node.
2.
From the pop-up menu, select Deployment Configuration.
3. Select
Advanced Options and click Rendezvous.
4.
For each rendezvous encountered in the .pts test script, select a number of
rendezvous members.
5. Select
AutoGenerate to automatically compute the number of members in each
Rendezvous. In some cases, such as when rendezvous are placed in an
exception, this option cannot provide correct information to the supervisor.
6. Click
OK.
System Testing in a Multi-Threaded or RTOS Environment
When Virtual Testers must be executed as a threaded part of a UNIX or Windows
process, or on RealTime Operating Systems (RTOS) you must take several constraints
into account:
·
The Virtual Tester should be generated as a function and not a main program.
·
You must consider the configuration of the Virtual Testers' execution.
There are memory management constraints:
·
There is no dynamic memory allocation.
·
Stacks are small.
·
Virtual Testers share global data.
198