diff options
author | Brad King <brad.king@kitware.com> | 2020-10-26 14:30:54 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-10-26 14:31:11 (GMT) |
commit | d67f47109c71503edfe5b9ff93333c9eff0b1f75 (patch) | |
tree | e0c99526270de63641b0d374bbfacac6b0d55951 /Tests | |
parent | 223eb0226e04ed2d771ec10a2db6db3d4074b737 (diff) | |
parent | ae7c81c6226cea5ae2fb5af53fa0d5a7b4bd3990 (diff) | |
download | CMake-d67f47109c71503edfe5b9ff93333c9eff0b1f75.zip CMake-d67f47109c71503edfe5b9ff93333c9eff0b1f75.tar.gz CMake-d67f47109c71503edfe5b9ff93333c9eff0b1f75.tar.bz2 |
Merge topic 'ExternalData-suppress-progress'
ae7c81c622 ExternalData: add support for suppressing progress during the build
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5413
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/ExternalData/BadArguments-stderr.txt | 7 | ||||
-rw-r--r-- | Tests/RunCMake/ExternalData/BadArguments.cmake | 5 | ||||
-rw-r--r-- | Tests/RunCMake/ExternalData/RunCMakeTest.cmake | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/Tests/RunCMake/ExternalData/BadArguments-stderr.txt b/Tests/RunCMake/ExternalData/BadArguments-stderr.txt new file mode 100644 index 0000000..44efe7e --- /dev/null +++ b/Tests/RunCMake/ExternalData/BadArguments-stderr.txt @@ -0,0 +1,7 @@ +CMake Warning \(dev\) at .*/Modules/ExternalData.cmake:[0-9]+ \(message\): + Ignoring unrecognized arguments passed to ExternalData_add_target: + `UNKNOWN_ARGUMENT` +Call Stack \(most recent call first\): + BadArguments.cmake:[0-9]+ \(ExternalData_Add_Target\) + CMakeLists.txt:[0-9]+ \(include\) +This warning is for project developers. Use -Wno-dev to suppress it. diff --git a/Tests/RunCMake/ExternalData/BadArguments.cmake b/Tests/RunCMake/ExternalData/BadArguments.cmake new file mode 100644 index 0000000..dad0007 --- /dev/null +++ b/Tests/RunCMake/ExternalData/BadArguments.cmake @@ -0,0 +1,5 @@ +include(ExternalData) +set(ExternalData_URL_TEMPLATES + "file:///path/to/%(algo)/%(hash)" + ) +ExternalData_Add_Target(Data UNKNOWN_ARGUMENT) diff --git a/Tests/RunCMake/ExternalData/RunCMakeTest.cmake b/Tests/RunCMake/ExternalData/RunCMakeTest.cmake index b5ab22d..b4cc95e 100644 --- a/Tests/RunCMake/ExternalData/RunCMakeTest.cmake +++ b/Tests/RunCMake/ExternalData/RunCMakeTest.cmake @@ -2,6 +2,7 @@ include(RunCMake) run_cmake(BadAlgoMap1) run_cmake(BadAlgoMap2) +run_cmake(BadArguments) run_cmake(BadCustom1) run_cmake(BadCustom2) run_cmake(BadCustom3) |