D14365: Fix GDB/LLDB unit tests to use KSharedConfig instead of separate KConfig

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Wed Jul 25 13:14:25 BST 2018


kossebau added a comment.


  Should help with running tests on CI where some config dara set via the separate KConfig object  seems to not arrive in the KSharedConfig instance in time, making tests fail due to missing data.
  
  Example: `GdbTest::testEnvironmentSet()` 
  The config data with the test environment profile settings VariableA & VariableB is stored via the config object as returned from TestLaunchConfiguration.
  The internal logic to write the environment data to the gdb setup commands uses KSharedConfig::openConfig() to fetch all enviroment profile data (`DebugSession::configInferior(...)`).
  For that to work though, the data would have needed to be sync'ed in time.

REPOSITORY
  R32 KDevelop

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

To: kossebau, #kdevelop
Cc: kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180725/6d3ded4e/attachment.html>


More information about the KDevelop-devel mailing list