summaryrefslogtreecommitdiffstats
path: root/Source/cmAddTestCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'drop-ancient-workarounds'Brad King2015-01-121-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f7bdd61 Remove VS 6 special case. 5e92c826 Remove some obsolete stuff. 15e42bb2 cmStandardIncludes: Remove obsolete cmOStringStream. 931e055d Port all cmOStringStream to std::ostringstream. f194a009 Remove unused cmIStringStream class. 3ec1bb15 cmStandardIncludes: Remove std namespace hack. bb3bce70 cmStandardIncludes: Remove ANSI_FOR_SCOPE hack. 28fa4923 cmStandardIncludes: Remove iostreams workaround for obsolete Compaq compiler. 837a8a63 cmStandardIncludes: Drop Comeau-related workaround. 4030ddfd Remove Borland-related undef. 17d6a6fd cmStandardIncludes: Remove comment about Borland. 26fb5011 Drop SGI as a CMake host compiler.
| * Port all cmOStringStream to std::ostringstream.Stephen Kelly2015-01-111-3/+3
| | | | | | | | All compilers hosting CMake support the std class.
* | Use insert instead of a loop in some cases.Stephen Kelly2015-01-111-5/+1
|/ | | | | | Limit this change to inserting into a vector from a vector. A follow up change can use insert for inserting into a set.
* Remove some c_str() calls.Stephen Kelly2014-03-111-7/+7
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* Only set the property if the property was givenBen Boeckel2011-01-201-5/+6
|
* Default the working dir to the current binary dirBen Boeckel2011-01-201-2/+4
| | | | Keep backwards compatability with CMake <= 2.8.3.
* Add WORKING_DIRECTORY argument to add_testBen Boeckel2010-12-161-0/+17
|
* 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.
* ENH: Add NAME mode to ADD_TEST commandBrad King2009-03-161-1/+110
| | | | | | | | This creates command mode add_test(NAME ...). This signature is extensible with more keyword arguments later. The main purpose is to enable automatic replacement of target names with built target file locations. A side effect of this feature is support for tests that only run under specific configurations.
* ENH: Refactor storage of test command linesBrad King2009-03-161-9/+6
| | | | | We used to separate the command executable from its argument vector. It is simpler to just store the whole command line in one vector.
* ENH: Refactor generation of CTestTestfile contentBrad King2009-03-161-1/+10
| | | | | | | | | This moves code which generates ADD_TEST and SET_TESTS_PROPERTIES calls into CTestTestfile.cmake files out of cmLocalGenerator and into a cmTestGenerator class. This will allow more advanced generation without cluttering cmLocalGenerator. The cmTestGenerator class derives from cmScriptGenerator to get support for per-configuration script generation (not yet enabled).
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* STYLE: fix line lengthKen Martin2006-05-101-4/+3
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-1/+1
|
* COMP: Fix problem on compilers that cannot implicitly convert std::string to ↵Andy Cedilnik2005-04-241-1/+5
| | | | cmStdString
* ENH: Improve internal test handling by creating a test class. Command ↵Andy Cedilnik2005-04-241-61/+9
| | | | cmEnableTesting now only sets CMAKE_TESTING_ENABLED and cmAddTest only adds a test to the list. The actual test files are written by local generator. This way we can at some point in the future replace DartTestfile with some XML file
* BUG: By default disable new files.Andy Cedilnik2005-04-041-3/+3
|
* ENH: More ctest changes and move SetupTest to superclassAndy Cedilnik2005-04-011-1/+1
|
* ENH: Start adding support for CTest testfilesAndy Cedilnik2005-04-011-1/+8
|
* ENH: big change that includes immediate subdir support, removing the notion ↵Ken Martin2005-03-181-1/+1
| | | | of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
* BUG: Cannot add extra escapes for backslashes because it makes the behavior ↵Brad King2003-11-041-2/+4
| | | | inconsistent with previous versions of cmake.
* BUG#259: ADD_TEST command generated in DartTestfile.txt now quotes/escapes ↵Brad King2003-11-031-7/+12
| | | | all arguments.
* BUG: Backing out previous change until a deeper problem can be investigated.Brad King2003-10-301-10/+9
|
* BUG#259: Do not double quote arguments if they are already quoted when ↵Brad King2003-10-301-9/+10
| | | | writing DartTestfile.txt.
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-2/+1
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-11/+11
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* removed some includesKen Martin2002-09-271-1/+0
|
* make sure ; expansion is done in all commandsBill Hoffman2002-03-291-7/+1
|
* ENH: expand variables in arguments before the commands get themBill Hoffman2002-03-051-3/+1
|
* FIX: command now expands args during the first pass (found through FOREACH ↵Sebastien Barre2002-02-261-9/+11
| | | | example)
* ENH: fix for spaces in paths on unixBill Hoffman2002-02-221-1/+8
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-1/+1
| | | | avoid changes to the file cache
* BUG: ADD_TEST now only does stuff if ENABLE_TESTING has been run.Amitha Perera2001-08-231-18/+22
|
* ENH: Changed generated filename to DartTestfile.txtJim Miller2001-06-191-1/+1
|
* ENH: move utilities to targets from makefile, and add versioning to cacheBill Hoffman2001-06-071-1/+1
|
* FIX: InitialPass() seg fault on std::copy and FinalPass() was not appending ↵Jim Miller2001-06-061-3/+4
| | | | to the file
* added enable testing deprecated some commandsKen Martin2001-06-061-4/+39
|
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* New cmake command to specify a single testJim Miller2001-06-061-0/+69