summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-test-RUN_SERIAL-failure-regression'Brad King2015-10-261-5/+4
|\ | | | | | | | | e61973e1 CTest: Fix regression in handling of a RUN_SERIAL test that fails
| * CTest: Fix regression in handling of a RUN_SERIAL test that failsBrad King2015-10-231-5/+4
| | | | | | | | | | | | | | Refactoring in commit v3.4.0-rc1~390^2~1 (cmCTestMultiProcessHandler: Refactor RUN_SERIAL implementation, 2015-06-01) forgot to update a code path for cleaning up after a failed RUN_SERIAL test. This causes an infinite loop after a RUN_SERIAL test fails. Fix it and add a test.
* | cmState: Initialize default definitions immediately.Stephen Kelly2015-10-133-0/+3
| | | | | | | | Don't leave this as cmMakefile responsibility.
* | Merge topic 'ctest-submit-content-type'Brad King2015-10-122-0/+14
|\ \ | |/ | | | | | | 2a6e0b61 CTest: Set Content-Type header for http file upload (#15774)
| * CTest: Set Content-Type header for http file upload (#15774)Derek Bruening2015-10-122-0/+14
| | | | | | | | | | Sets the Content-Type header for http file uploads to avoid running afoul of ModSecurity rules on the server.
* | Set the current dirs on the snapshot before creating the cmMakefile.Stephen Kelly2015-10-071-6/+3
| | | | | | | | | | | | The cmMakefile should get a fully prepared snapshot and not clobber its definitions. It should eventually be able to process list files from any starting-point snapshot, though that is some refactoring away still.
* | Remove unused cmLocalGenerator include.Stephen Kelly2015-10-053-3/+0
| |
* | CTest: Port away from cmLocalGenerator.Stephen Kelly2015-10-052-14/+2
| |
* | CTest: Remove needless cmLocalGenerator creation.Stephen Kelly2015-10-052-6/+0
|/
* CTest: Add options to limit output of passed and failed testsRoman Wüger2015-09-181-0/+5
| | | | | | | | | | Add ctest command-line options: --test-output-size-passed <n> --test-output-size-failed <n> to set the amount of test output to store in Test.xml as a command-line dashboard client.
* Merge topic 'jacoco_find_files'Brad King2015-09-011-52/+87
|\ | | | | | | | | e92c59e7 ctest_coverage: Make Jacoco parser better at finding source files
| * ctest_coverage: Make Jacoco parser better at finding source filesZack Galbreath2015-09-011-52/+87
| | | | | | | | | | | | | | Instead of searching for source files in a couple hard-coded locations, we now search the source and binary directory for files matching both the name of the covered file and its package directory structure.
* | Merge topic 'fix-ctest-xml-double-encoding'Brad King2015-08-315-14/+7
|\ \ | | | | | | | | | | | | | | | | | | ab2524d6 CTest: Fix XML double-encoding cases dee84dc7 cmCTest{BZR,GIT,P4}: Remove unused cmXMLSafe includes b3372db5 cmExtra{Kate,SublimeText}Generator: Remove unused cmXMLSafe includes
| * | CTest: Fix XML double-encoding casesDaniel Pfeifer2015-08-282-11/+7
| | | | | | | | | | | | | | | | | | | | | Remove use of cmXMLSafe from CTest when generating content that is later handled by cmXMLWriter. This was broken by refactoring in the topic merged by commit v3.3.0-rc1~22 (Merge topic 'ctest-xml-refactor', 2015-05-28).
| * | cmCTest{BZR,GIT,P4}: Remove unused cmXMLSafe includesDaniel Pfeifer2015-08-283-3/+0
| | |
* | | cmLocalGenerator: Create from already-constructed cmMakefile.Stephen Kelly2015-08-283-8/+10
| | | | | | | | | | | | Don't manage the lifetime of the cmMakefile with cmLocalGenerator.
* | | cmCTestScriptHandler: Simplify deletes.Stephen Kelly2015-08-281-26/+9
| | | | | | | | | | | | Deleting a nullptr is fine.
* | | cmGlobalGenerator: Remove MakeLocalGenerator method.Stephen Kelly2015-08-283-3/+3
| | | | | | | | | | | | Inline implementation to callers.
* | | cmGlobalGenerator: Require a snapshot to create a local generator.Stephen Kelly2015-08-283-3/+6
| |/ |/|
* | Remove use of include <cmsys/stl/*> and cmsys_stl::*Brad King2015-08-201-2/+0
| | | | | | | | We no longer need this compatibility layer for the compilers we support.
* | Remove use of include <cmsys/ios/*> and cmsys_ios::*Brad King2015-08-202-2/+0
| | | | | | | | We no longer need this compatibility layer for the compilers we support.
* | cmCTestCoverageHandle: Improve error handling.James Johnston2015-08-082-7/+28
| |
* | Merge topic 'ctest-add_subdirectory-crash'Brad King2015-07-281-1/+1
|\ \ | |/ | | | | | | 64821e8a ctest: fix add_subdirectory() crash
| * ctest: fix add_subdirectory() crashBen Boeckel2015-07-271-1/+1
| | | | | | | | | | | | The directory is at args[0], not args[1]. Introduced in commit v2.6.0~489 (... 5889 ... tests are not found in some cases when using add_subdirectory ..., 2008-01-18).
* | CTest: Optionally add a ChangeId attribute on XML Site tagsZack Galbreath2015-07-171-0/+6
| | | | | | | | | | | | | | Add variable CTEST_CHANGE_ID to configure the setting. This allows CTest clients to give CDash information about what change is being tested so that CDash can take actions to report the results (e.g. to a pull request page).
* | ctest_coverage: Always do coverage for CTEST_EXTRA_COVERAGE_GLOBZack Galbreath2015-07-131-1/+1
| | | | | | | | | | | | | | | | Do not ignore a coverage request if CTEST_EXTRA_COVERAGE_GLOB was specified. Prior to this change, if no lines of code were covered by any tests then CTest would neglect to generate a Coverage.xml file. This change allows us to report uncovered files for a project with no tests.
* | CTest: hide progress ticks in verbose outputDaniel Pfeifer2015-07-061-5/+5
| | | | | | | | | | | | | | | | | | | | The progress ticks and information about the length of the output are useful when the actual output is not visible. When the output is printed, the progress ticks * add no useful information, * do not look pretty, and * make the output hard to parse for tools.
* | CTest: Show the number of tests for each label in the summaryBetsy McPhail2015-07-061-4/+17
| |
* | ctest: Optionally avoid starting tests that may exceed a given CPU loadBetsy McPhail2015-06-307-7/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a TestLoad setting to CTest that can be set via a new --test-load command-line option, CTEST_TEST_LOAD variable, or TEST_LOAD option to the ctest_test command. Teach cmCTestMultiProcessHandler to measure the CPU load and avoid starting tests that may take more than the spare load currently available. The expression <current_load> + <test_processors> <= <max-load> must be true to start a new test. Co-Author: Zack Galbreath <zack.galbreath@kitware.com>
* | cmCTestMultiProcessHandler: Refactor RUN_SERIAL implementationZack Galbreath2015-06-302-4/+32
| | | | | | | | | | | | | | | | The original implementation of the RUN_SERIAL test property worked by having such a test consume all available processors. Instead use an explicit flag to indicate that a serial test is running. This avoids artificially inflating the number of processors a test is expected to consume.
* | ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610)Brad King2015-06-111-2/+2
| | | | | | | | | | | | | | Make RETURN_VALUE report -1 if the update command failed as the documentation claims. Also avoid reporting a ctest script-level failure if the update command fails because we still correctly administered the update step.
* | Merge topic 'ctest-script-mode-no-legacy-cygwin'Brad King2015-06-091-0/+4
|\ \ | |/ | | | | | | 12436efc ctest: Disable CMake Cygwin legacy warning in dashboard client script
| * ctest: Disable CMake Cygwin legacy warning in dashboard client scriptBrad King2015-06-081-0/+4
| | | | | | | | | | | | | | | | In ctest -S mode we load the CTestScriptMode module to give the configuration scripts access to the host system information. CYGWIN.cmake warns unless we explicitly tell it not to warn since there is no chance for a cmake_minimum_required(VERSION) to be called.
* | CTest: Capture test stdout/stderr through one pipe (#15600)Brad King2015-06-033-22/+7
|/ | | | | | | Use the KWSys Process "MergeOutput" option to give each test child process the same pipe for both stdout and stderr. This allows natural merging of stdout and stderr together instead of merging on arbitrary buffered read boundaries as before.
* Merge topic 'ctest-xml-refactor'Brad King2015-05-2821-640/+581
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | de2ef305 cmCTest: Drop unused method overloads b04500a7 cmCTest{Test,MemCheck}Handler: Port to cmXMLWriter 8fbc509a cmCTestCoverageHandler: Port to cmXMLWriter 82455a9d cmCTestBuildHandler: Port to cmXMLWriter 1dbd86fd cmCTestLaunch: Port to cmXMLWriter a53bd63e cmCTest: Port GenerateNotesFile to cmXMLWriter 9c0bb7d8 cmCTestConfigureHandler: Port to cmXMLWriter 6cf5cc71 cmCTestUploadHandler: Port to cmXMLWriter ed42c203 cmCTestUpdateHandler: Port to cmXMLWriter 18825baf cmCTest: Port to cmXMLWriter f6413400 Add cmXMLWriter class to consolidate XML generation
| * cmCTest{Test,MemCheck}Handler: Port to cmXMLWriterDaniel Pfeifer2015-05-264-224/+202
| |
| * cmCTestCoverageHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-262-158/+153
| |
| * cmCTestBuildHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-262-63/+46
| |
| * cmCTestLaunch: Port to cmXMLWriterDaniel Pfeifer2015-05-262-74/+61
| |
| * cmCTestConfigureHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-261-22/+16
| |
| * cmCTestUploadHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-261-21/+25
| |
| * cmCTestUpdateHandler: Port to cmXMLWriterDaniel Pfeifer2015-05-269-78/+78
| |
* | Merge topic 'ctest-xml-minor-cleanup'Brad King2015-05-284-15/+6
|\ \ | |/ | | | | | | | | b26e5b55 CTest: Generate NamedMeasurement elements directly into xml file 965cf8e6 CTest: Drop stray content from Configure.xml
| * CTest: Generate NamedMeasurement elements directly into xml fileDaniel Pfeifer2015-05-263-10/+6
| | | | | | | | Re-order the logic to avoid use of a temporary std::ostringstream.
| * CTest: Drop stray content from Configure.xmlDaniel Pfeifer2015-05-261-5/+0
| | | | | | | | | | Remove content left accidentally since commit v2.4.0~2876 (some bug fixes for my recent checkins and some more cleanup, 2004-09-07).
* | Merge topic 'ctest-update-gmake-error-match'Brad King2015-05-281-2/+2
|\ \ | | | | | | | | | | | | 44a4e545 ctest_build: Fix regression in GNU make error message matching
| * | ctest_build: Fix regression in GNU make error message matchingZack Galbreath2015-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | The regex update in commit v3.1.2~4^2 (ctest_build: Update GNU make error message matching, 2015-01-28) broke matching of the messages it updated. Remove the escape character before the square brackets added by that commit.
* | | cmGlobalGenerator: Require a cmake instance in ctor.Stephen Kelly2015-05-273-6/+3
| |/ |/| | | | | It is required anyway, so this makes it explicit.
* | Merge topic 'refactor-cmLocalGenerator'Brad King2015-05-194-0/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | fa9eb814 cmLocalGenerator: Remove redundant path access. 1933f3d1 cmLocalGenerator: Remove redundant path conversions. 9e4b6cc2 cmState: Store computed relative paths to to current directories. 991f5e49 cmState::Snapshot: Store components for current directories. 57bdc1a2 cmState: Compute and store directory components.
| * | cmState: Compute and store directory components.Stephen Kelly2015-05-164-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no need to duplicate these in all cmLocalGenerators. Rename the symbols according to current conventions. Add explicit calls to Set{Source,Binary}Directory with empty strings in order to trigger the population of the components containers with the current working directory in cmLocalGenerator. Having directories set to empty is a special case in CMake, which is relied on for the `if(CMAKE_BINARY_DIR)` condition at the end of CMakeDetermineSystem.cmake.