From 1e0a83b88139a13a8488bfe7000e0c459ccbad66 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 13 Aug 2010 18:31:44 +0100 Subject: [PATCH] build: Autogenerate interactive/.gitignore Exactly like we did for conform/.gitignore --- tests/interactive/.gitignore | 73 ----------------------------------- tests/interactive/Makefile.am | 8 +++- 2 files changed, 7 insertions(+), 74 deletions(-) delete mode 100644 tests/interactive/.gitignore diff --git a/tests/interactive/.gitignore b/tests/interactive/.gitignore deleted file mode 100644 index 1b48c489d..000000000 --- a/tests/interactive/.gitignore +++ /dev/null @@ -1,73 +0,0 @@ -*.o -/wrapper.sh -/stamp-test-interactive -/test-actor-clone -/test-actors -/test-behave -/test-boxes -/test-depth -/test-effects -/test-events -/test-fbo -/test-fullscreen -/test-grab -/test-model -/test-multistage -/test-offscreen -/test-opacity -/test-perspective -/test-project -/test-rotate -/test-scale -/test-script -/test-shader -/test-text -/test-textures -/test-threads -/test-timeline -/test-timeline-dup-frames -/test-timeline-interpolate -/test-timeline-rewind -/test-timeline-smoothness -/test-unproject -/test-viewport -/test-cogl-multitexture -/test-cogl-offscreen -/test-cogl-primitives -/test-cogl-shader-arbfp -/test-cogl-shader-glsl -/test-cogl-tex-convert -/test-cogl-tex-foreign -/test-cogl-tex-getset -/test-cogl-tex-polygon -/test-cogl-tex-tile -/test-cogl-vertex-buffer -/test-pixmap -/test-stage-read-pixels -/test-clip -/test-layout -/test-texture-async -/test-texture-quality -/test-paint-wrapper -/test-devices -/test-label-cache -/test-pick -/test-animation -/test-easing -/test-interactive -/test-binding-pool -/test-text-field -/test-clutter-cairo-flowers -/test-bin-layout -/test-flow-layout -/test-box-layout -/test-animator -/test-stage-sizing -/test-drag -/test-constraints -/test-state -/test-state-animator -/test-scrolling -/test-bind -/test-cogl-point-sprites -/test-table-layout diff --git a/tests/interactive/Makefile.am b/tests/interactive/Makefile.am index a77b80108..8379111d4 100644 --- a/tests/interactive/Makefile.am +++ b/tests/interactive/Makefile.am @@ -66,9 +66,14 @@ endif # For convenience, this provides a way to easily run individual unit tests: wrappers: stamp-test-interactive @true -stamp-test-interactive: test-interactive$(EXEEXT) +stamp-test-interactive: Makefile test-interactive$(EXEEXT) @wrapper=$(abs_builddir)/wrapper.sh ; \ chmod +x $$wrapper && \ + ( echo "/stamp-test-interactive" ; \ + echo "/test-interactive" ; \ + echo "/wrapper.sh" ; \ + echo "*.o" ; \ + echo ".gitignore" ) > .gitignore ; \ for i in $(UNIT_TESTS); \ do \ test_bin=$${i%*.c} ; \ @@ -77,6 +82,7 @@ stamp-test-interactive: test-interactive$(EXEEXT) echo "$$wrapper $$test_bin \$$@" \ ) > $$test_bin$(EXEEXT) ; \ chmod +x $$test_bin$(EXEEXT) ; \ + echo "/$$test_bin$(EXEEXT)" >> .gitignore ; \ done \ && echo timestamp > $(@F)