| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
eb4af16 CTest: Fixed valgrind output parsing (#12260)
|
| |
| |
| |
| |
| |
| | |
Previous code was missing some matches in the output. This commit
fixes the regular expressions used for output matching to detect
numbers reported with commas in them, too.
|
|/
|
|
|
|
| |
Credit goes to "cppcheck".
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
|
| |
|
|
|
|
|
|
|
|
| |
This deterministic ordering makes it easier for a developer
comparing the ctest output of two test runs to see what changed
from run to run.
Thanks to Fraser Hutchison for the patch.
|
|
|
|
|
| |
No behaviour change, this prepares for adding a flag to skip the merging
of output streams.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When add_test(NAME) is called without the CONFIGURATIONS argument then
the test is intended to run in any configuration. In multi-config
generators like the VS IDE and Xcode tests created by add_test(NAME) can
only be run when testing a known configuration (otherwise there is no
way to generate the test command line). If no test command line is
known for a particular configuration, or if no configuration is given to
ctest, report the test as not run instead of silently skipping it.
Also fix CMake's own TestsWorkingDirectory test invocation to correct a
previously silent failure exposed by this change.
|
| |
|
|
|
|
|
| |
This change won't be functional until the next release of CDash due to the
version comparison.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
3e32db7 cmCTestUploadCommand::CheckArgumentKeyword should return false if not FILES
6b6f309 Add the FILES keyword to ctest_upload command
28cdd0a Don't tar/gz ctest_upload() files
fbe4356 Change 'Files' tag to 'Upload' in Upload.xml
350546d Implement ctest_upload command
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some samples of things that got unnoticed by our nightly builds:
$ JAVA_HOME= mvn
Warning: JAVA_HOME environment variable is not set.
...
$ mvn
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
...
|
|\
| |
| |
| |
| | |
a1711f1 Remove trailing whitespace
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Several major Linux distributions still do not provide Git >= 1.6.5.0 in
their stable package lists. Prior to commit 1173cc4a (Update Git
submodules with --recursive, 2011-02-22) CTest was able to use older Git
versions but simply silently failed to update submodules recursively.
Instead of failing with older Git versions preserve the status quo and
add a warning in the update log. Users testing projects with recursive
submodules may simply update to a Git new enough to support them.
|
| |
| |
| |
| |
| |
| | |
Fail if submodules exist and the git version is less than 1.6.5.0.
Inspired-by: Johan Björk <phb@spotify.com>
|
|\ \
| | |
| | |
| | |
| | | |
8af8eab Use stable_sort to preserve test order (#11877)
|
| |/
| |
| |
| |
| |
| | |
Using sort results in a possibly-modified sorting
when all elements are "tied" - use stable_sort instead
to preserve the original ordering of tied elements.
|
|/
|
|
|
|
|
|
|
| |
To avoid name clashes.
Before this commit, name clashes can occur when invoking gcov on a
project that uses the same file name in different directories. The
--preserve-paths flag ensures all file names have a complete path,
avoiding name clashes.
|
|\
| |
| |
| |
| | |
6228abe CTest: Teach launcher to ignore empty/no-op make commands
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
89eb4bf Improve build error detection.
|
| |/
| |
| |
| |
| | |
Some were missed recently on a failed dashboard build
of ccmake on an HP-UX machine.
|
|\ \
| |/
|/|
| |
| | |
e73bf1c CTest: Do not truncate UTF-8 test output too early (#10656)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit e4beefeb (CTest: Do not munge UTF-8 output in XML files,
2009-12-08) we validate UTF-8 encoding of build and test output as it is
written to XML files. However, in cmCTestTestHandler::CleanTestOutput
we still processed test output one byte at a time and did not recognize
multi-byte UTF-8 characters. Presence of such characters caused early
truncation.
Teach CleanTestOutput to truncate test output at the limit but without
cutting it in the middle of a multi-byte encoding. Also, stop avoiding
truncation in the middle of an XML tag like "<MyElement>" because the
'<' and '>' will be properly escaped in the generated XML anyway.
|
|\ \
| | |
| | |
| | |
| | | |
6b0c7de Support explicitly set test costs in non-parallel testing.
|
| |/ |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
667a90a Fix sentence break in add_test documentation
96309fc Make TestsWorkingDirectory test a C file
a4a5e37 Use iostream to make Borland happy
cfe53cd Fully specify the path to old-signature add_test
017d4e9 Group adding tests with its properties
561cc33 Only test the default cwd with Makefiles
d87bae7 Simplify the _default_cwd derivation
992c74f Use --><-- markers to denote the path
5249551 Flip slashes around on Windows
0a014da Add ctype.h include for toupper()
af12f83 Fix header includes for C++ and Visual Studio
5597aa2 Rename the project to match the test
9bf4165 Add tests for WORKING_DIRECTORY arg to add_test
42de5d0 Add WORKING_DIRECTORY argument to add_test
7679f9f Rename WorkingDirectory test
d95f817 Add the WORKING_DIRECTORY property to tests
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
5992526 CTest: Factor out duplicate Git author/committer code
307b8a6 CTest git update should pass the committer as well as the author
|
| | |
| | |
| | |
| | |
| | | |
Factor out date/time format code into FormatDateTime function instead of
duplicating it.
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | | |
744366f CTest: multiple ctest_test calls w/LABEL regexs (#11487)
|
| |/
| |
| |
| |
| | |
The Initialize method was not re-initializing everything
that it should have been. This commit fixes that.
|
| | |
|
|/
|
|
|
|
|
| |
A cycle exists when the DFS returns to the root node, not just when
multiple paths lead to the same node.
Inspired-By: Alexander Esilevich <aesilevich@pathscale.com>
|
|
|
|
| |
Document behavior consistently with the implementation.
|
| |
|
|
|
|
| |
Restore CMake 2.6 behavoir where the dart processing apparently was run from within the tests directory instead of the root of the build tree. This addresses issue reported on the VTK Dashboard where the Testing/Temporary directory is defined as ../../../Testing/Temporary but the DartProcessing is run with respect to the root of the build tree. This causes the regression/difference images to not be located by ctest and thus not uploaded to the dashboard.
|
|
|
|
|
|
| |
This command allows a user to quickly see the list of all available
test labels. The labels are also printed in verbose show only mode,
alongside their corresponding tests.
|
|
|
|
|
|
|
|
| |
Refactor how cmCTestMemCheckHandler computes the memory tester command
line options to avoid encoding them in a single string just to parse
them again. The EscapeSpaces uses backslahes to escape spaces on UNIX
platforms, so replace other calls to it in CTest that are used to create
human-readable strings with simple double-quoting.
|
|\
| |
| |
| |
| |
| |
| | |
a7319cf ctest_update: Run 'git submodule' at top level
7bf8dc1 ctest_update: Support ".git file" work trees
65cb72f ctest_update: Abort if Git FETCH_HEAD has no candidates
|
| |
| |
| |
| |
| |
| |
| |
| | |
The git submodule porcelain must be executed from the top level of the
work tree. Use 'git rev-parse --show-cdup' to find the top level
relative to the source tree. This is better than searching up the tree
for .git ourselves because it will always work the same way Git does and
thus honors settings like GIT_DISCOVERY_ACROSS_FILESYSTEM.
|
| |
| |
| |
| |
| |
| |
| | |
Commit c3781efb (Support Git upstream branch rewrites, 2010-06-08)
assumed that ".git/FETCH_HEAD" exists inside the source tree. Fix the
implementation to handle a work tree using a ".git file" to link to its
repository. Use "git rev-parse --git-dir" to locate the real .git dir.
|