summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge topic 'positive-test-times'Brad King2013-05-161-0/+8
|\ \ | | | | | | | | | | | | e319e32 CTest: make sure never to report negative test times (#14132)
| * | CTest: make sure never to report negative test times (#14132)Rolf Eike Beer2013-05-101-0/+8
| |/ | | | | | | | | | | | | Because of clock scew between processors or just because of someone changing the system time the end timestamp may be before the start time. Reporting a negative time doesn't any sense, just report zero there as it already happens for really fast tests.
* | Merge topic 'doc-improvements'Brad King2013-05-161-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7cc2805 Docs: Clarify wording "flag used" => "flag (to|will) be used" 2378a69 Docs: Clarify that CMAKE_*_(PREFIX|SUFFIX) affect filenames 56ca34d Docs: Update description of CMAKE_(BUILD_TYPE|CONFIGURATION_TYPES) 2bab472 VS10: add detailed comment about MIDL processing e619111 Explain distribution of Win9x binary on all Windows versions. 5ca4336 FindwxWidgets: add DOC strings with usual style f57800d Fix spelling and typos (product names) bf019d7 Fix spelling and typos (non-binary) ddac8d3 Fix spelling and typos (affecting binary data / module messages) 86832ce Fix spelling and typos (affecting users)
| * | Fix spelling and typos (non-binary)Andreas Mohr2013-05-071-2/+2
| |/
* | ctest_build: Pass projectDir to GenerateBuildCommandPetr Kmoch2013-04-121-1/+2
| | | | | | | | | | | | This allows the ctest_build command's TARGET option to name a target in a subdirectory and still build properly with msbuild. Add test case covering use of ctest_build() with such a TARGET.
* | CTest: Simplify ctest_* command source/build dir lookupBrad King2013-04-122-39/+14
| | | | | | | | | | | | | | | | In cmCTestHandlerCommand::InitialPass call InitializeHandler after setting the CTest "SourceDirectory" and "BuildDirectory" configuration values instead of before. This makes the values available to InitializeHandler methods in subclasses, so also drop the duplicate configuration of those values from cmCTestConfigureCommand::InitializeHandler.
* | Add projectDir parameter to GenerateBuildCommandPetr Kmoch2013-04-121-1/+1
|/ | | | | | | | Extend the cmGlobalGenerator::GenerateBuildCommand virtual method signature with a "projectDir" parameter specifying the top of the project build tree for which the build command will be generated. Populate it from call sites in cmGlobalGenerator::Build where a fully-generated build tree should be available.
* CTest: Fix ctest_update with 'HEAD' file in source treeBrad King2013-02-281-2/+2
| | | | | Add the '--' command-line separator to make the HEAD reference unambiguous. Extend the CTest.UpdateGIT test to cover this case.
* CTest: Add options to set generator toolsetBrad King2013-02-073-4/+30
| | | | | | | | | | 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_TOOLSET for -T. The "ctest --build-and-test" mode already has "--build-generator" to specify the -G option to CMake. Add a "--build-generator-toolset" option to specify the -T value.
* CTest: Prevent creation of unbounded number of tests in ctest (#12904)Casey Goodlett2012-12-181-1/+6
| | | | | | Note it is still possible for CTest to start more than the number of processes specified by PARALLEL_LEVEL, but this prevents the number of tests to start from being unbounded because of overflow.
* CTest: Coverage handler: expect certain output lines from gcov 4.7 (#13657)David Cole2012-12-101-4/+11
| | | | And do not report them as errors.
* Always use the auto_ptr from cmsys.Stephen Kelly2012-11-201-2/+1
| | | | | | This is for consistency throughout cmake. The cmsys version exists becaues uses of auto_ptr types as return types does not work with some implementations in ancient compilers.
* Merge topic 'ctest-SUBMIT_INDEX-cdash'Brad King2012-11-061-1/+1
|\ | | | | | | | | 1cfaa2f CTest: Allow SUBMIT_INDEX with CDash
| * CTest: Allow SUBMIT_INDEX with CDashBrad King2012-11-011-1/+1
| | | | | | | | | | If CTEST_DROP_SITE_CDASH is true then SUBMIT_INDEX is supported. The Dart version does not matter because the server is not Dart.
* | Merge topic 'test-ctest-memcheck'David Cole2012-10-172-80/+98
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 995a35f CTest: add a check with a quoted memory checker de8bffc CTest: add a test for CTEST_CUSTOM_MEMCHECK_IGNORE d26c9b6 CTest: improve memory checker type detection fcae1da CTest: add tests that simulate memcheck runs 6187876 CTest: fix pre and post test commands with spaces 95bc8aa CTest: fix usage of memory checker with spaces in path
| * | 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 pre and post test commands with spacesRolf Eike Beer2012-10-011-2/+3
| | | | | | | | | | | | | | | | | | If the pre or post memcheck or test commands have spaces in the path these were never escaped, leading to broken commands. This was not covered in the test suite so it went unnoticed.
| * | 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.
* | | cmCTestSVN: Fix compilation with Sun CC 5.1Brad King2012-10-042-0/+5
|/ / | | | | | | | | | | | | Hack access to cmCTestVC::Revision on this compiler to avoid errors like Source/CTest/cmCTestSVN.cxx, line 23: Error: cmCTestSVN::SVNInfo is not accessible from cmCTestSVN::Revision. Source/CTest/cmCTestSVN.cxx, line 22: Error: cmCTestVC::Revision is not accessible from file level.
* | ctest_update: Tell svn not to prompt interactively (#13024)Nils Gladitz2012-09-253-22/+62
| | | | | | | | | | While at it, add SVNOptions/CTEST_SVN_OPTIONS configuration settings to add options to all svn invocations instead of just "svn update".
* | cmCTestSVN: Load and process information from externalsXavier Besseron2012-09-041-6/+32
| | | | | | | | | | Call LoadExternals() and perform operations on all elements of the Repositories list.
* | cmCTestSVN: Add a LoadExternal() function and an ExternalParser classXavier Besseron2012-09-042-0/+53
| | | | | | | | | | | | This call 'svn status' and parse the result to get the list of externals repositories. The external repositories found are added to the Repositories list.
* | cmCTestSVN: Use the SVNInfo structureXavier Besseron2012-09-042-77/+92
| | | | | | | | | | | | | | - Suppress the URL, Root, Base fields from the cmCTestSVN class - Update the code to use RootInfo instead - LoadInfo(), GuessBase(), and a new LoadRevision() functions work on a given SVNInfo - Use the implementation from the base class for LocalPath(), correct path is built by SVNInfo::BuildLocalPath() instead
* | cmCTestSVN: Create the SVNInfo for the root repositoryXavier Besseron2012-09-041-0/+3
| |
* | cmCTestSVN: Add the Repositories list and the RootInfo pointerXavier Besseron2012-09-041-0/+6
| | | | | | | | | | | | The Repository list will contain the SVNInfo of all the repositories (root and external ones). The RootInfo pointer will point to the SVNInfo structure of the root repository.
* | cmCTestSVN: Extend Revision struct with SVN repo informationXavier Besseron2012-09-042-5/+13
| | | | | | | | Also rename DoRevision to DoRevisionSVN since the signature changes.
* | cmCTestSVN: Add the new SVNInfo structureXavier Besseron2012-09-032-0/+51
| | | | | | | | | | It represents information of an SVN repository. It can be the base repository or an external one.
* | Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-1328-156/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Extend -D command line arg handling for variable definitionsDavid Cole2012-06-241-0/+9
| | | | | | | | | | | | If the argument following -D is not a valid dashboard type string, then try to parse it as a "var:type=value" string just like cmake already does.
* | Remove unused ivars to eliminate compiler warningsDavid Cole2012-06-201-2/+1
|/
* Merge topic 'mumps_coverage'David Cole2012-05-179-4/+853
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c806b23 CDash now supports lots of files in coverage. So, show all files. 761d931 Do not try to run bullseye coverage if COVFILE env is empty. 5b69ce4 Update test data to match new coverage format. 1b418f1 Change GT.M Coverage Parser global b0c07a1 Disable bullseye coverage for mumps coverage test. 0a169e6 Remove uncovered files from cache coverage data. a7abf5e Add ability to specify more than one package directory or coverage directory. 220afca Use <TARGET_FILE> expression to run ctest so it works with Xcode and VS IDE. 62f6bce Use a script to run the test because WORKING_DIRECTORY is not in 2.8.2. f5c5db0 Fix some warnings and a bug where it went past the length of a vector. 7955e99 Add support for Cache coverage. a86cd33 Add virutal destructor to silence warning. 319eeb0 Add test for mumps coverage. Also refactor code to prepare for cache coverage. 72210c2 Fix line length. dd07161 Fix warning about char* instead of const char*. e6412e0 Add support to ctest for GTM mumps coverage.
| * CDash now supports lots of files in coverage. So, show all files.Bill Hoffman2012-05-114-18/+5
| | | | | | | | | | | | Prior to this commit the mumps coverage only showed files that had at least one line of coverage. Now 0% covered files are shown as well.
| * Do not try to run bullseye coverage if COVFILE env is empty.Bill Hoffman2012-05-081-1/+1
| |
| * Change GT.M Coverage Parser globalJoseph Snyder2012-05-071-1/+1
| | | | | | | | | | | | The coverage global should be in the local namespace. This means the global will be ^ZZCOVERAGE instead of ^COVERAGE. Change the parser to look for ^ZZCOVERAGE instead of the old ^COVERAGE
| * Remove uncovered files from cache coverage data.Bill Hoffman2012-05-022-0/+38
| | | | | | | | | | | | Cache coverage data currently contains files with 0 coverage on each line. This change will remove those files from the coverage sent to CDash.
| * Add ability to specify more than one package directory or coverage directory.Bill Hoffman2012-05-021-16/+24
| |
| * Fix some warnings and a bug where it went past the length of a vector.Bill Hoffman2012-05-011-3/+10
| | | | | | | | | | | | Fix a kwstyle warning and an unused variable warning. Also fix a case where it could crash because a vector was referenced passed its end.
| * Add support for Cache coverage.Bill Hoffman2012-05-017-30/+285
| | | | | | | | | | This adds support for Cache coverage parsing. A test is added that does a basic run of the coverage on a small bit of data.
| * Add virutal destructor to silence warning.Bill Hoffman2012-05-012-0/+5
| |
| * Add test for mumps coverage. Also refactor code to prepare for cache coverage.Bill Hoffman2012-05-015-228/+308
| | | | | | | | | | Add a simple test to make sure the GTM mumps coverage is working. Also refactor the code so that cache coverage can be added.
| * Fix line length.Bill Hoffman2012-04-261-1/+2
| |
| * Fix warning about char* instead of const char*.Bill Hoffman2012-04-261-1/+1
| |
| * Add support to ctest for GTM mumps coverage.Bill Hoffman2012-04-255-3/+471
| |
* | CTest: Modify reg ex so it also works with gcov 4.7 output (#13121)David Cole2012-05-031-1/+1
| |
* | Merge topic 'kwsys-environ-cleanup'David Cole2012-05-012-6/+2
|\ \ | | | | | | | | | | | | | | | e48796b KWSys: Fix SystemTools environment memory handling (#13156) b10c5cb CTest: Simplify environment save/restore
| * | CTest: Simplify environment save/restoreBrad King2012-04-242-6/+2
| |/ | | | | | | | | | | | | | | Replace use of AppendEnv/RestoreEnv pairs with instances of SaveRestoreEnvironment. Simplify the signature of AppendEnv and use it in place of similar loops elsewhere. Move the RestoreEnv implementation inside the SaveRestoreEnvironment destructor which is the only place left that calls it.
* | Merge topic 'ctest_memcheck-xml-encoding'David Cole2012-05-011-1/+1
|\ \ | | | | | | | | | | | | 3da577d CTest: Escape MemCheck test output for XML (#13124)
| * | 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_coverage: Save/restore LC_ALL around gcov (#13136)Brad King2012-04-161-1/+29
|/ | | | | | | Commit ffbe61bb (make sure english is used for output of gcov, 2008-05-10) taught ctest_coverage to set LC_ALL=POSIX to get English output from gcov. Use the more portable value LC_ALL=C and restore the original value when finished.
* Merge topic 'ctest-match-valgrind'Brad King2012-03-131-1/+1
|\ | | | | | | | | ea4416c CTest: Match valgrind errors with "points to" (#12922)