Kitware Robot
7bbaa4283d
Remove trailing whitespace from most CMake and C/C++ code
...
Our Git commit hooks disallow modification or addition of lines with
trailing whitespace. Wipe out all remnants of trailing whitespace
everywhere except third-party code.
Run the following shell code:
git ls-files -z -- \
bootstrap doxygen.config '*.readme' \
'*.c' '*.cmake' '*.cpp' '*.cxx' \
'*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
'*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
egrep -z -v '^(Modules/CPack\..*\.in)' |
xargs -0 sed -i 's/ \+$//'
2012-08-13 14:18:39 -04:00
Alex Neundorf
9dbba1b464
Fix #12342 : Add APPEND_STRING option to set_property()
...
set_property() has APPEND, which creates a list. E.g. when
appending to COMPILE_FLAGS a string is needed, not a list.
With the APPEND_STRING option the value is append as string,
not as list.
Alex
2011-07-15 20:57:33 +02:00
Rolf Eike Beer
d95f817f77
Add the WORKING_DIRECTORY property to tests
2010-12-16 16:23:18 -05:00
Zach Mullen
767ffba8ff
Added RESOURCE_LOCK test property.
2010-03-02 15:38:02 -05:00
Zach Mullen
0477e97988
Move documentation for new set_tests_properties properties.
2009-12-17 14:34:47 -05:00
Brad King
96afb12087
Convert CMake to OSI-approved BSD License
...
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.
2009-09-28 11:43:28 -04:00
Brad King
0bc050677f
Record backtrace for every add_test command
...
We teach cmTest to hold a backtrace for the add_test command that
created it. This will be used later to report context for errors at
generate time.
2009-08-11 09:07:28 -04:00
Ken Martin
39e0e04416
ENH: change to CDASH
2009-08-04 13:16:30 -04:00
David Cole
601764feed
BUG: Fix documentation deficiency noted in issue #7885 . Thanks to Philip Lowman for the gist of the patch.
2009-04-03 11:41:33 -04:00
Brad King
9862f383d0
ENH: Add NAME mode to ADD_TEST command
...
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.
2009-03-16 10:51:30 -04:00
Brad King
606e6ff9cd
ENH: Refactor storage of test command lines
...
We used to separate the command executable from its argument vector.
It is simpler to just store the whole command line in one vector.
2009-03-16 10:42:40 -04:00
Brad King
377bebb910
ENH: Teach CTest to submit test property LABELS
...
This teaches CTest to send the test property "LABELS" in Test.xml
dashboard submissions as Label elements inside a Labels element.
2009-01-07 10:41:37 -05:00
Ken Martin
16f1cc9b59
ENH: support unset of properties
2008-04-01 14:22:09 -04:00
Brad King
caca9b8065
ENH: Add AppendProperty methods for use by C++ code in CMake. Simplify implementation of SET_PROPERTY command by using them.
2008-01-17 18:13:55 -05:00
Amitha Perera
4d9259c15b
STYLE: Spelling fixes on documentation
2008-01-09 22:09:19 -05:00
Ken Martin
2f84bd1758
ENH: added per test timeout support
2007-01-25 11:16:16 -05:00
Ken Martin
f056de555d
BUG: fix missing return value
2006-12-07 10:22:19 -05:00
Ken Martin
27379d7b08
ENH: make properties a bit more formal with documentation and chaining
2006-12-07 09:45:32 -05:00
Bill Hoffman
bb08b88cc4
ENH: make sure command is unix style as it may have been sent into cmake as a windows path
2006-04-25 08:34:30 -04:00
Ken Martin
3d96e52261
STYLE: some m_ to this-> cleanup
2006-03-15 11:02:08 -05:00
Andy Cedilnik
bebc745824
ENH: Add set and get test propety command
2005-07-31 11:51:42 -04:00
Andy Cedilnik
d395b563ed
ENH: Improve internal test handling by creating a test class. Command 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
2005-04-24 15:59:51 -04:00