summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge topic 'ctest_test-ignore-skipped-tests'Brad King2017-04-272-6/+18
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 851b6c15 cmCTestTestHandler: indicate why a test did not run 25a7f14f Help: add release notes ab8bbef9 cmCTestTestHandler: count skipped tests as disabled 202a44a4 cmCTestRunTest: do not count skipped tests as failed Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Craig Scott <craig.scott@crascit.com> Merge-request: !741
| * | | cmCTestTestHandler: indicate why a test did not runBen Boeckel2017-04-241-3/+8
| | | |
| * | | cmCTestTestHandler: count skipped tests as disabledBen Boeckel2017-04-241-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | The `Skipped` status is basically a runtime version of the `Disabled` status (set as a property on the test by the configure step), so treat them the same.
| * | | cmCTestRunTest: do not count skipped tests as failedBen Boeckel2017-04-211-2/+6
| |/ / | | | | | | | | | | | | | | | | | | Skipped tests are neither passed nor failed tests, but return codes are based only upon failed tests, so do not count them as such. Fixes #16822.
* | | Merge topic 'ctest-minor-fixups'Brad King2017-04-242-5/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d1bd011 cmCTestTestHandler: use pointers to static memory 5969048d cmCTestTestCommand: defer getting the global timeout Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !735
| * | | cmCTestTestHandler: use pointers to static memoryBen Boeckel2017-04-211-4/+4
| | | | | | | | | | | | | | | | There's no need to reserve 100 bytes for each of these strings.
| * | | cmCTestTestCommand: defer getting the global timeoutBen Boeckel2017-04-211-1/+2
| |/ /
* | | clang-tidy: use .empty() to check emptynessDaniel Pfeifer2017-04-211-1/+1
| | |
* | | clang-tidy: remove else after break and continueDaniel Pfeifer2017-04-213-3/+6
|/ /
* | Use quotes for non-system includesDaniel Pfeifer2017-04-1176-126/+126
|/ | | | | | | | | | | | | Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
* Add 'DISABLED' test propertyBetsy McPhail2017-03-294-8/+67
| | | | | | When this property is set, the test is skipped and its status is automatically set to 'Not Run'. A disabled test will not be counted in the total number of tests and its completion status will be 'Disabled'.
* CTest: Improve 'Completion Status' reported to CDash for 'Not Run' testsBetsy McPhail2017-03-272-11/+15
| | | | | | Previously, the completion status of not run tests was always set to "Not Run". Make it more descriptive. This value is written to `Test.xml` and then displayed as 'Test Details' in CDash.
* Add self-sufficient wrapper for <sys/stat.h>Daniel Pfeifer2017-03-241-1/+1
|
* cmWorkingDirectory: use the new classBen Boeckel2017-03-068-94/+60
| | | | | | These functions just need to change the directory for a block of code and then go back to the caller's expected location. Use cmWorkingDirectory to ensure that all return paths are handled.
* cmCTest, cmCTestCoverageHandler: remove cwd danceBen Boeckel2017-03-061-5/+0
| | | | The working directory changes here didn't really accomplish anything.
* ctest_update: Capture failure of svn to load revisions and local modsBrad King2017-02-162-11/+16
| | | | Issue: #16646
* ctest_update: Refactor internal APIs to support more failure casesBrad King2017-02-1615-57/+80
| | | | | | Thread failure of VC tool commands through more APIs so that we can detect when they fail. Defer updating of the individual VC tool usage the future and just return true from them for now.
* Merge topic 'fix-ctest_update-svn'Brad King2017-02-161-1/+4
|\ | | | | | | | | 51849bba ctest_update: Fix svn log and external loading
| * ctest_update: Fix svn log and external loadingBrad King2017-02-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.7.0-rc1~132^2 (CTestSVN: Fix segfault when CTEST_UPDATE_VERSION_ONLY is enabled, 2016-09-12) we do not properly extract svn log or externals. After updating we erase the information that was loaded before updating and can no longer log the changes between revisions to extract authors. Fix this by only loading the repository information once, whether needed by `NoteOldRevision`, `NoteNewRevision`, or both. Fixes: #12630, #16646
* | cmCommand: Don't prefix error message with command nameDaniel Pfeifer2017-02-131-2/+2
| | | | | | | | | | Instead, prefix the error message at the two places where the errors are handled: cmMakefile and cmCTestHandlerCommand.
* | ctest_memcheck: Fix sanitizers when MemoryCheckSanitizerOptions is emptyJamie Snape2017-01-231-3/+9
| |
* | Merge topic 'cdash_upload_retry'Brad King2017-01-204-45/+142
|\ \ | | | | | | | | | | | | | | | | | | 05ed82b1 ctest_submit: Update documentation for CDash upload retries 0ce7643a ctest_submit: improve handling of QUIET option 5614a5cd ctest_submit: Allow RETRY_COUNT for CDASH_UPLOAD
| * | ctest_submit: improve handling of QUIET optionZack Galbreath2017-01-203-9/+18
| | | | | | | | | | | | | | | Teach the CDASH_UPLOAD signature of ctest_submit() to more thoroughly respect the QUIET option.
| * | ctest_submit: Allow RETRY_COUNT for CDASH_UPLOADZack Galbreath2017-01-203-36/+124
| | | | | | | | | | | | | | | | | | | | | | | | Teach the CDASH_UPLOAD signature of ctest_submit() to honor the RETRY_COUNT and RETRY_DELAY options. Also teach HttpRequest() to honor the default 120 second timeout for curl connections.
* | | Merge topic 'cmCTestBuildHandler-fix-warning'Brad King2017-01-171-1/+1
|\ \ \ | | | | | | | | | | | | | | | | f3864452 cmCTestBuildHandler: Fix warning in FragmentCompare signature
| * | | cmCTestBuildHandler: Fix warning in FragmentCompare signatureBrad King2017-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` warning: the specified comparator type does not provide a const call operator [-Wuser-defined-warnings] ``` Reported-by: Sean McBride <sean@rogue-research.com>
* | | | Merge topic 'fixtureUnusedOrdering'Brad King2017-01-171-22/+60
|\ \ \ \ | |/ / / |/| | | | | | | | | | | 298b5b31 CTest: Ensure setup/cleanup ordering even when fixture not required
| * | | CTest: Ensure setup/cleanup ordering even when fixture not requiredCraig Scott2017-01-161-22/+60
| | | | | | | | | | | | | | | | Closes: #16558
* | | | Merge topic 'fix_repeat_until_fail_duplicated_output'Brad King2017-01-161-0/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | a1058637 CTest: Properly reset output to avoid duplication with --repeat-until-fail
| * | | CTest: Properly reset output to avoid duplication with --repeat-until-failSylvain Joubert2017-01-121-0/+2
| | | |
* | | | ctest_memcheck: Append sanitizers user options at the end to allow overridingSylvain Joubert2017-01-111-1/+1
|/ / /
* | | ctest_memcheck: do not add detect_leaks=1 to ASAN_OPTIONSJamie Snape2017-01-091-1/+0
| | |
* | | ctest_memcheck: join *SAN_OPTIONS with :Jamie Snape2017-01-091-4/+4
| | |
* | | MEMORYCHECK_SUPPRESSIONS_FILE: add support for sanitizersJamie Snape2017-01-091-1/+8
| | |
* | | ctest_memcheck: add support for standalone LeakSanitizerJamie Snape2017-01-092-0/+18
|/ /
* | clang-tidy: apply misc-redundant-expression fixesDaniel Pfeifer2016-12-121-3/+2
| |
* | clang-tidy: apply readability-static-definition-in-anonymous-namespace fixesDaniel Pfeifer2016-12-121-4/+4
| |
* | clang-tidy: apply modernize-use-bool-literals fixesDaniel Pfeifer2016-12-122-3/+3
| |
* | clang-tidy: apply readability-redundant-string-init fixesDaniel Pfeifer2016-12-125-13/+13
| |
* | cmCTestTestHandler: use multimapDaniel Pfeifer2016-12-031-27/+20
| |
* | Windows: Use UTF-8 for pipes in CMake, CTest and CPackDāvis Mosāns2016-11-291-1/+1
| | | | | | | | | | Applications which process CMake output will need to decode it as UTF-8 instead of console's codepage.
* | iwyu: Fix more findingsDaniel Pfeifer2016-11-2811-61/+70
| |
* | Merge topic 'improve_ctest_memcheck_output'Brad King2016-11-171-10/+22
|\ \ | | | | | | | | | | | | f0d50957 ctest: Improve output for `-T memcheck`
| * | ctest: Improve output for `-T memcheck`Bill Hoffman2016-11-171-10/+22
| | | | | | | | | | | | | | | Show how many defects each test that had a defect produced. Also tell the user where to find the full log files.
* | | CTest: Use UTF-8 encoding for output from GitDāvis Mosāns2016-11-151-6/+11
| | |
* | | Add Encoding option for RunChild, RunMakeCommand and RunProcessDāvis Mosāns2016-11-144-9/+15
| | |
* | | Windows: Encode child process output to internally-used encodingDāvis Mosāns2016-11-144-8/+57
| | | | | | | | | | | | | | | | | | Typically Windows applications (eg. MSVC compiler) use current console's codepage for output to pipes so we need to encode that to our internally-used encoding (`KWSYS_ENCODING_DEFAULT_CODEPAGE`).
* | | cmCTestBuildHandler: Use size_t in ProcessBuffer length argumentBrad King2016-11-142-2/+2
|/ /
* | Merge topic 'cdash_version_check'Brad King2016-11-113-21/+4
|\ \ | | | | | | | | | | | | | | | d3633731 Do not query CDash for version f725b20b Update tests that expect uncompressed output
| * | Do not query CDash for versionZack Galbreath2016-11-083-21/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This check was not functioning properly for the following reasons: * The "DropSite" and "DropLocation" CTest Configurations do not get set until ctest_submit() is called. So if ctest_submit() was not called before ctest_test() we would end up with uncompressed output, even if the CDash server was new enough to support this feature. * CDash's API is now versioned. The current location to query is now /api/v1/getversion.php, not /api/getversion.php. As a result of these issues, CTest would not compress test/memcheck output when it should. Rather than fix this check, we now assume that CTest is communicating with a new enough version of CDash. This behavior can be controlled through the use of the --no-compress-output command-line argument.