Added a memory test and a folder lister
- From: Philip Van Hoof <spam pvanhoof be>
- To: tinymail-devel-list gnome org
- Subject: Added a memory test and a folder lister
- Date: Mon, 21 Aug 2006 17:51:50 +0200
I added a memory test and a folder lister in the tests directory. They
should work out of the box and will use the IMAP account configured at
Use G_SLICE=always-malloc and G_DEBUG=gc-friendly for the memory test.
More such memory tests will be added (both new make targets and in the
same binary). Feel free to add some yourself here.
You should see a nice peek that goes "all" the way down if you use the
massif tool of valgrind on this test.
I will soon add some more reporting. Like calculating-for-you the size
of the header struct, and in the output of the tool explaining how much
of each type of allocation you should see.
The account-store in tests/shared doesn't yet use a temporary cache_dir.
This will soon be changed -- and sooner if you do it yourself, Dirk :-)
The folder-lister is a simple test that will print all folders on
In the "tests" directory also demos will be added and allowed. At this
moment are the tests compiled if you --enable-unit-tests. I might add
different configure switches for it later (because you don't always need
the GUnit dependency for the tests).
Philip Van Hoof, software developer at x-tend
home: me at pvanhoof dot be
gnome: pvanhoof at gnome dot org
work: vanhoof at x-tend dot be
http://www.pvanhoof.be - http://www.x-tend.be
] [Thread Prev