CMake/Tests/RunCMake/ExternalData/BadAlgoMap2-stderr.txt
Brad King f7f4ca55bd ExternalData: Add support for custom algorithm-to-URL mapping
Allow URL templates to contain a %(algo:<key>) placeholder that is
replaced by mapping the canonical hash algorithm name through a map
defined by the <key>.

Extend the Module.ExternalData test to cover the behavior.
Extend the RunCMake.ExternalData test to cover error cases.
2015-02-25 08:28:05 -05:00

10 lines
335 B
Plaintext

CMake Error at .*/Modules/ExternalData.cmake:[0-9]+ \(message\):
Bad %\(algo:0BadMap\(\) in URL template:
file:///path/to/%\(algo:0BadMap\(\)/%\(hash\)
The transform name must be a valid C identifier.
Call Stack \(most recent call first\):
BadAlgoMap2.cmake:[0-9]+ \(ExternalData_Add_Target\)
CMakeLists.txt:3 \(include\)