<div dir="auto">Harald/Osmocom team gave TTCN3 real meaning and public attention. Before you came up, TTCN3 was a prisoner of worthless, dry academic papers.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 13 Feb 2021, 18:08 Harald Welte, <<a href="mailto:laforge@osmocom.org" target="_blank" rel="noreferrer">laforge@osmocom.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think this might be of interest to some of the other developers.<br>
<br>
Soemtimes we have a problem that the test suite itself is not 100% stable,<br>
and it's not easy to reproduce a test that fails sporadically every Nth<br>
time.<br>
<br>
As the "execute" statement in the "control" section actually returns a verdict<br>
type, you can use the following construct in a control section:<br>
<br>
control {<br>
       for (var integer i := 0; i < 10000; i := i+1) {<br>
               var verdicttype v;<br>
               v := execute( TC_paging_ps_ptp_lac() );<br>
               if (v != pass) {<br>
                       break;<br>
               }<br>
       }<br>
}<br>
<br>
This way you keep running the test suite until the given test fails for<br>
the first time.  Then go do something else for some hour(s) and by the<br>
time you get back, hopefully you will have reproduced the problem.<br>
<br>
Regards,<br>
        Harald<br>
-- <br>
- Harald Welte <<a href="mailto:laforge@osmocom.org" rel="noreferrer noreferrer" target="_blank">laforge@osmocom.org</a>>            <a href="http://laforge.gnumonks.org/" rel="noreferrer noreferrer noreferrer" target="_blank">http://laforge.gnumonks.org/</a><br>
============================================================================<br>
"Privacy in residential applications is a desirable marketing option."<br>
                                                  (ETSI EN 300 175-7 Ch. A6)<br>
</blockquote></div>