summaryrefslogtreecommitdiff
path: root/Tests/LoadCommand
Commit message (Collapse)AuthorAgeFilesLines
* Tests: bump cmake_minimum_required version to 2.8.12Rolf Eike Beer2021-04-052-2/+2
| | | | | This needlessly produces warnings during the test runs that no-one sees but that are distracting when actually inspecting the logs.
* Fix typos identified using codespellJean-Christophe Fillion-Robin2020-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/codespell-project/codespell#readme The following command was used: ``` codespell -q6 --skip="\ .git,\ *.json,\ ./Copyright.txt,\ ./Help/command/foreach.rst,\ ./Help/prop_test/REQUIRED_FILES.rst,\ ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\ ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\ ./Modules/CMakeRCInformation.cmake,\ ./Modules/Internal/CPack/NSIS.template.in,\ ./Modules/FindMatlab.cmake,\ ./Modules/MatlabTestsRedirect.cmake,\ ./Modules/Platform/Windows-Clang.cmake,\ ./Modules/Platform/Windows-Intel-Fortran.cmake,\ ./Modules/Platform/Windows-MSVC.cmake,\ ./Source/CMakeVersion.cmake,\ ./Source/cmConvertMSBuildXMLToJSON.py,\ ./Source/cmCreateTestSourceList.cxx,\ ./Source/cmGlobalVisualStudio10Generator.cxx,\ ./Source/cmExportBuildFileGenerator.cxx,\ ./Source/cmExportInstallAndroidMKGenerator.cxx,\ ./Source/cmExportInstallFileGenerator.cxx,\ ./Source/cmExportSet.cxx,\ ./Source/cmExportTryCompileFileGenerator.cxx,\ ./Source/cmFindPackageCommand.cxx,\ ./Source/cmInstallCommand.cxx,\ ./Source/cmGeneratorExpressionLexer.cxx,\ ./Source/cmLocalVisualStudio7Generator.cxx,\ ./Source/cmOrderDirectories.cxx,\ ./Source/cmTarget.cxx,\ ./Source/kwsys/*,\ ./Source/QtDialog/CMakeSetupDialog.ui,\ ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\ ./Source/CTest/cmParseCoberturaCoverage.h,\ ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\ ./Tests/RunCMake/GoogleTest/xml_output.cpp,\ ./Tests/RunCMake/Make/TargetMessages*,\ ./Utilities/*,\ " \ -L "\ dependees,\ endwhile,\ fo,\ filetest,\ helpfull,\ nd,\ objext,\ stoll,\ supercedes,\ superceded,\ vas,\ varn,\ " ```
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-1/+2
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* Tests: Remove ancient workaround in LoadCommand testsBrad King2017-10-041-7/+0
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-90/+56
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Format include directive blocks and ordering with clang-formatBrad King2016-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort include directives within each block (separated by a blank line) in lexicographic order (except to prioritize `sys/types.h` first). First run `clang-format` with the config file: --- SortIncludes: false ... Commit the result temporarily. Then run `clang-format` again with: --- SortIncludes: true IncludeCategories: - Regex: 'sys/types.h' Priority: -1 ... Commit the result temporarily. Start a new branch and cherry-pick the second commit. Manually resolve conflicts to preserve indentation of re-ordered includes. This cleans up the include ordering without changing any other style. Use the following command to run `clang-format`: $ git ls-files -z -- \ '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' | egrep -z -v '(Lexer|Parser|ParserHelper)\.' | egrep -z -v '^Source/cm_sha2' | egrep -z -v '^Source/(kwsys|CursesDialog/form)/' | egrep -z -v '^Utilities/(KW|cm).*/' | egrep -z -v '^Tests/Module/GenerateExportHeader' | egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' | xargs -0 clang-format -i This selects source files that do not come from a third-party. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
* Tests: Simplify LoadCommand testsBrad King2014-06-253-17/+0
| | | | | | 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.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-132-8/+8
| | | | | | | | | | | | | | | | | 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
* Convert CMake-language commands to lower caseKitware Robot2012-08-132-31/+31
| | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-132-28/+28
| | | | | | | | | | | | | | | | | 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/ \+$//'
* LoadCommand test: cleanupRolf Eike Beer2012-01-203-15/+0
| | | | | | 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.
* ENH: Remove CMAKE_ANSI_CFLAGS from testsBrad King2009-07-081-2/+0
| | | | | As of CMake 2.6 this variable is not defined, and the ANSI flags for the HP compiler are simply hard-coded in the default C flags.
* ENH: preclean some warningsKen Martin2008-03-252-0/+2
|
* BUG: Finish fixing test for new name.Brad King2007-05-191-13/+13
|
* BUG: fix project name for testBill Hoffman2007-05-191-1/+1
|
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-2/+8
|
* ENH: do not use c++ comments in c codeBill Hoffman2006-07-261-1/+1
|
* BUG: remove command causing issues with mid build reruns of cmake on vs70Ken Martin2006-07-251-3/+0
|
* ENH: trying a slight changeKen Martin2006-07-251-3/+3
|
* BUG: remove c++commentsKen Martin2006-07-251-2/+2
|
* BUG: temp fixKen Martin2006-07-241-1/+1
|
* ENH: add more coverageKen Martin2006-07-241-0/+18
|
* BUG: work around XCode issueKen Martin2006-07-213-3/+3
|
* ENH: increase coverage in a couple placesKen Martin2006-07-212-4/+36
|
* ENH: add support for watcom wmake and wcl386Bill Hoffman2006-01-172-7/+10
|
* ENH: increase coverage in loaded commandsKen Martin2005-09-202-6/+21
|
* ENH: use native Deployment and Development directoriesBill Hoffman2005-08-301-0/+1
|
* ENH: clean up loaded command test so you can tell what really failedBill Hoffman2004-10-253-14/+28
|
* FIX: fix RunSingleCommand to work with spaces in the path, and with an ↵Bill Hoffman2004-10-251-1/+5
| | | | already quoted command
* ENH: Remove warningAndy Cedilnik2004-05-031-0/+4
|
* ENH: fix warnings in testBill Hoffman2004-05-031-7/+8
|
* ENH: remove warnings in testsBill Hoffman2004-05-021-1/+1
|
* ENH: Add support for importing modules without specifying pathAndy Cedilnik2004-03-271-1/+1
|
* ENH: More coverageAndy Cedilnik2003-07-222-0/+86
|
* ENH: add a double try compile to fix crazy make on hpBill Hoffman2003-04-161-0/+7
|
* BUG: fixes for hpBill Hoffman2003-03-111-2/+9
|
* use module on all platformsBill Hoffman2003-01-151-5/+2
|
* ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency ↵Brad King2002-12-301-1/+1
| | | | with the macro name that is defined by the module.
* Speedup the testAndy Cedilnik2002-12-053-24/+13
|
* new plugin APIKen Martin2002-10-081-1/+1
|
* Check for libraryAndy Cedilnik2002-09-252-0/+6
|
* Fix problemAndy Cedilnik2002-09-231-1/+6
|
* Some minor fixes for macAndy Cedilnik2002-09-232-4/+4
|
* cleanupKen Martin2002-09-231-5/+1
|
* Fix test so that it will work on HPAndy Cedilnik2002-09-231-0/+3
|
* Include more testingAndy Cedilnik2002-09-202-3/+20
|
* Fix test so that it does some modules testing by checking for some functions ↵Andy Cedilnik2002-09-203-3/+33
| | | | and some size of types
* removed c++ style commentsKen Martin2002-09-201-4/+4
|
* test passing CMAKE_FLAGSKen Martin2002-09-183-1/+7
|
* removed targetKen Martin2002-09-181-1/+1
|