<div dir="ltr"><div><div><div><div><div><div><div><div>> We generate "conv.h" and put it into the source directory?<br><br></div>Actually, no. We aren't generate the "conv.h".<br></div>It's written manually and contains the conv_test_vector<br></div>structure definition and the do_check() function definition.<br><br></div>One was introduced by: <a href="https://gerrit.osmocom.org/#/c/1627/">https://gerrit.osmocom.org/#/c/1627/</a><br></div>so now the same test logic is used in two different tests<br></div>(both conv and conv_gsm0503) without code duplication.<br><br></div>Don't you confuse it with the "gsm0503.h", which is exactly<br></div>generated by the "utils/conv_gen.py"?<br><div><span class="gmail-gt-baf-word-clickable"></span><div><div><div><div><div><div><div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>With best regards,<br></div><div>Vadim Yanitskiy.<br></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-05-01 2:56 GMT+07:00 Holger Freyther <span dir="ltr"><<a href="mailto:holger@freyther.de" target="_blank">holger@freyther.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><br>
> On 30. Apr 2017, at 10:02, Vadim Yanitskiy <<a href="mailto:axilirator@gmail.com">axilirator@gmail.com</a>> wrote:<br>
><br>
> It seems, I already found one solution. You're right, "build dir != src dir"<br>
> was the problem, so I added this:<br>
><br>
> conv_conv_gsm0503_test_<wbr>CPPFLAGS = \<br>
>     $(AM_CPPFLAGS) \<br>
>     -I$(top_srcdir)/tests/conv<br>
><br>
> And now everything is fine!<br>
<br>
</span>We generate "conv.h" and put it into the source directory? From 10.000 miles aways it sounds a bit odd (at least for checkout from git, make dist would be a different topic).<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
holger</font></span></blockquote></div><br></div></div></div></div></div></div></div></div></div></div>