diff options
author | Brad King <brad.king@kitware.com> | 2022-07-18 20:55:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-22 14:32:24 (GMT) |
commit | 74ec6b63c255fc18aa58b6f9d1013510c1efe2db (patch) | |
tree | 33875473db03a1498487cbdd4f200e953d649990 /Tests/RunCMake/file-CHMOD | |
parent | e56108f629f0719429487b51ff952e80138949fa (diff) | |
download | CMake-74ec6b63c255fc18aa58b6f9d1013510c1efe2db.zip CMake-74ec6b63c255fc18aa58b6f9d1013510c1efe2db.tar.gz CMake-74ec6b63c255fc18aa58b6f9d1013510c1efe2db.tar.bz2 |
cmFileCommand: Report keyword errors via argument parser results
Diffstat (limited to 'Tests/RunCMake/file-CHMOD')
-rw-r--r-- | Tests/RunCMake/file-CHMOD/missing-dir-perms-stderr.txt | 4 | ||||
-rw-r--r-- | Tests/RunCMake/file-CHMOD/missing-file-perms-stderr.txt | 4 | ||||
-rw-r--r-- | Tests/RunCMake/file-CHMOD/missing-perms-stderr.txt | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/Tests/RunCMake/file-CHMOD/missing-dir-perms-stderr.txt b/Tests/RunCMake/file-CHMOD/missing-dir-perms-stderr.txt index 2672462..c05bb2d 100644 --- a/Tests/RunCMake/file-CHMOD/missing-dir-perms-stderr.txt +++ b/Tests/RunCMake/file-CHMOD/missing-dir-perms-stderr.txt @@ -1,3 +1,5 @@ ^CMake Error at [^ ]*/missing-dir-perms.cmake:[0-9]+ \(file\): - file DIRECTORY_PERMISSIONS is not given any arguments$ + Error after keyword "DIRECTORY_PERMISSIONS": + + missing required value$ diff --git a/Tests/RunCMake/file-CHMOD/missing-file-perms-stderr.txt b/Tests/RunCMake/file-CHMOD/missing-file-perms-stderr.txt index ae4132f..c3f4f0f 100644 --- a/Tests/RunCMake/file-CHMOD/missing-file-perms-stderr.txt +++ b/Tests/RunCMake/file-CHMOD/missing-file-perms-stderr.txt @@ -1,3 +1,5 @@ ^CMake Error at [^ ]*/missing-file-perms.cmake:[0-9]+ \(file\): - file FILE_PERMISSIONS is not given any arguments$ + Error after keyword "FILE_PERMISSIONS": + + missing required value$ diff --git a/Tests/RunCMake/file-CHMOD/missing-perms-stderr.txt b/Tests/RunCMake/file-CHMOD/missing-perms-stderr.txt index fd88e7f..1508b13 100644 --- a/Tests/RunCMake/file-CHMOD/missing-perms-stderr.txt +++ b/Tests/RunCMake/file-CHMOD/missing-perms-stderr.txt @@ -1,3 +1,5 @@ ^CMake Error at [^ ]*/missing-perms.cmake:[0-9]+ \(file\): - file PERMISSIONS is not given any arguments$ + Error after keyword "PERMISSIONS": + + missing required value$ |