IBM
Contents Index Previous Next



Integrated-Simulation from command line


The generated ETS for Integrated-Simulation may be started from command line. Do this without any arguments in command line. In this case ETS has no any graphic interface. It reads commands from stdin and print the results of performed commands, Conformance Log, etc. to stdout. Extra debug output will be printed if the environment variable TTCN_SIMULATOR_DEBUG is set. The available commands are as follows:

breakpoint

breakpoint <table name> <line number>

Set the breakpoint in table <table name> on <line number>.

Example 208

breakpoint Init_step 1

breakpoints

breakpoints

List set of breakpoints.

cancel

cancel

Stop execution of test case.

delete

delete [<table name> [<line number>]]

Delete the breakpoint from table <table name> on the line <line number>. When <line number> is not set, all breakpoints from table <table name> will be removed. If <table name> also isn't set, all breakpoints will be removed.

Example 209

delete Init_step 1

gett

gett <value>

Print the value.

Example 210

gett VarX

glist

glist

List the available Test Groups.

list

list

List the available Test Cases.

pcos

pcos

List the available PCOs.

quit

quit

Exit the ETS.

run

run [<Test Case or Test Group>]

Start execution of the Test Case or Test Group. When Test Case is running and paused, may be used without arguments to continue Test Case execution.

Example 211

run TC

run-SDL (Windows only)

run-SDL <SDL Simulator executeable>

Start the SDL Simulator and redirect its input in order to pass commands to SDL Simulator. Wait until the SDL Simulator start and connect to the Postmaster. When the TTCN Simulator exits, it automatically terminates any such started SDL Simulator.

Example 212

run-SDL cosim_smc.exe

SDL-command (Windows only)

SDL-command <command>

Passes the <command> to SDL Simulator, that previously has been started using the command run-SDL.

Example 213

SDL-command start-itex

sleep (Windows only)

sleep <msecs>

Pause the execution and sleep for <msecs> milliseconds.

Example 214

sleep 1000

step

step [<Test Case or Test Group>]

Start execution of the Test Case or Test Group and pause it after 1 step. When Test Case is running and paused, may be used without arguments to make 1 step in Test Case execution and pause it again.

Example 215

step TC

stop

stop

Pause Test Case execution.

timers

timers

List the available timers.


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