build: Autogenerate interactive/.gitignore

Exactly like we did for conform/.gitignore
This commit is contained in:
Emmanuele Bassi 2010-08-13 18:31:44 +01:00
parent 7c412464c2
commit 1e0a83b881
2 changed files with 7 additions and 74 deletions

View File

@ -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

View File

@ -66,9 +66,14 @@ endif
# For convenience, this provides a way to easily run individual unit tests: # For convenience, this provides a way to easily run individual unit tests:
wrappers: stamp-test-interactive wrappers: stamp-test-interactive
@true @true
stamp-test-interactive: test-interactive$(EXEEXT) stamp-test-interactive: Makefile test-interactive$(EXEEXT)
@wrapper=$(abs_builddir)/wrapper.sh ; \ @wrapper=$(abs_builddir)/wrapper.sh ; \
chmod +x $$wrapper && \ chmod +x $$wrapper && \
( echo "/stamp-test-interactive" ; \
echo "/test-interactive" ; \
echo "/wrapper.sh" ; \
echo "*.o" ; \
echo ".gitignore" ) > .gitignore ; \
for i in $(UNIT_TESTS); \ for i in $(UNIT_TESTS); \
do \ do \
test_bin=$${i%*.c} ; \ test_bin=$${i%*.c} ; \
@ -77,6 +82,7 @@ stamp-test-interactive: test-interactive$(EXEEXT)
echo "$$wrapper $$test_bin \$$@" \ echo "$$wrapper $$test_bin \$$@" \
) > $$test_bin$(EXEEXT) ; \ ) > $$test_bin$(EXEEXT) ; \
chmod +x $$test_bin$(EXEEXT) ; \ chmod +x $$test_bin$(EXEEXT) ; \
echo "/$$test_bin$(EXEEXT)" >> .gitignore ; \
done \ done \
&& echo timestamp > $(@F) && echo timestamp > $(@F)