|Help Needed on Sample Test Project using TITAN [message #1758020]
||Wed, 22 March 2017 18:55
| Ramakrishna Kommineni
Registered: March 2017
I am planning to have the below Test systems with TITAN installed:
Windows-System1: TItan Installed on Cygwin Acting like DNS Client
Ubuntu-System2: Titan Installed Acting like DNS Server
Test Scenario is attached.
For this I am planning to use the following:
Protocol Module: DNS
Test Port(Transport Layer): TCP
I have created the attached Abstract Test suite DNSClient.ttcn & DNSClient.cfg.
In the same folder I have copied the below files:
Executed the below command to generate Make file:
$ ttcn3_makefilegen -gs DNSClient.ttcn TCPasp_PT.cc DNSClient.cfg
Generating Makefile skeleton...
Makefile skeleton was generated.
When I run command "make dep", I am getting below error:
$ make dep
/home/eirmnp/software/titan/bin/compiler -L DNSClient.ttcn - DNSClient.ttcn
Notify: Parsing TTCN-3 module `DNSClient.ttcn'...
DNSClient.ttcn:17.9-12: error: at or before token `type': syntax error, unexpected TypeDefKeyword, expecting Identifier
DNSClient.ttcn:30.26-29: error: at or before token `runs': syntax error, unexpected RunsKeyword, expecting '('
Notify: Errors found in the input module. Code will not be generated.
Creating dependency file for TCPasp_PT.cc
In file included from TCPasp_PT.cc:34:0:
TCPasp_PT.hh:33:27: fatal error: TCPasp_Types.hh: No such file or directory
make: *** No rule to make target 'compile', needed by 'DNSClient.cc'. Stop.
But when I check the link: https://github.com/eclipse/titan.TestPorts.TCPasp/tree/master/src
I am not able to find the TCPasp_Types.hh.
Could you please help me how to get this file? & Is the procedure followed by me to create a test case is correct?
I have attached all files used for this activity.
Thanks in advance.
[Updated on: Wed, 22 March 2017 18:57]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02672 seconds