<div dir="ltr">Hey,<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 4, 2014 at 9:10 AM, julien2412 <span dir="ltr"><<a href="mailto:serval2412@yahoo.fr" target="_blank">serval2412@yahoo.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I'm trying to run gdb on cppunit failing by following this:<br>
to rerun just this failed test without all others, run:<br>
<br>
    make JunitTest_chart2_unoapi<br>
<br>
cd into the module dir to run the tests faster<br>
Or to do interactive debugging (non-Windows), run two shells with:<br>
<br>
    make debugrun<br>
    make gb_JunitTest_DEBUGRUN=T JunitTest_chart2_unoapi<br>
<br>
So I open 2 console shells.<br>
On first one, I run "make debugrun"<br>
On second one, I run "make gb_JunitTest_DEBUGRUN=T JunitTest_chart2_unoapi"<br></blockquote><div><br></div><div>I suppose that you want to debug the failing RegressionCurve test. That one has just been disabled again with ae1d664008edeb509829265e92ba778d00858d8a and is tracked as fdo#66617. It requires some rework in the chart2 UNO API to fix this regression. <br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
But first one just always displays this:<br>
Reading symbols from<br>
/home/julien/compile-libreoffice/libreoffice/instdir/program/soffice.bin...done.<br>
(gdb)<br>
and that's all.<br>
<br>
It must be obvious but I miss the point.<br>
<a href="https://wiki.documentfoundation.org/Development/How_to_debug" target="_blank">https://wiki.documentfoundation.org/Development/How_to_debug</a> seems outdated<br>
since it doesn't talk about this way. Moreover, I tried 'export<br>
CPPUNITTRACE="gdb --args"' and it does nothing when running then 'make<br>
JunitTest_chart2_unoapi' for example.<br></blockquote><div><br></div><div>This is not a cppunit test. As the output after the test already tells you it is a Junit test, so this can't work.<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<br>
Any idea?<br>
<br>
Julien<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://nabble.documentfoundation.org/Question-about-debugging-cppunit-tests-tp4107499.html" target="_blank">http://nabble.documentfoundation.org/Question-about-debugging-cppunit-tests-tp4107499.html</a><br>

Sent from the Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div><br></div></div>