Hi Thomas, On Nov 28, 2011, at 8:59 AM, Thomas Baumgart wrote: > You need to add > > ${GMP_LIBRARIES} > ${LIBALKIMIA_LIBRARY} > > to the target TARGET_LINK_LIBRARIES spec of the said test apps in > CMakeLists.txt. In case they need to be patched, please send them along and > we'll take care of it.
I did so. Attached you'll find the patch.
fix-tests-patch.diff
Description: Binary data
Now all tests get built fine. :-) Nevertheless there's an error in one of the tests: --- $ make test . . . 96% tests passed, 1 tests failed out of 27 Total Test time (real) = 7.58 sec The following tests FAILED: 18 - kmymoney-mymoneydatabasemgrtest (OTHER_FAULT) Errors while running CTest make: *** [test] Error 8 --- In the log one finds this: --- PASS : MyMoneyDatabaseMgrTest::testModifyAccount() PASS : MyMoneyDatabaseMgrTest::testModifyInstitution() PASS : MyMoneyDatabaseMgrTest::testReparentAccount() mymoneydatabasemgrtest(7150,0x7fff705b7cc0) malloc: *** error for object 0x103221d80: pointer being freed was not alloc ated *** set a breakpoint in malloc_error_break to debug <end of output> Test time = 1.44 sec ---------------------------------------------------------- Test Failed. "kmymoney-mymoneydatabasemgrtest" end time: Nov 28 18:46 CET "kmymoney-mymoneydatabasemgrtest" time elapsed: 00:00:01 ---------------------------------------------------------- 19/27 Testing: kmymoney-mymoneymaptest 19/27 Test: kmymoney-mymoneymaptest --- Greets, Marko
_______________________________________________ KMyMoney-devel mailing list KMyMoney-devel@kde.org https://mail.kde.org/mailman/listinfo/kmymoney-devel