Serial test port

Clone this repo:

Branches

Tags

  1. 83bf3dc Adding option to change CR to NL conversion by dkubischlu1 · 9 months ago master
  2. f7e17e8 Added external function to change parameters (SerialPortTypes.set_port_parameter(name,value,port)) by Kubisch Daniel · 1 year ago
  3. 15ce8de Copyright datum changed for 2000-2019 by balaskoa · 1 year, 5 months ago
  4. 4a724b9 License upgrade to EPL 2.0 and copyright update to 2018 by balaskoa · 2 years, 2 months ago
  5. d68e7b2 Merge branch 'master' of ssh://git.eclipse.org:29418/titan/titan.TestPorts.Serial by balaskoa · 2 years, 2 months ago

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