[Piglit] [PATCH] CMake: install .comp files that are not generated

Dylan Baker dylan at pnwbakers.com
Tue Feb 7 23:42:55 UTC 2017


Currently if installing some compute shader test files for shader runner
will not be installed (those that are not auto generated). Fortunately
it's a rather short list (33 tests as counted by
`find tests -name '*.comp' | wc -l`). This patch fixes them to be
installed

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 983f4a30c..a4ff99e65 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -524,7 +524,7 @@ install (
 install (
 	DIRECTORY tests
 	DESTINATION ${PIGLIT_INSTALL_LIBDIR}
-	FILES_MATCHING REGEX ".*\\.(py|program_test|shader_test|frag|vert|geom|tesc|tese|ktx|cl|txt|inc)$"
+	FILES_MATCHING REGEX ".*\\.(py|program_test|shader_test|frag|vert|geom|tesc|tese|comp|ktx|cl|txt|inc)$"
 	REGEX "CMakeFiles|CMakeLists" EXCLUDE
 )
 
-- 
2.11.1



More information about the Piglit mailing list