| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
When performing some other testing, the globs for Blanket.js and Delphi
code coverage are picking up unintended files. Change the query for the
Delphi coverage to follow the naming convention, and check the second line
of the found JSON files for certain text before parsing them as coverage files.
|
|
|
|
|
|
|
|
|
|
| |
Since commit v3.3.0-rc1~410^2~3 (ctest_test: Add QUIET option,
2015-02-17) if tests fail when QUIET is used one sees:
The following tests FAILED:
but not the subsequent line(s) indicating which tests failed.
Restore the list of failed tests.
|
|
|
|
|
|
|
|
|
|
| |
Change the Cobertura handler to look for an environment variable
called "COBERTURADIR" which contains the directory where the
coverage.xml file is found. If that variable doesn't exist,
continue to use the default of the binary directory.
Update the test to use an appropriate value in the environment
variables.
|
|\
| |
| |
| |
| | |
1db32ffe ctest_coverage: Search for Jacoco files in the binary directory
|
| |
| |
| |
| |
| | |
Search for Jacoco coverage files in both the source directory
and the binary directory.
|
|/ |
|
|\
| |
| |
| |
| | |
e61973e1 CTest: Fix regression in handling of a RUN_SERIAL test that fails
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Don't leave this as cmMakefile responsibility.
|
|\ \
| |/
| |
| |
| | |
2a6e0b61 CTest: Set Content-Type header for http file upload (#15774)
|
| |
| |
| |
| |
| | |
Sets the Content-Type header for http file uploads to avoid running afoul
of ModSecurity rules on the server.
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
e92c59e7 ctest_coverage: Make Jacoco parser better at finding source files
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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).
|
| | | |
|
| | |
| | |
| | |
| | | |
Don't manage the lifetime of the cmMakefile with cmLocalGenerator.
|
| | |
| | |
| | |
| | | |
Deleting a nullptr is fine.
|
| | |
| | |
| | |
| | | |
Inline implementation to callers.
|
| |/
|/| |
|
| |
| |
| |
| | |
We no longer need this compatibility layer for the compilers we support.
|
| |
| |
| |
| | |
We no longer need this compatibility layer for the compilers we support.
|
| | |
|
|\ \
| |/
| |
| |
| | |
64821e8a ctest: fix add_subdirectory() crash
|
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| |
| | |
12436efc ctest: Disable CMake Cygwin legacy warning in dashboard client script
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
b26e5b55 CTest: Generate NamedMeasurement elements directly into xml file
965cf8e6 CTest: Drop stray content from Configure.xml
|
| |
| |
| |
| | |
Re-order the logic to avoid use of a temporary std::ostringstream.
|