IBM
Contents Index Previous Next



Generating a TTCN Link Executable


To create a test suite based on an SDL system, it is necessary to begin by creating an executable program that will be used during the test suite development. Such programs, which are created by the SDL to C Compilers, are called Link Executables. Sometimes they will also be referred to as state space generators, since the purpose of these programs is to generate the combined state space of the SDL system and the TTCN test case.

  1. Select Make in the Generate menu in the Organizer, to create a Link Executable for the SDL system.
    • Since you probably have not saved the system since you generated the overview, you will be prompted to do so before the SDL Make dialog can be opened.
  2. Make sure that the following options are set in the SDL Make dialog:
    • Code generator: Cbasic
    • Prefix: Full
    • Separation: No
    • Capitalization: Lower case
  3. Make also sure that the following options are turned on:
    • Analyze & generate code
    • Makefile
    • Compile and link
  4. Select Generate Makefile.
  5. Select a TTCN Link kernel for a suitable compiler in the Use standard kernel option.
  6. Click the Full Make button.
    A TTCN Link executable will now be generated from the SDL specification. You can open the Organizer log to see the result of the make process.

Now the preparations are completed and you can start developing a new test suite.


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