Running Tests

Kevin Funk kfunk at kde.org
Wed Apr 15 07:54:12 UTC 2015


On Tuesday, April 14, 2015 20:58:48 Matthew Suozzo wrote:
> Hello,
> 
> I'm a student working on KDevelop under the supervision of Alex Dymo. I
> have been working on the kdev-clang plugin in KDevelop 5 on his suggestion
> and have been having trouble running tests.
> 
> PROBLEM (I think):
> 
> Test executables (QTests) do not load QT_PLUGIN_PATH
> 
> INFO:
> 
> I believe I've isolated the problem to QTest not loading QT_PLUGIN_PATH (or
> any other bash environment variables) and consequently failing to locate
> and load plugins. As one might imagine, this causes many tests to fail.
> Would anyone happen to know of a misconfiguration that could cause this?
> 
> To clarify, KDevelop itself works fine. The environment variables correctly
> appear in QProcessEnvironment::systemEnvironment when in the actual
> KDevelop IDE but not in the kdev-clang or kdevplatform tests.

That sounds odd. If KDevelop works fine, then the tests should find plugins just 
fine, too.

Please double-check to have everything from:
  https://community.kde.org/Frameworks/Building#Runtime_setup

If it still doesn't work, try to post some debug output from a test run.

Greets,
Kevin
 
> ENVIRONMENT:
> 
> kdevelop, kdevplatform, and kdev-clang at master
> Kubuntu 14.10 (plasma 5) 64-bit
> Image run in VirtualBox
> 
> 
> Any help would be greatly appreciated. I'm unfamiliar with this process and
> don't know what information I should provide to help this process along.
> Any assistance in framing or clarifying my problem would also be
> appreciated.
> 
> --Matthew Suozzo

-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150415/134ee678/attachment.sig>


More information about the KDevelop-devel mailing list