mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-16 20:21:41 -06:00
Tests: CREATE_LINK subcommand negative test case
This commit is contained in:
committed by
Brad King
parent
45aa9c65a1
commit
e68ea269d7
1
Tests/RunCMake/file/CREATE_LINK-noarg-result.txt
Normal file
1
Tests/RunCMake/file/CREATE_LINK-noarg-result.txt
Normal file
@@ -0,0 +1 @@
|
||||
1
|
||||
4
Tests/RunCMake/file/CREATE_LINK-noarg-stderr.txt
Normal file
4
Tests/RunCMake/file/CREATE_LINK-noarg-stderr.txt
Normal file
@@ -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\)
|
||||
1
Tests/RunCMake/file/CREATE_LINK-noarg.cmake
Normal file
1
Tests/RunCMake/file/CREATE_LINK-noarg.cmake
Normal file
@@ -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