summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/File_Generate
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-06-30 13:45:02 (GMT)
committerBrad King <brad.king@kitware.com>2022-07-05 20:56:06 (GMT)
commitbff468c988510196f9942d7e007fb2d8b6255ccb (patch)
tree3e8485b210a21fafa5e9a6f73d65b568b2e58abe /Tests/RunCMake/File_Generate
parent2586afa31bbbbe174ce1dac9549c0d8671ff5567 (diff)
downloadCMake-bff468c988510196f9942d7e007fb2d8b6255ccb.zip
CMake-bff468c988510196f9942d7e007fb2d8b6255ccb.tar.gz
CMake-bff468c988510196f9942d7e007fb2d8b6255ccb.tar.bz2
cmFileCommand: Use cm::optional for keyword argument presence
Diffstat (limited to 'Tests/RunCMake/File_Generate')
-rw-r--r--Tests/RunCMake/File_Generate/EmptyCondition1-stderr.txt4
-rw-r--r--Tests/RunCMake/File_Generate/NewLineStyle-NoArg-stderr.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/Tests/RunCMake/File_Generate/EmptyCondition1-stderr.txt b/Tests/RunCMake/File_Generate/EmptyCondition1-stderr.txt
index e823b25..4278bce 100644
--- a/Tests/RunCMake/File_Generate/EmptyCondition1-stderr.txt
+++ b/Tests/RunCMake/File_Generate/EmptyCondition1-stderr.txt
@@ -1,4 +1,6 @@
CMake Error at EmptyCondition1.cmake:2 \(file\):
- file Incorrect arguments to GENERATE subcommand.
+ file GENERATE keywords missing values:
+
+ CONDITION
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/File_Generate/NewLineStyle-NoArg-stderr.txt b/Tests/RunCMake/File_Generate/NewLineStyle-NoArg-stderr.txt
index bc71f2f..4059bf8 100644
--- a/Tests/RunCMake/File_Generate/NewLineStyle-NoArg-stderr.txt
+++ b/Tests/RunCMake/File_Generate/NewLineStyle-NoArg-stderr.txt
@@ -1,4 +1,6 @@
CMake Error at NewLineStyle-NoArg.cmake:[0-9]+ \(file\):
- file Incorrect arguments to GENERATE subcommand.
+ file GENERATE keywords missing values:
+
+ NEWLINE_STYLE
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)