<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="m_5830943973678559804gmail-"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div style="color:rgb(0,0,0);font-family:garamond,'new york',times,serif;font-size:16px;background-color:rgb(255,255,255)"><div id="m_5830943973678559804gmail-m_-5765033722591276788gmail-m_8849950624476238808yui_3_16_0_ym19_1_1477346198248_20479" dir="ltr">The change above have the effect of inhibiting the package strip even if ptest is not enabled at all. I think this have to be something specific to ptest.<br id="m_5830943973678559804gmail-m_-5765033722591276788gmail-m_8849950624476238808yui_3_16_0_ym19_1_1477346198248_20611">You may consider using INSANE_SKIP_${PN}-ptest [1] and add unstripped binaries needed for ptest in {PN}-ptest (along with the original - stripped - ones)</div></div></div></blockquote><div> </div></span><div><font face="arial, helvetica, sans-serif">I didn't get how unstripped and stripped binaries can co-exist in a single package called ${PN}-test.</font></div><div><font face="arial, helvetica, sans-serif">The split_and_strip_files function keeps files containing debug symbols in a separate directory</font></div><div><font face="arial, helvetica, sans-serif">( like ../.debug/..). Do you mean to say include files containing debug symbols (i,e </font><span style="font-family:arial,helvetica,sans-serif">debugdirectory) in ${PN}-test package and set INSANE_SKIP_${PN}-ptest += "</span><span style="font-family:arial,helvetica,sans-serif;color:rgb(51,51,51);line-height:24px"><code class="m_5830943973678559804gmail-m_-5765033722591276788gmail-filename">debug-files</code></span><span style="font-family:arial,helvetica,sans-serif">"</span></div><div><font face="arial, helvetica, sans-serif">to prevent packaging .debug directories in non -dbg package.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">This doesn't help, </font><span style="font-family:arial,helvetica,sans-serif">as run-coredump-unwind requires unstripped "crasher" program to be present at target, </span><span style="font-family:arial,helvetica,sans-serif">to get procedure names using libuwind APIs.</span></div><span class="m_5830943973678559804gmail-"><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div style="color:rgb(0,0,0);font-family:garamond,'new york',times,serif;font-size:16px;background-color:rgb(255,255,255)"><div id="m_5830943973678559804gmail-m_-5765033722591276788gmail-m_8849950624476238808yui_3_16_0_ym19_1_1477346198248_20479" dir="ltr">or simply consider the appropriate tests as XFAIL for openembedded.<br id="m_5830943973678559804gmail-m_-5765033722591276788gmail-m_8849950624476238808yui_3_16_0_ym19_1_1477346198248_20613"></div></div></div></blockquote></span><div>Yes, for such test (e.g: run-coredump-unwind) XFAIL is fine, if INHIBIT_PACKAGE_STRIP = "1" is</div><div>not used.</div><div><br></div></div></div></div></blockquote><div><br></div><div>However, I have sent a v2 patch, marking test cases which depend on unstripped binaries as expected failures and removed INHIBIT_PACKAGE_STRIP = "1" line from the earlier patch.</div><div>Made sure <span style="font-size:12.8000001907349px">run-check-namespace test passes with libunwind library containing</span></div><div><span style="font-size:12.8000001907349px">debug symbols.</span></div><div><br></div><div>Regards,</div><div>Jagadeesh</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div style="color:rgb(0,0,0);font-family:garamond,'new york',times,serif;font-size:16px;background-color:rgb(255,255,255)"><div id="m_5830943973678559804gmail-m_-5765033722591276788gmail-m_8849950624476238808yui_3_16_0_ym19_1_1477346198248_20728"><br></div></div></div></blockquote></div><br></div></div>
</blockquote></div><br></div></div>