[KDevelop] 7e5dd1f: Revert "make CPP unit tests work again"

Andreas Pakulat apaku at gmx.de
Thu May 27 19:12:31 UTC 2010


On 27.05.10 14:03:04, Milian Wolff wrote:
> commit 7e5dd1fd0f0d50b4a3ca235cb791c4eb465be599
> Author: Milian Wolff <mail at milianw.de>
> Date:   Thu May 27 20:06:31 2010 +0200
> 
>     Revert "make CPP unit tests work again"
>     
>     lead to random segfaults when parsing big projects,
>     maybe related to multithreading.

I don't see how making statics into static functions could cause this.
So maybe its the changes to the environment manager? Maybe the existing
static functions where re-entrant but the singleton is not anymore?

>     We apparently need a better way to fix our unit tests...

So, what options do we have? I'd really like to keep the changes in the
language library, in particular the non-existing split into two binaries
is very nice for debugging and asking users to generate valgrind logs.
Of course if there's no suitable way to do that we'll have to revert
that and live with the two binaries.

Apologies for not running the unit-tests before merging the branch, I
didn't think they'd break so badly if the actual app still works. Lesson
learned :)

Andreas

-- 
You will be traveling and coming into a fortune.




More information about the KDevelop-devel mailing list