hi > >> I am not very knowledgeable of ctest. Is there some way to turn on >> valgrind testing automatically? > > It looks like it's pretty straightforward: > > http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Dynamic_Analysis
i played with it a little, the "straigforwared way" problem is, that if you not activate "--trace-children" you only trace the bash process and if you activate "--trace-children" then you trace also grep and all the other tools. to overcome this problem i patched scripts/function to prepend every bacula-* start with valgrind if there is the VALGRIND=1 env set. this leads to copying the tests and set the env... also i think -O2 is not the best to go with valgrind. needs something like -O1 or better -O0 compile optimization. - Thomas ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel