diff options
author | Brad King <brad.king@kitware.com> | 2013-11-12 21:13:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-12 21:35:26 (GMT) |
commit | 2bbf6bd7f880ee618dd1260d784ba88b042dbf89 (patch) | |
tree | f23a7a824eff40333b2203e5c467d247db9b5078 /Tests/CMakeLists.txt | |
parent | 3ee67d0df93a37c3026e857be48b9dfdd580062f (diff) | |
download | CMake-2bbf6bd7f880ee618dd1260d784ba88b042dbf89.zip CMake-2bbf6bd7f880ee618dd1260d784ba88b042dbf89.tar.gz CMake-2bbf6bd7f880ee618dd1260d784ba88b042dbf89.tar.bz2 |
Copyright.txt: Add test to check year range
Add a CMake.Copyright test that, when the CMake version number knows the
year (as it does in development versions), checks that Copyright.txt has
been updated with the current version year.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index d4a55fc..063ad11 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -161,6 +161,9 @@ if(BUILD_TESTING) set(CMAKE_LONG_TEST_TIMEOUT 1500) endif() + add_test(NAME CMake.Copyright + COMMAND cmake -P ${CMAKE_CURRENT_SOURCE_DIR}/CMakeCopyright.cmake) + # add a bunch of standard build-and-test style tests ADD_TEST_MACRO(CommandLineTest CommandLineTest) ADD_TEST_MACRO(FindPackageTest FindPackageTest) |