Merge branch 'master' of ssh://git.eclipse.org:29418/titan/titan.TestPorts.Serial
tree: 93215389a73e283961e361267d18385620bd3cc6
  1. demo/
  2. src/
  3. .gitignore
  4. LICENSE
  5. README.md
  6. Serial.tpd
README.md

titan.TestPorts.Serial

Main project page:

https://projects.eclipse.org/projects/tools.titan

The source code of the TTCN-3 compiler and executor:

https://github.com/eclipse/titan.core

Usage

  • clone this repo to your computer in a folder (home_folder from now on)

  • Create a “bin” directory and cd into it

$ mkdir bin
$ cd ./bin
  • Create symlinks to all files in src and demo directory here
$ ln -s ../src/* .
$ ln -s ../demo/* .
  • Create the makefile
$ makefilegen -e "SerialPortTests" ./*
  • Compile the project
$ make
  • Adjust serial port properties in SerialPort.cfg

  • Run the tests

$ ttcn3_start SerialPortTests SerialPort.cfg

End