Add test for presence of copyrights and license terms

This commit is contained in:
David Neto 2016-09-02 09:29:52 -04:00
parent e70a957cb5
commit 881816f82a

View File

@ -150,3 +150,7 @@ add_subdirectory(test)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/spirv-tools/libspirv.h install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/spirv-tools/libspirv.h
DESTINATION include/spirv-tools/) DESTINATION include/spirv-tools/)
add_test(NAME spirv-tools-copyrights
COMMAND ${PYTHON_EXECUTABLE} utils/check_copyright.py
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})