summaryrefslogtreecommitdiff
path: root/Tests/TestsWorkingDirectory
Commit message (Collapse)AuthorAgeFilesLines
* Tests: bump cmake_minimum_required version to 2.8.12Rolf Eike Beer2021-04-051-1/+1
| | | | | This needlessly produces warnings during the test runs that no-one sees but that are distracting when actually inspecting the logs.
* 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.
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-11/+12
| | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * 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.
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-17/+13
| | | | | | | | | | | | | 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.
* Tests: Sort includes of sys/types.h as clang-format wouldBrad King2016-05-031-1/+1
|
* 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>
* Fix XCode -> Xcode typos, notably in man page (#12231)Sean McBride2011-05-312-4/+4
|
* Add more tests for WorkingDirectory for testsBen Boeckel2011-01-202-1/+36
|
* Pass the expected value as the first argumentBen Boeckel2011-01-032-23/+7
| | | | | When the path has regular expression special characters, the PASS_REGULAR_EXPRESSION value can fail to compile.
* Make TestsWorkingDirectory test a C fileBen Boeckel2010-12-172-11/+11
|
* Use iostream to make Borland happyBen Boeckel2010-12-171-4/+5
| | | | | It seems as though cstdio doesn't bring in stdio.h with the Borland compilers.
* Fully specify the path to old-signature add_testBen Boeckel2010-12-171-2/+2
|
* Group adding tests with its propertiesBen Boeckel2010-12-171-6/+4
|
* Only test the default cwd with MakefilesBen Boeckel2010-12-171-0/+6
| | | | | | | | | | | XCode and Visual Studio generators can run from ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_BUILD_TYPE} and determining this at testing time is not feasible without adding in more PASS_REGULAR_EXPRESSION's which may create false positives. Since the parsing code is in cross-platform, generator-agnostic code, if it passes with Makefiles, it should work with other generators on other platforms.
* Simplify the _default_cwd derivationBen Boeckel2010-12-171-5/+3
|
* Use --><-- markers to denote the pathBen Boeckel2010-12-172-7/+7
|
* Flip slashes around on WindowsBen Boeckel2010-12-171-0/+7
|
* Add ctype.h include for toupper()Ben Boeckel2010-12-171-0/+1
|
* Fix header includes for C++ and Visual StudioBen Boeckel2010-12-171-2/+3
|
* Rename the project to match the testBen Boeckel2010-12-161-1/+1
|
* Add tests for WORKING_DIRECTORY arg to add_testBen Boeckel2010-12-161-0/+21
|
* Rename WorkingDirectory testBen Boeckel2010-12-162-0/+85