projects
/
platform
/
upstream
/
SPIRV-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eaaf7b
)
Skip checking copyright if SPIRV_SKIP_TESTS is enabled
author
Lei Zhang
<antiagainst@google.com>
Thu, 28 Sep 2017 01:22:05 +0000
(21:22 -0400)
committer
Lei Zhang
<antiagainst@google.com>
Thu, 28 Sep 2017 01:22:05 +0000
(21:22 -0400)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 4ad7b4cff87d347cf63b3092a0b2e326ed7e3c95..ed298aa6e73bb80bc29e756499d3df615bc6334e 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-188,6
+188,8
@@
if(ENABLE_SPIRV_TOOLS_INSTALL)
${CMAKE_INSTALL_INCLUDEDIR}/spirv-tools/)
endif(ENABLE_SPIRV_TOOLS_INSTALL)
-add_test(NAME spirv-tools-copyrights
- COMMAND ${PYTHON_EXECUTABLE} utils/check_copyright.py
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
+if (NOT "${SPIRV_SKIP_TESTS}")
+ add_test(NAME spirv-tools-copyrights
+ COMMAND ${PYTHON_EXECUTABLE} utils/check_copyright.py
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
+ endif()