summaryrefslogtreecommitdiffstats
path: root/Tests/BundleTest
Commit message (Collapse)AuthorAgeFilesLines
* Revise C++ coding style using clang-formatKitware Robot2016-05-162-22/+17
| | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/BundleTest: Drop use of ChangeLog.txtBrad King2014-02-073-5/+5
| | | | | The test just wants a source file from outside its tree. Use README.rst instead.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-5/+5
| | | | | | | | | | | | | | | | | 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-57/+57
| | | | | | | | | | | | | | | | | 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
* Removed most usage of Carbon in favour of CoreFoundationSean McBride2011-01-313-11/+11
|
* ENH: Add indirect dependency to Carbon and call a Carbon function from ↵David Cole2008-09-023-2/+31
| | | | executable. This will allow detecting broken dependency chaining for '-framework blah' style lib dependencies.
* ENH: Changes that allow configuring/building BundleTest test separately from ↵David Cole2008-08-272-5/+5
| | | | the main CMake build. (Eliminate reference to CMake_SOURE_DIR.)
* ENH: preclean some warningsKen Martin2008-03-251-0/+1
|
* ENH: Add InstallNameFixupPath to support installing built frameworks on the ↵David Cole2007-08-242-6/+6
| | | | Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572.
* ENH: Improve the test to create a bundle in the subdirectoryAndy Cedilnik2006-07-062-1/+40
|
* BUG: If the source file specified is not in a source tree, do not use full ↵Andy Cedilnik2006-07-052-1/+5
| | | | path to the file
* ENH: add a test for find framework stuff in find_library, and fix the ↵Bill Hoffman2006-03-291-0/+31
| | | | framework search stuff
* ENH: Check if files existAndy Cedilnik2006-03-282-4/+67
|
* ENH: Add support for adding content to bundlesAndy Cedilnik2006-03-283-1/+37
|
* ENH: Add package to bundle testAndy Cedilnik2006-03-101-0/+3
|
* BUG: Fixed installation of MacOSX Bundle executables and the corresponding ↵Brad King2006-03-033-1/+26
| | | | install_name remapping support. Extended the BundleTest test to check that this all works. Part of these fixes required changing the signature of AppendDirectoryForConfig in all generators. It now accepts prefix and suffix strings to deal with whether leading or trailing slashes should be included with the configuration subdirectory.
* ENH: add a bundle testBill Hoffman2005-07-132-0/+8