mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
file(CONFIGURE): Add test cases covering missing mandatory options
This commit is contained in:
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1,4 @@
|
||||
^CMake Error at NoArgContent.cmake:[0-9]+ \(file\):
|
||||
file CONFIGURE CONTENT option is mandatory.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:[0-9]+ \(include\)$
|
||||
@@ -0,0 +1 @@
|
||||
file(CONFIGURE OUTPUT "")
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1,4 @@
|
||||
^CMake Error at NoArgOutput.cmake:[0-9]+ \(file\):
|
||||
file CONFIGURE OUTPUT option is mandatory.
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists.txt:[0-9]+ \(include\)$
|
||||
@@ -0,0 +1 @@
|
||||
file(CONFIGURE CONTENT "")
|
||||
@@ -9,6 +9,8 @@ run_cmake(DirOutput)
|
||||
run_cmake(NewLineStyle-NoArg)
|
||||
run_cmake(NewLineStyle-ValidArg)
|
||||
run_cmake(NewLineStyle-WrongArg)
|
||||
run_cmake(NoArgOutput)
|
||||
run_cmake(NoArgContent)
|
||||
run_cmake(SubDir)
|
||||
run_cmake(AtOnly)
|
||||
run_cmake(EscapeQuotes)
|
||||
|
||||
Reference in New Issue
Block a user