5 of 6 tests fail. Reproducible: Always Steps to Reproduce: 1. cmake . -DKDE4_BUILD_TESTS=true 2. make -j5 3. ctest Actual Results: Start 1: TestGraphStructure 1/6 Test #1: TestGraphStructure ...............***Exception: Other 1.08 sec Start 2: TestDataStructure 2/6 Test #2: TestDataStructure ................***Exception: SegFault 1.09 sec Start 3: TestDynamicProperties 3/6 Test #3: TestDynamicProperties ............***Failed 1.09 sec Start 4: TestIncludeManager 4/6 Test #4: TestIncludeManager ............... Passed 0.06 sec Start 5: TestLoadSave 5/6 Test #5: TestLoadSave .....................***Exception: SegFault 1.09 sec Start 6: TestPlugins 6/6 Test #6: TestPlugins ......................***Failed 1.08 sec Expected Results: All tests pass.
It seems that the tests do not find Rocs' data structure plugins. Please set the KDEDIRS variable to the target install directory for Rocs and run kbuildsycoca4. Then test again. Kbuildsycoca4 must contain at least the following lines (otherwise the mandatory plugins are not found): kbuildsycoca4(3177) KBuildSycoca::createEntry: modified: "rocs_GraphStructure.desktop" in services kbuildsycoca4(3177) KBuildSycoca::createEntry: modified: "rocs_ListStructure.desktop" in services You can set the KDEDIR and run kbuildsycoca4 with the following script: ---- <snip> ---- #!/bin/bash export KDEDIRS=$KDEDIRS:<path-to-rocs-install>l kbuildsycoca4 ---- <snap> ---- Greetings, Andreas
Created attachment 71105 [details] strace output from ctest (In reply to comment #1) > It seems that the tests do not find Rocs' data structure plugins. I agree, however strace (output attached) seems to indicate that the plugins are indeed found. > Please set the KDEDIRS variable to the target install directory for Rocs and > run kbuildsycoca4. Then test again. Kbuildsycoca4 must contain at least the > following lines (otherwise the mandatory plugins are not found): > > kbuildsycoca4(3177) KBuildSycoca::createEntry: modified: > "rocs_GraphStructure.desktop" in services > kbuildsycoca4(3177) KBuildSycoca::createEntry: modified: > "rocs_ListStructure.desktop" in services strace confirms that these files are being read, however I do not receive these messages.
That is an indicator that the corresponding desktop files are still not found. You actually need to get rocs_GraphStructure.desktop and others found in kbuildsycoca4 output or in strace output. Please try the following 1. make 2. make install 3. export KDEDIRS=$KDEDIRS:<your path to install directory> 4. kbuildsycoca4 For step 3 ensure that that path contains the subdirectory "share/kde4/services/" containing the desktop files. Greetings, Andreas PS: btw. I assume that you are using GIT-master.
That works great, thank-you! Is it possible to make this this setup automatic, so ctest 'just works'?
Not sure if it will be possible for KDE SC 4.9, but planned for 4.10. Greetings, Andreas
Congratulations for the bug number!