build: Generate the conformance/.gitignore file
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 13 Aug 2010 17:22:12 +0000 (18:22 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 13 Aug 2010 17:25:22 +0000 (18:25 +0100)
Since we are generating a lot of files that we should ignore, we should
generate the Git ignore file as well.

tests/conform/.gitignore [deleted file]
tests/conform/Makefile.am

diff --git a/tests/conform/.gitignore b/tests/conform/.gitignore
deleted file mode 100644 (file)
index a4b15a8..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-*.o
-/test-launcher.sh
-/stamp-test-conformance
-/test-anchors
-/test-cogl-backface-culling
-/test-cogl-blend-strings
-/test-cogl-fixed
-/test-cogl-materials
-/test-cogl-npot-texture
-/test-cogl-offscreen
-/test-cogl-pixel-buffer
-/test-cogl-premult
-/test-cogl-texture-pixmap-x11
-/test-color-hls-roundtrip
-/test-conformance
-/test-conformance-results.xml
-/test-conformance-results.html
-/test-conformance-results-dn.xml
-/test-conformance-results-dn.html
-/test-entry-append-some
-/test-entry-cursor
-/test-entry-delete-chars
-/test-entry-delete-text
-/test-entry-empty
-/test-entry-event
-/test-entry-insert
-/test-entry-prepend-some
-/test-entry-set-empty
-/test-entry-set-text
-/test-entry-utf8-validation
-/test-fixed-constants
-/test-initial-state
-/test-label-cache
-/test-mapped
-/test-path
-/test-pick
-/test-realized
-/test-rect-set-color
-/test-rect-set-size
-/test-show-on-set-parent
-/test-timeline
-/test-timeline-dup-frames
-/test-timeline-interpolate
-/test-timeline-rewind
-/test-timeline-smoothness
-/test-label-opacity
-/test-mesh-contiguous
-/test-mesh-interleved
-/test-mesh-mutability
-/test-paint-opacity
-/test-rectangle-opacity
-/test-binding-pool
-/test-text-append-some
-/test-text-cache
-/test-text-cursor
-/test-text-delete-chars
-/test-text-delete-text
-/test-text-empty
-/test-text-event
-/test-text-get-chars
-/test-text-insert
-/test-text-password-char
-/test-text-prepend-some
-/test-text-set-empty
-/test-text-set-text
-/test-text-utf8-validation
-/test-list-model-iterate
-/test-list-model-populate
-/test-list-model-filter
-/test-map-recursive
-/test-realize-not-recursive
-/test-shown-not-parented
-/test-color-from-string
-/test-color-to-string
-/test-cogl-vertex-buffer-contiguous
-/test-cogl-vertex-buffer-interleved
-/test-cogl-vertex-buffer-mutability
-/test-units-constructors
-/test-units-string
-/test-premult
-/test-clone-no-map
-/test-group-depth-sorting
-/test-conformance-result.xml
-/test-fixed-size
-/test-preferred-size
-/test-units-cache
-/test-cogl-readpixels
-/test-cogl-viewport
-/test-texture-fbo
-/test-script-single
-/test-script-child
-/test-list-model-from-script
-/test-score
-/test-script-implicit-alpha
-/test-script-object-property
-/test-script-animation
-/test-script-named-object
-/test-actor-destruction
-/test-color-operators
-/test-cogl-texture-mipmaps
-/test-behaviours
-/test-cogl-sub-texture
-/test-cogl-multitexture
-/test-animator-base
-/test-animator-properties
-/test-animator-multi-properties
-/test-cogl-texture-rectangle
-/test-cogl-path
-/test-cogl-wrap-modes
-/test-clutter-cairo-texture
-/test-state-base
-/test-texture-pick-with-alpha
-/test-cogl-object
-/test-script-layout-property
-/test-cogl-depth-test
-/test-cogl-pixel-array
-/test-cogl-texture-get-set-data
-/test-cogl-texture-3d
-/wrappers
-/*-report.xml
-/*-report.html
-/*-report-npot.xml
-/*-report-npot.html
index ace832f..f82f777 100644 (file)
@@ -92,6 +92,12 @@ wrappers: stamp-test-conformance
 stamp-test-conformance: test-conformance$(EXEEXT)
        @mkdir -p wrappers
        @chmod +x test-launcher.sh
+       @( echo "/stamp-test-conformance" ; \
+          echo "/test-conformance" ; \
+          echo "/test-launcher.sh" ; \
+          echo "*.o" ; \
+          echo ".gitignore" ; \
+          echo "/wrappers/" ) > .gitignore
        @for i in $(UNIT_TESTS); \
        do \
                unit=`basename $$i | sed -e s/_/-/g`; \
@@ -100,6 +106,7 @@ stamp-test-conformance: test-conformance$(EXEEXT)
                ( echo "#!/bin/sh" ; echo "exec ./test-conformance$(EXEEXT) -p $$i \"\$$@\"" ) > wrappers/$$unit$(EXEEXT) ; \
                chmod +x $$unit$(EXEEXT); \
                chmod +x wrappers/$$unit$(EXEEXT); \
+               echo "/$$unit$(EXEEXT)" >> .gitignore; \
        done \
        && echo timestamp > $(@F)