commit | 881816f82ae32af4dfd2fb26e641fc8a83e0e66a | [log] [tgz] |
---|---|---|
author | David Neto <dneto@google.com> | Fri Sep 02 09:29:52 2016 -0400 |
committer | David Neto <dneto@google.com> | Fri Sep 02 10:09:51 2016 -0400 |
tree | 6380b8067a8e9b146b811e8e942d5b568dbbc3a3 | |
parent | e70a957cb50263f490c53c8fe2af4f0365b90020 [diff] |
Add test for presence of copyrights and license terms
diff --git a/CMakeLists.txt b/CMakeLists.txt index 84c837b..171fd29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -150,3 +150,7 @@ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/spirv-tools/libspirv.h DESTINATION include/spirv-tools/) + +add_test(NAME spirv-tools-copyrights + COMMAND ${PYTHON_EXECUTABLE} utils/check_copyright.py + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})