summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/FileTest.cmake.in
Commit message (Collapse)AuthorAgeFilesLines
* file: Add support for SHA-3 algorithmsBrad King2016-11-101-0/+12
|
* CMake: Add TIMESTAMP subcommand to string and file commandsNils Gladitz2012-12-051-0/+12
|
* Add test to secure the file(GLOB empty) behavior.Amine Chadly2012-11-021-0/+5
|
* file: remove dead codeAmine Chadly2012-11-021-0/+6
| | | | | | The file command requires at least two arguments, so guarding the GLOB and MAKE_DIRECTORY command is not necessary. Changed it for an assert to keep the protection.
* Fix CMake.File hash test for CRLF checkoutsBrad King2011-11-161-6/+6
| | | | | Use a dedicated test input file for the file() hash API tests. Set attribute crlf=input so it is always checked out correctly.
* Add file(SHA*) commands to compute cryptographic hashesBrad King2011-11-161-0/+15
| | | | Add a file() command API for SHA1, SHA224, SHA256, SHA384, and SHA512.
* Add file(MD5) command to compute cryptographic hashBrad King2011-11-161-0/+15
| | | | | Provide a CMake-language binding to the md5sum function previously available only by "cmake -E md5sum".
* Implement file(UPLOAD (#11286)David Cole2011-02-251-1/+1
| | | | Including documentation and testing, of course.
* Remove the rpath_remove_file_is_not_executable test case. It fails on ↵David Cole2009-10-171-1/+1
| | | | Windows, but passes on Linux. Put back later after addressing inconsistency.
* Fixed issues with message text in FILE command error situations. Added many ↵David Cole2009-10-171-1/+1
| | | | new test cases to increase the coverage of the FILE command even further.
* Add more testing coverage of the FILE command.David Cole2009-10-161-0/+19
|
* Factor out CMake.File test result check for re-useBrad King2009-09-161-35/+10
| | | | | | | The CMake.File test runs several scripts through "cmake -P" and checks the output and result against known good values. This commit factors out the checking code into a separate CMakeCheckTest module. The module may be used by new tests.
* BUG: Fix CMake.File test for deep dir nameBrad King2009-04-291-1/+1
| | | | | This fixes the regex checking expected output of Copy-NoFile to account for line wrapping when the input directory name is long.
* ENH: Test file(COPY) failure casesBrad King2009-04-291-0/+50
This tests some cases of bad arguments to the file(COPY) signature. It checks that the proper error messages are produced.