summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'setlocale'Brad King2014-06-131-1/+1
|\ | | | | | | | | c746b00e Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.
| * Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.Clinton Stimpson2014-06-121-1/+1
| | | | | | | | | | Changing all categories with LC_ALL causes test failures in some locales. For example, in some locales, the decimal characer could be a comma instead of period.
* | Merge topic 'fix-ctest-option-summary'Brad King2014-06-051-1/+2
|\ \ | |/ |/| | | | | 6446eb09 CTest: Added option description for --output-on-failure
| * CTest: Added option description for --output-on-failureNils Gladitz2014-06-051-1/+2
| | | | | | | | Without it the option list is cut short after --debug.
* | Encoding: Add setlocale() to applications.Clinton Stimpson2014-06-041-0/+3
|/ | | | See also bug #14934 where chinese characters could not be used with cpack.
* Use Encoding::CommandLineArguments for main() functions.Clinton Stimpson2014-01-041-1/+7
|
* Refactor internal resource location APIs and initializationBrad King2013-11-121-2/+1
| | | | | | | | | | | | | | | | | | | | Rename cmSystemTools::FindExecutableDirectory to FindCMakeResources. Teach it to compute the locations of cmake, ctest, cpack, ccmake, and cmake-gui executables, and the location of CMAKE_ROOT. Provide this information from static cmSystemTools::Get<resource>() methods. Refactor code that needs these locations to use the new APIs. Teach FindCMakeResources to use the OS X system API to lookup the executable location. When running from the CMake build tree itself, leave a file in the tree that FindCMakeResources can use to read the location of the source tree. This avoids the need to compile the source tree location into a binary that may be installed and used without the source tree. Teach the QtDialog on OS X to create a "cmake-gui" symlink in the build tree next to "cmake" and the other tools, as is already done in the install tree for the application bundle. This ensures a consistent set of executables are available in one directory.
* cmSystemTools: Drop old RunCommand methodBrad King2013-10-191-4/+0
| | | | | All calls to this method have been replaced by newer infrastructure. Remove it and the supporting cmWin32ProcessExecution class.
* Make --help-* options available from all command-line toolsBrad King2013-10-161-4/+4
| | | | | | | | | | | Make the standard --help-* options available from all command-line tools. Drop options that are no longer supported: --copyright, --help-full, --help-html, --help-man, --help-compatcommands, --help-custom-modules De-duplicate Help/manual/*.1.rst help options by using an OPTIONS_HELP.txt file included from each manual.
* Drop the 'Full' field from cmDocumentationEntryBrad King2013-10-161-205/+68
| | | | | We need only 'Brief' for usage documentation. We no longer have builtin 'Full' documentation, which is now in Help/*/*.rst files.
* Drop "full" documentation output typesBrad King2013-10-151-23/+0
| | | | | | | | | | | | | | | | We will no longer support full documentation generation from executables and will instead generate documentation with other tools. Disable (with a warning left behind) the command-line options: --copyright --help-compatcommands --help-full --help-html --help-man Drop supporting code. Drop manual sections generation from executables. Remove internal documentation construction APIs. Drop unused sections See Also, Author, Copyright, Compat Commands, Custom Modules.
* ctest: Add --rerun-failed optionZack Galbreath2013-10-081-0/+7
| | | | | | | | Add a new command line argument to ctest. This allows users to rerun tests that failed during the previous call to ctest. This is accomplished by analyzing the most recently modified file named "^LastTestsFailed*" in the Testing/Temporary subdirectory of the project's binary directory.
* CTest: Read CTEST_PARALLEL_LEVEL from environmentStephen Kelly2013-05-211-1/+2
| | | | | If no explicit "-j <n>" option is given on the command line then read the parallel level from an environment variable.
* Fix spelling and typos (affecting binary data / module messages)Andreas Mohr2013-05-071-3/+3
|
* Merge topic 'generator-toolset'Brad King2013-02-081-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56ca8d4 Tests: Add generator toolset support f36c665 Tests: Consolidate ctest --build-and-test generator options c0debb1 Merge branch 'master' into generator-toolset daae0d2 ExternalProject: Propagate the generator toolset e3841cf CTest: Add options to set generator toolset f980a80 Xcode: Implement generator toolset selection (#9831, #13802) 650c647 VS: Implement generator toolset selection (#10722, #13774) 4fd5342 CMake: Add -T option to choose a generator toolset 118c32f Merge branch 'xcode-duplicate-flags-13354' into generator-toolset cf8645e Tests: Run ctest custom commands with VERBATIM 5b2fba5 ExternalProject: Simplify CMake command line generation
| * CTest: Add options to set generator toolsetBrad King2013-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | The ctest_configure command already reads the CTEST_CMAKE_GENERATOR variable to get the value for the cmake -G option. Read new variable CTEST_CMAKE_GENERATOR_TOOLSET for -T. The "ctest --build-and-test" mode already has "--build-generator" to specify the -G option to CMake. Add a "--build-generator-toolset" option to specify the -T value.
* | Fail early if no current working directory existsBrad King2013-02-071-3/+2
|/ | | | | | | Remove the old "nocwd" behavior that attempts to provide the "--help" output when no working directory is available. The long help output scrolls the real error message out of typical terminal sizes. Also execute as little code as possible when no working directory exists.
* CTest: Extend -D command line arg handling for variable definitionsDavid Cole2012-06-241-0/+6
| | | | | | If the argument following -D is not a valid dashboard type string, then try to parse it as a "var:type=value" string just like cmake already does.
* CPack begin the implementation of --help-command* and --help-variables*Eric NOULARD2012-01-221-0/+1
| | | | | | This modifications set tries to keep the unified doc for cmake/ctest/cpack while introducing tool specific documentation separated. Some documentation sections for CMake do not fit well to CPack.
* Usage: Print help, version and copyright options in usage information.Nicolas Despres2011-10-231-1/+1
| | | | There were missing for ctest, cpack and ccmake.
* Usage: Document -j|--parallel option in help message.Nicolas Despres2011-10-231-0/+4
|
* Remove trailing white-spaces.Nicolas Despres2011-10-231-3/+3
|
* Added CTest command --print-labelsZach Mullen2010-08-311-1/+4
| | | | | | 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.
* Add the --stop-time argumentZach Mullen2010-03-171-0/+4
| | | | Unit test and script hook for STOP_TIME
* Added an option to conditionally attach files to a test submission only if ↵Zach Mullen2009-12-161-0/+4
| | | | the test does not pass. Also some preliminary changes for test output compression.
* Document new --http1.0 option.Zach Mullen2009-12-111-0/+3
|
* Document new timeout command line optionZach Mullen2009-11-301-0/+3
|
* BUG 9961: ctest --help should not display a Generators sectionZach Mullen2009-11-241-0/+1
|
* Doc --help-command, --help-command-list, --help-commands for ctest. (bug 9833)Zach Mullen2009-11-051-0/+7
|
* Fixed ctest doc typos. (bug 9836)Zach Mullen2009-11-041-5/+5
|
* Hook for scheduling tests in a random orderZach Mullen2009-10-291-0/+3
| | | | | This may help statistically detect implicit dependencies among unit tests while running in parallel.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Add label summary times to ctest default output. Also, remove parallel time ↵Bill Hoffman2009-09-111-0/+4
| | | | output. Add flag to disable label summary.
* Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵Zach Mullen2009-08-271-0/+3
| | | | for ctest
* ENH: add docs for command line ctestBill Hoffman2009-05-071-0/+8
|
* ENH: Create internal 'ctest --launch' toolBrad King2009-02-111-0/+9
| | | | | | | This creates an undocumented 'ctest --launch' mode. It launches a specified command and optionally records a failure in an xml fragment. We will optionally use this in CTest's Build stage to record per-rule build failure information when using Makefile generators.
* BUG: add output on failure to ctest #8255Bill Hoffman2009-01-181-0/+3
|
* ENH: add max width option to ctest ouptutBill Hoffman2008-09-221-1/+4
|
* ENH: read in old file formats Dart as wellKen Martin2008-01-311-1/+2
|
* ENH: use CTestTestfile.txtKen Martin2008-01-171-3/+2
|
* ENH: Centralized and globalized computation of CMake program locations. ↵Brad King2007-12-131-0/+1
| | | | This eliminates startup paths that failed to produce this information.
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-10/+10
| | | | there, also provides secitons for Variables now
* BUG: revert doc changes since VS7 cannot compile them, will implement them ↵Ken Martin2007-10-091-13/+13
| | | | in a different manner
* ENH: make documentation entries actually store their dataKen Martin2007-10-091-13/+13
|
* ENH: fix 2 ctest issues, do not use the build type of ctest to look for ↵Bill Hoffman2007-09-111-1/+1
| | | | config types, do not inherit pipes in child procs for ctest so it can kill them
* STYLE: create command documentation for ctestAlexander Neundorf2007-06-081-0/+8
| | | | | | | I think some of the cmake commands should be removed from ctest if possible, like add_executable etc. Alex
* ENH: support for --build-config-sample feature #1022Ken Martin2007-03-191-0/+4
|
* BUG: fixes so that --build-and-test will honor timeoutsKen Martin2007-01-301-2/+2
|
* ENH: added per test timeout supportKen Martin2007-01-251-1/+3
|
* ENH: Add support for special tracks, fix options of handlers so that the -R, ↵Andy Cedilnik2006-04-281-0/+5
| | | | -U, and so on work in the new style scripting