IBM
Contents Index Previous Next



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:

  1. In the TTCN Suite, analyze the test suite and make sure it contains no errors.
  2. 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).

  1. 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.

  1. Generate and start the SDL Simulator, if not already done. In the SDL Simulator UI, load the SDL Suite generated simulator executable.
  2. In the SDL Simulator, give the command start-itex.
  3. In the TTCN Browser, select the tests you wish to execute.
  4. Click the Run/Continue or Step button, to start the actual integrated-simulatation in the TTCN Suite.
  5. In the SDL Simulator, give the command go-forever.

http://www.ibm.com/rational
Contents Index Previous Next