[Kmymoney-devel] Building of tests fails

Marko Käning mk-lists at email.de
Mon Nov 28 17:51:34 UTC 2011


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-tests-patch.diff
Type: application/octet-stream
Size: 1025 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20111128/e268e986/attachment.obj>
-------------- next part --------------


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


More information about the KMyMoney-devel mailing list