summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ExternalData/BadCustom3-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-13 15:03:56 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-15 15:48:09 (GMT)
commit0fe4d8bb3b9e8074f7efd95ae92fa32fe29a2c02 (patch)
tree57fe3394bf95b2c1ccf758d568cb366259006213 /Tests/RunCMake/ExternalData/BadCustom3-stderr.txt
parent945571db747fd09036d0efd55b538dd4b3c8b874 (diff)
downloadCMake-0fe4d8bb3b9e8074f7efd95ae92fa32fe29a2c02.zip
CMake-0fe4d8bb3b9e8074f7efd95ae92fa32fe29a2c02.tar.gz
CMake-0fe4d8bb3b9e8074f7efd95ae92fa32fe29a2c02.tar.bz2
ExternalData: Add support for custom download scripts
Add support for a special URL template to map the fetch operation to a project-specified .cmake script insead of using file(DOWNLOAD). Extend the Module.ExternalData test to cover the behavior. Extend the RunCMake.ExternalData test to cover error cases.
Diffstat (limited to 'Tests/RunCMake/ExternalData/BadCustom3-stderr.txt')
-rw-r--r--Tests/RunCMake/ExternalData/BadCustom3-stderr.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/ExternalData/BadCustom3-stderr.txt b/Tests/RunCMake/ExternalData/BadCustom3-stderr.txt
new file mode 100644
index 0000000..460814b
--- /dev/null
+++ b/Tests/RunCMake/ExternalData/BadCustom3-stderr.txt
@@ -0,0 +1,7 @@
+^CMake Error at .*/Modules/ExternalData.cmake:[0-9]+ \(message\):
+ No ExternalData_CUSTOM_SCRIPT_MissingKey is set for URL template:
+
+ ExternalDataCustomScript://MissingKey/%\(algo\)/%\(hash\)
+Call Stack \(most recent call first\):
+ BadCustom3.cmake:[0-9]+ \(ExternalData_Add_Target\)
+ CMakeLists.txt:[0-9]+ \(include\)$