summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* cmParseDelphiCoverage: Remove superfluous semicolons after methodsChristoph GrĂ¼ninger2014-12-231-2/+2
|
* Merge topic 'base64-constref'Brad King2014-12-231-1/+1
|\ | | | | | | | | 82fbf490 cmCTestTestHandler: take reference to temporary string instead of doing a copy
| * cmCTestTestHandler: take reference to temporary string instead of doing a copyRolf Eike Beer2014-12-221-1/+1
| | | | | | | | This will increase the lifetime of the temporary until the end of the function.
* | Merge topic 'cleanup-ExpandListArgument-usage'Brad King2014-12-231-45/+6
|\ \ | | | | | | | | | | | | | | | | | | e2a489c7 Remove some temporary vectors for ExpandListArgument. 0f99feec cmGeneratorExpression: Remove unused header. 722f1a71 CTest: Expand a string directly into a container.
| * | Remove some temporary vectors for ExpandListArgument.Stephen Kelly2014-12-181-45/+6
| |/ | | | | | | Expand directly into the target when possible.
* | ctest_coverage: Fix error message to report the file nameVladislav Vinogradov2014-12-221-1/+1
|/ | | | | Print file name instead of line content for "Looks like there are more lines in the file:" error message.
* Merge topic 'ctest_memcheck-no-empty-BC-output'Brad King2014-12-171-0/+4
|\ | | | | | | | | 1c812979 ctest_memcheck: Do not open empty BC output file name
| * ctest_memcheck: Do not open empty BC output file nameBrad King2014-12-161-0/+4
| | | | | | | | | | | | In cmCTestMemCheckHandler::PostProcessBoundsCheckerTest return early if the output file name is empty. We already do this in the similar cmCTestMemCheckHandler::AppendMemTesterOutput method.
* | CTest: Remove code to fix scanbuild errorsJoseph Snyder2014-12-152-4/+0
|/ | | | | | Remove code from cmParseBlanketJSCoverage.cxx and cmParseDelphiCoverage.cxx which caused scanbuild errors about not reading the value that was stored.
* ctest: count errors from scripts properlyBen Boeckel2014-12-101-1/+1
| | | | | | | In the unlikely event that someone has a billion+ scripts (or some codepath returns negative numbers), we could overflow and make a pile of errors a non-error. This change also allows us to use flags for the error in the future rather than just "something went wrong".
* ctest --launch: write to cout and cerr in binaryBen Boeckel2014-12-051-0/+13
| | | | | | Because ctest reads in binary but writes in text mode, Windows' newline transformation can be applied multiple times causing '\n' in the source application to be written out as '\r\r\n' instead.
* Remove some unneeded c_str calls.Stephen Kelly2014-11-236-16/+16
|
* CTest: Add Javascript coverage parserJoseph Snyder2014-10-294-0/+257
| | | | | | | Add a coverage parser for the Blanket.js library using the JSON output of the mocha.js test runner. Add a test for the new parser.
* Merge topic 'remove-borland-build'Brad King2014-10-211-3/+0
|\ | | | | | | | | 2db55ffa Remove borland workarounds.
| * Remove borland workarounds.Stephen Kelly2014-10-151-3/+0
| | | | | | | | | | CMake 3.0 is the last release to require to be able to build with Borland.
* | Merge topic 'remove-redundant-c_str'Brad King2014-10-2116-99/+99
|\ \ | | | | | | | | | | | | cc1139cc strings: Remove redundant calls to std::string::c_str()
| * | strings: Remove redundant calls to std::string::c_str()Nils Gladitz2014-10-1516-99/+99
| |/ | | | | | | | | Replacements were detected and performed by the clang tool remove-cstr-calls on a linux build.
* | Merge topic 'ctest-delphi-coverage'Brad King2014-10-214-0/+338
|\ \ | |/ |/| | | | | 5c31c3e4 CTest: Add code coverage parser for Pascal/Delphi
| * CTest: Add code coverage parser for Pascal/DelphiJoseph Snyder2014-10-214-0/+338
| | | | | | | | | | | | | | | | Add a class to parse the HTML output of the Delphi-code-coverage tool http://code.google.com/p/delphi-code-coverage/ Add a test for the new parser.
* | Merge topic 'ctest-memcheck-sanitizers'Brad King2014-10-082-18/+65
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0e75a72 Help: Add notes for topic 'ctest-memcheck-sanitizers' 7345a1f7 tests: Add a test for ctest_memcheck MemorySanitizer 0c6330da ctest_memcheck: Add support for MemorySanitizer msan 9ba8bf12 tests: add a test for ctest_memcheck UndefinedBehaviorSanitizer 816c100a ctest_memcheck: Add support for UndefinedBehaviorSanitizer ubsan b67ef537 ctest_memcheck: Order sanitizer type code consistently f48a2968 Tests: Organize CTestTestMemcheck inner test code
| * | ctest_memcheck: Add support for MemorySanitizer msanBill Hoffman2014-10-072-0/+23
| | |
| * | ctest_memcheck: Add support for UndefinedBehaviorSanitizer ubsanBen Boeckel2014-10-072-2/+24
| | | | | | | | | | | | | | | UBSan instruments a build and logs messages on any undefined behavior instances.
| * | ctest_memcheck: Order sanitizer type code consistentlyBrad King2014-10-072-24/+26
| | | | | | | | | | | | Use alphabetic order everywhere we enumerate the sanitizer types.
* | | Merge topic 'ctest-memcheck-sanitizers'Brad King2014-10-073-6/+14
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | f25e431d tests: set sanitizer options properly f0661bf3 tests: fix copy/paste from tsan -> asan comments ca9cc25c ctest: add support for additional sanitizer options 0b9ffffc ctest: update documentation for CTEST_MEMORYCHECK_TYPE
| * | ctest: add support for additional sanitizer optionsBen Boeckel2014-10-032-5/+13
| | | | | | | | | | | | | | | Sanitizers receive options through their environment variable; support user-specified options here.
| * | ctest: update documentation for CTEST_MEMORYCHECK_TYPEBen Boeckel2014-10-031-1/+1
| | | | | | | | | | | | | | | | | | The AddressSanitizer value was not documented. Also fix some typos.
* | | Merge topic 'encoding-fstream'Brad King2014-10-073-10/+11
|\ \ \ | | | | | | | | | | | | | | | | 42e39bb3 Fix a few more places to use cmsys::[io]fstream instead of std::fstream.
| * | | Fix a few more places to use cmsys::[io]fstream instead of std::fstream.Clinton Stimpson2014-10-043-10/+11
| |/ /
* | | cmParseCoberturaCoverage: Initialize CurFileName to empty stringJonathan Beezley2014-10-031-0/+1
|/ / | | | | | | | | | | | | | | When the file is not found in $CMAKE_SOURCE_DIR/<file path>, the CurFileName pointer remained set to the previous file. This caused the new file's coverage data to populate the into the wrong object giving incorrect results and occasionally resulting in a seg fault.
* | CTest: Use -A option to pass generator platform selectionBrad King2014-09-152-2/+2
|/ | | | This is less verbose than defining CMAKE_GENERATOR_PLATFORM.
* CTest: Add options to set generator platformBrad King2014-09-053-0/+23
| | | | | | | | | | The ctest_configure command already reads the CTEST_CMAKE_GENERATOR variable to get the value for the cmake -G option. Read new variable CTEST_CMAKE_GENERATOR_PLATFORM to pass on as CMAKE_GENERATOR_PLATFORM. The "ctest --build-and-test" mode already has "--build-generator" to specify the -G option to CMake. Add a "--build-generator-platform" option to specify a value to pass on as CMAKE_GENERATOR_PLATFORM.
* Merge topic 'fix_mumps_file_parser'Brad King2014-08-181-3/+5
|\ | | | | | | | | 6d66e396 CTEST: Fix MUMPS file parser and update test
| * CTEST: Fix MUMPS file parser and update testJoseph Snyder2014-08-151-3/+5
| | | | | | | | | | | | | | | | | | | | The current file parser for a MUMPS routine uses a period "." as the one of the signals that a line of MUMPS code is executable. This is not a correct assumption. Add the period to the list of characters that CTest will not consider the start of a line of code. Update the test routine to have an entry point with code to match the scenario mentioned above.
* | CTest: Allow / to be in the build name, and be consistent with the build nameBill Hoffman2014-08-183-5/+9
| | | | | | | | | | | | | | | | Prior to this change / was not allowed in the build name. This was tested with a CDash server and worked. In addition the safe build name was not used everywhere. This caused mismatched build names to be in the xml files going to CDash which caused different rows to be created for the same build.
* | ctest_update: Add CTEST_UPDATE_VERSION_ONLY option to only note the versionBill Hoffman2014-08-182-4/+13
|/ | | | | | | This allows ctest_update to get the current version without actually changing the repository. This is useful when using Jenkins or an external project to update the source to a specific version, but you still want the current version to show up in CDash.
* Merge topic 'fix_truncation_logic_valgrind_output'Brad King2014-08-051-22/+19
|\ | | | | | | | | b35a7730 Fix truncation of valgrind output logic.
| * Fix truncation of valgrind output logic.Bill Hoffman2014-08-041-22/+19
| | | | | | | | | | | | This showed up because scan-build noticed outputFull was basically a constant. Logic should be output all valgrind output. Then output regular test output until output limit is reached.
* | Change output to be a reference and not a pointer.Bill Hoffman2014-08-041-1/+1
|/ | | | | This avoids having to check the pointer value at each use which was not being done.
* cmGlobalGenerator: Take Build output argument by referenceBrad King2014-07-311-1/+1
| | | | | | No call sites pass NULL to the output argument, so take it by reference to avoid the if(output) conditions. Propagate the change through the TryCompile APIs that call it.
* CTEST: Update Jacoco Coverage search pathsJoseph Snyder2014-07-301-0/+3
| | | | | | | | | | Add a new additional entry to the FilePaths array when a "package" tag has been found. This path should consist of the package information found appended to the projects source directory. This change will allow code held in a /src/main/java/* directory off of the projects source directory to be found, unlike now which assumes a subdirectory contains the code.
* Handle more than one process with sanitizer errors.Bill Hoffman2014-07-242-11/+20
| | | | | | Since the Sanitizers write out one log file per process, a single test might have more than one log file. This commit allows ctest to read all of the log files found for a particual test.
* Merge topic 'encoding-ctest-fixes'Brad King2014-07-181-7/+8
|\ | | | | | | | | 09b2ac38 Encoding: Fix a few encoding problems with ctest.
| * Encoding: Fix a few encoding problems with ctest.Clinton Stimpson2014-07-181-7/+8
| | | | | | | | | | This also fixes some test failures on Windows when the name of the build directory contains non-ascii characters.
* | CTest: Fix MemoryCheckType from 'ctest -T MemCheck'Bill Hoffman2014-07-161-2/+2
| | | | | | | | | | | | Before this commit, you would have to run ctest -S mode to get MemoryCheckType to work. This is because CMAKE_COMMAND was not set. The fix is to use cmSystemTools::GetCMakeCommand instead.
* | ctest_memcheck: Add support for memory and leak sanitizer.Bill Hoffman2014-07-162-15/+68
|/ | | | | | This adds support for memory and leak sanitizers. This is built into clang and gcc 4.8 and new compilers. It is activated with a -f switch during compile.
* ctest_memcheck: Add support for ThreadSanitizerBill Hoffman2014-07-094-155/+337
| | | | | | | | | This commit adds support for ThreadSanitizer to ctest. ThreadSanitizer is part of the clang compiler and also gcc 4.8 and later. You have to compile the code with special flags. Then your code gets the the ThreadSanitizer ability built into it. To pass options to the ThreadSanitizer you use an environment variable. This commit teaches ctest to parse the output from ThreadSanitizer and send it to CDash.
* CTest: Implement message(STATUS) output for 'ctest -S' scriptsBrad King2014-07-021-0/+11
| | | | | | Send status messages to the CTest HANDLER_OUTPUT log since they are part of the script handler output. This also ensures they appear inline with other test command handler output.
* Merge topic 'launcher-limit-warnings-errors'Brad King2014-06-251-2/+7
|\ | | | | | | | | f7303131 CTest: Teach the launchers to honer the max warnings and errors
| * CTest: Teach the launchers to honer the max warnings and errorsBill Hoffman2014-06-251-2/+7
| | | | | | | | | | | | The ctest launcher code did not respect the number of errors and warnings limits. Limit the number of launcher report fragments that we report in the final submission.
* | cmCTestMemCheckHandler: Fix coding style in this classBill Hoffman2014-06-252-8/+8
|/ | | | | This class had a method that started with lower case, and also was called without this->.