|
Re: Result after running Executable [message #1809907 is a reply to message #1809858] |
Thu, 25 July 2019 13:57 |
|
Hi Matthew,
your test.exe was compiled in single mode, thus it could run simple. But its output is strange. A typical single mode titan executable produces an output like this:
$ ./TR_2019_07_ttcn2cpp.exe
TTCN-3 Test Executor (single mode), version CRL 113 200/6 R6A
Execution of control part in module IntX started.
Test case tc_intx_unsigned started.
Test case tc_intx_unsigned finished. Verdict: pass
Test case tc_intx_signed started.
Test case tc_intx_signed finished. Verdict: pass
Test case tc_intx_2scompl started.
Test case tc_intx_2scompl finished. Verdict: pass
Test case tc_intx_record_of started.
Test case tc_intx_record_of finished. Verdict: pass
Test case tc_intx_record started.
Warning: f_dec_intx_rec_part(): Data remained at the end of the stream after successful decoding: 'A0'O
Test case tc_intx_record finished. Verdict: pass
Test case tc_intx_decode_error started.
Test case tc_intx_decode_error finished. Verdict: pass
Execution of control part in module IntX finished.
Verdict statistics: 0 none (0.00 %), 6 pass (100.00 %), 0 inconc (0.00 %), 0 fail (0.00 %), 0 error (0.00 %).
Test execution summary: 6 test cases were executed. Overall verdict: pass
Your demo.exe was compiled in parallel mode. It can be run this way (see UserGuide.pdf/Chapter 4.4):
ttcn3_start demo your.cfg
(If you had installed "expect")
If you don't have expect, the more complicated method should be folllowed according to 4.4
Best regards
Jeno Balasko, Titan Team, Ericsson
|
|
|
Re: Result after running Executable [message #1809922 is a reply to message #1809907] |
Thu, 25 July 2019 17:19 |
Matthew Swanson Messages: 3 Registered: July 2019 |
Junior Member |
|
|
Hi Jeno,
Thank you for answering!
Sorry I just wanted to clarify something. So what you are saying is that I compiled my Test.exe in single mode by mistake? My make file is set up to compile it with "ttcn3-parallel" so that confuses me. If it is accidentally being compiled in single mode how should I get it to compile in parallel.
Also I'm not actually having any trouble running the demo.exe I was using it as an example of a what I thought I should expect. The issue is that for some reason my test.exe does not contain any test cases or control parts or anything. All it does is print out "test start". I tried running my colleagues compiled test.exe and that actually outputs what I would expect and it also contains the test cases and control parts. I am pretty sure we are compiling them in the same way.
Also you mentioned that the output was strange, and I agree I've never seen this sort of output before. Do you know why it is outputting that?
[Updated on: Thu, 25 July 2019 17:24] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03492 seconds