| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This teaches ctest_coverage() to report only coverage of files labeled
with at least one label given by a new LABELS option.
|
|
|
|
|
| |
This teaches CTest to report Labels elements in the Coverage.xml file
for Bullseye coverage results.
|
|
|
|
|
| |
This resets coverage handler internal state on initialization so that
multiple coverage runs are independent.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The <target>_EXPORTS macro defined for object files when built in a
shared library <target> should be put in the <DEFINES> make rule
replacement and not <FLAGS>. Also, it should honor the platform
variable CMAKE_<LANG>_DEFINE_FLAG. See issue #8107.
|
|
|
|
|
|
| |
The second argument of add_subdirectory must name a unique binary
directory or the build files will clobber each other. This enforces
uniqueness with an error message.
|
| |
|
|
|
|
|
|
|
| |
This adds cmCTestVC::InitialCheckout and uses it in cmCTestUpdateHandler
to run the initial checkout command. The new implementation logs the
command in the update log consistently with the rest of the new update
implementation.
|
|
|
|
|
|
| |
This fixes CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES to be used for all
generators instead of just those that construct their own compiler
command lines directly. See issue #8598.
|
|
|
|
|
|
| |
It does not make sense to call the reverse Convert signature (for remote
paths corresponding to CMake-managed directories) with NONE or FULL
since they have no path. Patch from Modestas Vainius. See issue #7779.
|
| |
|
|
|
|
|
| |
The HP C++ compiler needs some help to allow access to some member
classes of cmCTestVC.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a new VCS update implementation to the cmCTestVC hierarchy and
removes it from cmCTestUpdateHandler. The new implementation has the
following advantages:
- Factorized implementation instead of monolithic function
- Logs vcs tool output as it is parsed (less memory, inline messages)
- Uses one global svn log instead of one log per file
- Reports changes on cvs branches (instead of latest trunk change)
- Generates simpler Update.xml (only one Directory element per dir)
Shared components of the new implementation appear in cmCTestVC and may
be re-used by subclasses for other VCS tools in the future.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This creates variable CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES to
specify implicit include directories on a per-language basis. This
replaces the previous platform-wide variable. It is necessary to
avoid explicit specification of -I/usr/include on some compilers
(such as HP aCC) because:
1.) It may break ordering among system include directories defined
internally by the compiler, thus getting wrong system headers.
2.) It tells the compiler to treat the system include directory
as a user include directory, enabling warnings in the headers.
See issue #8598.
|
|
|
|
|
| |
The Borland compiler warns about returning a char[] from a function with
return type std::string without an explicit construction.
|
| |
|
|
|
|
| |
tests based on regular expressions
|
|
|
|
|
| |
This method will help subclasses look for element attributes in their
StartElement methods.
|
|
|
|
|
|
| |
This tells cmXMLParser to report error messages through virtual method
cmXMLParser::ReportError so that subclasses can override the default
report.
|
|
|
|
|
|
| |
This teaches cmCTestSVN::NoteNewRevision to save the repository URL
checked out in the work tree, the repository root, and the path below
the root to reach the full URL.
|
|
|
|
| |
This new method decodes the "percent-encoding" used in URL syntax.
|
|
|
|
|
|
|
| |
We used to suppress generation of -I/usr/include (and on OSX also
-I/usr/local/include). This behavior seems to cause more trouble than
it's worth, so I'm removing it until someone encounters the original
problem it fixed. See issue #8598.
|
|
|
|
|
|
|
|
| |
The previous change to Source/cmDependsFortran.cxx while refactoring
implicit dependency scanning configuration rules completely broke
loading of the include file search path while scanning Fortran
dependencies. This adds the line that should have been added during the
previous change to load the include path correctly.
|
|
|
|
|
| |
This moves checks of the work tree revision before and after update from
cmCTestUpdateHandler::ProcessHandler into the cmCTestVC hierarchy.
|
|
|
|
|
| |
Move generation of the nightly start time string from
cmCTestUpdateHandler::ProcessHandler into cmCTestVC.
|
|
|
|
|
| |
This removes work tree cleanup from cmCTestUpdateHandler and adds an
interface for it in cmCTestVC with an implementation in cmCTestSVN.
|
|
|
|
|
| |
This method will help VCS tool subclasses run child processes and log
the output while parsing it.
|
|
|
|
|
|
| |
This adds the OPTIONAL option to the install(DIRECTORY) command. It
tells the installation rule that it is not an error if the source
directory does not exist. See issue #8394.
|
|
|
|
|
|
| |
We previously used several booleans with at most one set to true at a
time to track argument parsing state. This refactors it to use one
enumeration.
|
|
|
|
|
| |
This class has virtual methods and therefore should have a virtual
destructor.
|
|
|
|
|
|
| |
This class provides a RunProcess method to run a child process and send
its output to an abstract parsing interface. This also provides a
simple line parser and logger implementing the parsing interface.
|
|
|
|
|
| |
These cmCTestVC subclasses will implement interaction with CVS and SVN
tools.
|
|
|
|
|
| |
This creates cmCTestVC, the base for a forthcoming class hierarchy to
interact with version control systems.
|
| |
|
|
|
|
|
|
|
| |
In cmCTestUpdateHandler, this factors out version control tool detection
from the monolithic cmCTestUpdateHandler::ProcessHandler to separate
methods. This also places priority on detection of the tool managing
the source tree since using any other tool will cause errors.
|
|
|
|
|
|
| |
This moves the initial checkout code from the monolithic
cmCTestUpdateHandler::ProcessHandler to a separate method
cmCTestUpdateHandler::InitialCheckout.
|
| |
|
|
|
|
|
|
| |
Previously we pre-quoted the command line tool path. This avoids it by
quoting the command everywhere it is used, thus preserving access to the
original, unquoted command.
|
|
|
|
| |
generator. Fixes issue #8442. Thanks to Clinton Stimpson for the patch.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This adds documentation of the APPEND option to the configure, build,
test, memcheck, and coverage commands. The docs leave specific
semantics for the dashboard server to define.
|
|
|
|
|
|
| |
This corrects the terse documentation and adds detail to the full
documentation of some commands. It also normalizes the layout of the
documentation string endings to make adding lines easier.
|