summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/get_filename_component/UnknownComponent.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-04-16 13:27:51 (GMT)
committerBrad King <brad.king@kitware.com>2013-04-16 13:35:29 (GMT)
commitec1ba9b0ae27a5731b98fecab648fa3edcfcffa2 (patch)
tree92bf0ea6452a8f76035dc75ecf3972e0934c8a01 /Tests/RunCMake/get_filename_component/UnknownComponent.cmake
parentdf71f968cd269854ab15147b012b6f07b1da6109 (diff)
downloadCMake-ec1ba9b0ae27a5731b98fecab648fa3edcfcffa2.zip
CMake-ec1ba9b0ae27a5731b98fecab648fa3edcfcffa2.tar.gz
CMake-ec1ba9b0ae27a5731b98fecab648fa3edcfcffa2.tar.bz2
get_filename_component: Add explicit unit tests
Add test RunCMake.get_filename_component to cover cases of the command. Remove redundant coverage of these cases from the "complex" tests.
Diffstat (limited to 'Tests/RunCMake/get_filename_component/UnknownComponent.cmake')
-rw-r--r--Tests/RunCMake/get_filename_component/UnknownComponent.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/get_filename_component/UnknownComponent.cmake b/Tests/RunCMake/get_filename_component/UnknownComponent.cmake
new file mode 100644
index 0000000..06abc51
--- /dev/null
+++ b/Tests/RunCMake/get_filename_component/UnknownComponent.cmake
@@ -0,0 +1 @@
+get_filename_component(var "/path/to/filename.ext.in" BOGUS)