Brad King
e55d69cf5a
Tests: Remove ancient workaround in LoadCommand tests
2017-10-04 09:42:52 -04:00
Brad King
5c10514059
Tests: Simplify LoadCommand tests
...
Drop out-of-place coverage of CheckFunctionExists module. The "printf"
symbol is not available on VS 14 without including the <stdio.h> header
to get a definition.
2014-06-25 15:27:01 -04:00
Kitware Robot
9db3116226
Remove CMake-language block-end command arguments
...
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the
block. This is no longer the preferred style.
Run the following shell code:
for c in else endif endforeach endfunction endmacro endwhile; do
echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04:00
Kitware Robot
77543bde41
Convert CMake-language commands to lower case
...
Ancient CMake versions required upper-case commands. Later command
names became case-insensitive. Now the preferred style is lower-case.
Run the following shell code:
cmake --help-command-list |
grep -v "cmake version" |
while read c; do
echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04:00
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
Rolf Eike Beer
1531c11168
LoadCommand test: cleanup
...
This removes some useless checking. The results of these things are never
properly checked so they should not count as testcases. At the end they only
needlessly clutter the output.
2012-01-20 18:31:32 +01:00
Ken Martin
ce8810c4e7
ENH: preclean some warnings
2008-03-25 11:27:18 -04:00
Brad King
5e45ca6fbf
BUG: Finish fixing test for new name.
2007-05-19 10:15:24 -04:00
Bill Hoffman
e2ea9391e6
BUG: fix project name for test
2007-05-19 10:10:29 -04:00
Ken Martin
ad748ce26e
BUG: work around XCode issue
2006-07-21 14:05:32 -04:00
Ken Martin
0189ce3424
ENH: increase coverage in a couple places
2006-07-21 10:26:05 -04:00
Ken Martin
8607e8008b
ENH: increase coverage in loaded commands
2005-09-20 12:50:27 -04:00
Bill Hoffman
62ae06081e
ENH: use native Deployment and Development directories
2005-08-30 13:58:46 -04:00
Bill Hoffman
5eda379907
ENH: clean up loaded command test so you can tell what really failed
2004-10-25 15:08:05 -04:00
Andy Cedilnik
451522381d
ENH: Add support for importing modules without specifying path
2004-03-27 19:52:34 -05:00
Bill Hoffman
a41e31b536
ENH: add a double try compile to fix crazy make on hp
2003-04-16 13:33:33 -04:00
Bill Hoffman
0f19623edd
BUG: fixes for hp
2003-03-11 15:25:50 -05:00
Brad King
ea1467d056
ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module.
2002-12-30 11:02:31 -05:00
Andy Cedilnik
8d20322160
Speedup the test
2002-12-05 11:55:53 -05:00
Andy Cedilnik
332c653586
Check for library
2002-09-25 10:08:46 -04:00
Andy Cedilnik
571c483ad8
Include more testing
2002-09-20 14:17:32 -04:00
Andy Cedilnik
50423a779e
Fix test so that it does some modules testing by checking for some functions and some size of types
2002-09-20 13:17:59 -04:00
Ken Martin
eab24670e3
test passing CMAKE_FLAGS
2002-09-18 11:38:15 -04:00
Ken Martin
40a99bcd1a
removed target
2002-09-18 08:07:53 -04:00
Ken Martin
40fd3b83dc
some cleanup
2002-09-17 09:16:04 -04:00
Ken Martin
e4690b6df2
minor fix in error message
2002-09-17 08:29:42 -04:00
Ken Martin
885f55b3d0
load command test
2002-09-16 16:27:00 -04:00