summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMemCheckHandler.cxx
Commit message (Collapse)AuthorAgeFilesLines
* CTest: improve memory checker type detectionRolf Eike Beer2012-10-041-69/+89
| | | | | | | If the checker was explicitely set with a "TypeCommand" variable (e.g. ValgrindCommand) then we now just believe that this is valgrind, even if nothing in the path matches "valgrind". Only when "MemoryCheckCommand" was used we still scan the path to find out what checker we have.
* CTest: fix usage of memory checker with spaces in pathRolf Eike Beer2012-10-011-9/+6
| | | | | | | | | The filename was escaped in cmCTestMemCheckHandler::InitializeMemoryChecking() and again before it was written to output in cmCTestRunTest::ComputeArguments(). Once someone uses e.g. a valgrind path with spaces this leads to double escaping making the memory checker fail completely because of the invalid path.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-20/+20
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* CTest: Escape MemCheck test output for XML (#13124)Brad King2012-04-261-1/+1
| | | | | Any output that goes through CleanTestOutput must be printed through cmXMLSafe.
* CTest: Match valgrind errors with "points to" (#12922)Alexandru Ciobanu2012-03-091-1/+1
| | | | | Teach CTest to match valgrind errors of the format "Syscall param ... points to uninitialised byte(s)".
* CTest: Fixed valgrind output parsing (#12260)Johannes Stallkamp2011-09-051-12/+12
| | | | | | Previous code was missing some matches in the output. This commit fixes the regular expressions used for output matching to detect numbers reported with commas in them, too.
* We will actually compress memcheck output if the server supports it.Zach Mullen2011-05-261-1/+13
| | | | | This change won't be functional until the next release of CDash due to the version comparison.
* CTest: Avoid use of old EscapeSpaces methodBrad King2010-08-181-34/+34
| | | | | | | | Refactor how cmCTestMemCheckHandler computes the memory tester command line options to avoid encoding them in a single string just to parse them again. The EscapeSpaces uses backslahes to escape spaces on UNIX platforms, so replace other calls to it in CTest that are used to create human-readable strings with simple double-quoting.
* fix number of callers to work with newer versions of valgrindBill Hoffman2009-11-111-1/+1
|
* Fix bug#9767 catch missing leak.Bill Hoffman2009-10-291-2/+10
|
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* MemCheck should now work again in ctestZach Mullen2009-08-281-24/+2
|
* Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵Zach Mullen2009-08-281-1/+1
| | | | coming soon...
* BUG: fix for bug #8153 add purify suppression file and fix output to not be ↵Bill Hoffman2009-05-271-0/+17
| | | | one big line
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-051-7/+8
| | | | | | | This class provides easy syntax to efficiently insert blocks of data into XML documents with proper escapes. It replaces the old cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which allocated extra memory instead of directly streaming the data.
* ENH: Put test labels in MemCheck resultsBrad King2009-02-021-26/+4
| | | | | | | This refactors generation of <Test> element headers and footers in cmCTestTestHandler and re-uses it in cmCTestMemCheckHandler. The change removes duplicate code and enables the new <Labels> element for MemCheck results.
* ENH: Teach ctest_* to create appending XML filesBrad King2009-01-121-1/+1
| | | | | This adds an APPEND option to the ctest_* commands which tells them to put the Append="true" attribute in the Site element of their XML file.
* ENH: enhancements for cdash, include system information and better time entriesBill Hoffman2008-01-301-1/+4
|
* ENH: fix output and valgrind truncation issueBill Hoffman2007-08-101-11/+15
|
* ENH: add another valgrind error typeBill Hoffman2007-08-031-0/+5
|
* STYLE: fix some kwstyle errorsBill Hoffman2007-07-271-5/+10
|
* ENH: add test output to valgrind output and truncate output for valgrindBill Hoffman2007-07-261-3/+42
|
* ENH: add support for bounds checkerBill Hoffman2007-07-241-34/+291
|
* BUG: Replace some errors with warningsAndy Cedilnik2006-10-131-1/+1
|
* ENH: add support for win64 for visual studio 2005 ide and nmake, also fix ↵Bill Hoffman2006-03-301-3/+3
| | | | warnings produced by building for win64
* ENH: Several cleanups and make sure things get propagated where they should. ↵Andy Cedilnik2006-03-291-3/+3
| | | | Also, allow to load CTest custom files to the actual ctest -S script
* BUG: Couple of memcheck bugs: Log files should really be different for test ↵Andy Cedilnik2006-03-161-0/+4
| | | | and memcheck. Also make sure to not trunkate the output of the test until the valgrind or any other checking is pefrormed.
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-109/+117
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-091-72/+148
|
* ENH: Add superclass for all commands and handlers. Improve handlers to have ↵Andy Cedilnik2005-06-171-0/+17
| | | | initialization code, and start initializing ctest when start is invoked
* ENH: Pass in memcheck command options and suppresions, and change skin to toolAndy Cedilnik2005-06-151-1/+1
|
* COMP: Remove ERROR reserved word or something and replace with ERROR_MESSAGEAndy Cedilnik2005-05-311-9/+9
|
* ENH: Add support for writing output file. While doing that, redesign the way ↵Andy Cedilnik2005-05-311-25/+25
| | | | ctest does output. There may still be problems with commands failing, but that should be fixed by applying the similar concept to whole CMake
* ENH: CleanupsAndy Cedilnik2005-05-031-14/+14
|
* ENH: Cleanups and add CTEST_START commandAndy Cedilnik2005-02-171-1/+1
|
* ENH: Several cleanups and improvementsAndy Cedilnik2005-01-271-0/+548