[Libreoffice-bugs] [Bug 39621] New: [EasyHack] Make unit tests easier to debug
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jul 28 07:23:12 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=39621
Summary: [EasyHack] Make unit tests easier to debug
Product: LibreOffice
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Libreoffice
AssignedTo: libreoffice-bugs at lists.freedesktop.org
ReportedBy: bjoern.michaelsen at canonical.com
=== Make unit tests easier to debug ===
'''Background:''' Our in-code unit tests are wonderful tools for catching bugs,
but sometimes they fail on different platforms and for different users (this
helps us catch bugs). Unfortunately, people are unaware that they need to get a
stack trace by doing:
build -- debugcppunit=t
So - we should add a wrapper script around all cppunit tests, that tells people
about this magic option if the test fails. See solenv/inc/settings.mk's
CPPUNITTESTER= assignment, and GDBCPPUNITTRACE pieces. We should probably use
something similar to solenv/bin/build.pl's warning on failure (including
sourcing the environment), to make it easy to cut/paste the right lines.
'''Skills:''' perl, dmake
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Libreoffice-bugs
mailing list