Performing an Integrated-Simulation with the SDL Suite
Given a test suite containing a set of tests you want to execute together with a simulated SDL system, the following steps are to be performed:
- In the TTCN Suite, analyze the test suite and make sure it contains no errors.
- In the TTCN Suite TTCN to C Compiler Settings dialog, generate an executable test suite.
- The following TTCN to C Compiler Options should be set:
- Integrated-simulator
- Ignore bodies of test suite operations
- In the Build Options tab:
- You should set Run Make.
- You may have to change the Makefile Type.
- For more information about the TTCN to C compiler and the options, see The TTCN to C Compiler (in Windows).
|
- Start the SDL and TTCN Integrated Simulator by selecting Invoke Integrated-Simulatator from the Co-Simulate menu.
- In the file dialog that will be issued, select the simulator ETS - that is, the executable produced in step 2. After that, the TTCN-SDL Integrated Simulator toolbar will appear.
|
- Generate and start the SDL Simulator, if not already done. In the SDL Simulator UI, load the SDL Suite generated simulator executable.
- In the SDL Simulator, give the command start-itex.
- In the TTCN Browser, select the tests you wish to execute.
- Click the Run/Continue or Step button, to start the actual integrated-simulatation in the TTCN Suite.
- In the SDL Simulator, give the command go-forever.