glsl/tests: automake: cleanup all artefacts during clean-local
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 16 Mar 2017 18:03:34 +0000 (18:03 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 28 Mar 2017 14:31:22 +0000 (15:31 +0100)
With later commits we'll fix the generators to produce the files in the
correct location. That in itself will cause an issue since the files
will be left dangling and make distcheck will fail.

v2: Use -r only as needed (Eric)

Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/compiler/Makefile.glsl.am

index 43fd6a98e2a1b3bb93535e8a8a2d63d2916ac9ac..d6b034ee6cc885acfa7a547cb3ed9c278b622539 100644 (file)
@@ -251,6 +251,12 @@ CLEANFILES +=                                              \
        glsl/glcpp/glcpp-lex.c
 
 clean-local:
+       $(RM) glsl/tests/lower_jumps/*.opt_test
+       $(RM) glsl/tests/lower_jumps/*.expected
+       $(RM) glsl/tests/lower_jumps/*.out
+       $(RM) glsl/tests/warnings/*.out
+       $(RM) glsl/glcpp/tests/*.out
+       $(RM) -r glsl/glcpp/tests/subtest*/
        $(RM) -r subtest-cr subtest-cr-lf subtest-lf subtest-lf-cr
 
 dist-hook: