mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Tests: CREATE_LINK subcommand negative test case
This commit is contained in:
committed by
Brad King
parent
45aa9c65a1
commit
e68ea269d7
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1,4 @@
|
||||
CMake Error at CREATE_LINK-noarg\.cmake:[0-9]+ \(file\):
|
||||
file CREATE_LINK must be called with at least two additional arguments
|
||||
Call Stack \(most recent call first\):
|
||||
CMakeLists\.txt:[0-9]+ \(include\)
|
||||
@@ -0,0 +1 @@
|
||||
file(CREATE_LINK ${CMAKE_CURRENT_LIST_FILE})
|
||||
@@ -1,6 +1,7 @@
|
||||
include(RunCMake)
|
||||
|
||||
run_cmake(CREATE_LINK)
|
||||
run_cmake(CREATE_LINK-noarg)
|
||||
run_cmake(CREATE_LINK-noexist)
|
||||
run_cmake(DOWNLOAD-hash-mismatch)
|
||||
run_cmake(DOWNLOAD-unused-argument)
|
||||
|
||||
Reference in New Issue
Block a user