D29361: KCrash: remove debug output which breaks unittests from using ~/.qttest/config for categorized logging

David Faure noreply at phabricator.kde.org
Sat May 2 13:34:03 BST 2020


dfaure created this revision.
dfaure added reviewers: kossebau, davidedmundson.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
dfaure requested review of this revision.

REVISION SUMMARY
  kdebugsettings --test-mode allows to tune the categorized logging for unittests,
  but if a very early qCDebug happens, QLoggingRegistry::initializeRules is called
  before the unittest gets a chance to call QStandardPaths::setTestModeEnabled(true).
  
  This is obviously a bit fragile overall; should all unittests do that in a constructor function? A bit ugly...

REPOSITORY
  R285 KCrash

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29361

AFFECTED FILES
  src/kcrash.cpp

To: dfaure, kossebau, davidedmundson
Cc: kde-frameworks-devel, LeGast00n, cblack, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200502/bf9dbec0/attachment.html>


More information about the Kde-frameworks-devel mailing list