build: Split up the test-conformance SOURCES

Having different sections should make it easier to add new test units to
the build.
This commit is contained in:
Emmanuele Bassi 2010-08-13 18:15:01 +01:00
parent ff9a5a01b4
commit e888da2180

View File

@ -4,63 +4,84 @@ NULL =
noinst_PROGRAMS = test-conformance noinst_PROGRAMS = test-conformance
test_conformance_SOURCES = \ # the common sources
test-conform-main.c \ common_sources = \
test-conform-common.c \ test-conform-common.h \
test-conform-common.h \ test-conform-common.c \
\ test-conform-main.c \
$(NULL)
# the unit-specific sources; please: keep all sections in alphabetical order!
units_sources =
# animation tests
units_sources += \
test-animator.c \
test-behaviours.c \
test-score.c \
test-state.c \
test-timeline.c \
test-timeline-interpolate.c \ test-timeline-interpolate.c \
test-timeline-rewind.c \ test-timeline-rewind.c \
test-timeline.c \ $(NULL)
test-cogl-vertex-buffer-contiguous.c \
test-cogl-vertex-buffer-interleved.c \ # cogl tests
test-cogl-vertex-buffer-mutability.c \ units_sources += \
test-cogl-fixed.c \ test-cogl-backface-culling.c \
test-cogl-backface-culling.c \ test-cogl-blend-strings.c \
test-cogl-npot-texture.c \ test-cogl-depth-test.c \
test-cogl-blend-strings.c \ test-cogl-fixed.c \
test-cogl-premult.c \ test-cogl-materials.c \
test-cogl-materials.c \ test-cogl-viewport.c \
test-cogl-viewport.c \ test-cogl-multitexture.c \
test-cogl-offscreen.c \ test-cogl-npot-texture.c \
test-cogl-readpixels.c \ test-cogl-object.c \
test-cogl-multitexture.c \ test-cogl-offscreen.c \
test-cogl-texture-mipmaps.c \ test-cogl-path.c \
test-cogl-texture-rectangle.c \ test-cogl-pixel-buffer.c \
test-cogl-texture-3d.c \ test-cogl-premult.c \
test-cogl-texture-pixmap-x11.c \ test-cogl-readpixels.c \
test-cogl-texture-get-set-data.c \ test-cogl-sub-texture.c \
test-cogl-wrap-modes.c \ test-cogl-texture-3d.c \
test-cogl-pixel-buffer.c \ test-cogl-texture-get-set-data.c \
test-cogl-path.c \ test-cogl-texture-mipmaps.c \
test-cogl-object.c \ test-cogl-texture-pixmap-x11.c \
test-cogl-depth-test.c \ test-cogl-texture-rectangle.c \
test-path.c \ test-cogl-vertex-buffer-contiguous.c \
test-pick.c \ test-cogl-vertex-buffer-interleved.c \
test-clutter-rectangle.c \ test-cogl-vertex-buffer-mutability.c \
test-actor-invariants.c \ test-cogl-wrap-modes.c \
test-paint-opacity.c \ $(NULL)
test-binding-pool.c \
test-clutter-text.c \ # actors tests
test-clutter-cairo-texture.c \ units_sources += \
test-text-cache.c \
test-anchors.c \
test-model.c \
test-color.c \
test-clutter-units.c \
test-group.c \
test-actor-size.c \
test-texture-fbo.c \
test-cogl-sub-texture.c \
test-script-parser.c \
test-actor-destroy.c \ test-actor-destroy.c \
test-behaviours.c \ test-actor-size.c \
test-animator.c \ test-actor-invariants.c \
test-state.c \ test-anchors.c \
test-binding-pool.c \
test-clutter-cairo-texture.c \
test-clutter-rectangle.c \
test-clutter-text.c \
test-clutter-texture.c \ test-clutter-texture.c \
test-score.c \ test-group.c \
test-path.c \
test-paint-opacity.c \
test-pick.c \
test-texture-fbo.c \
test-text-cache.c \
$(NULL)
# objects tests
units_sources += \
test-clutter-units.c \
test-color.c \
test-model.c \
test-script-parser.c \
$(NULL) $(NULL)
test_conformance_SOURCES = $(common_sources) $(units_sources)
# For convenience, this provides a way to easily run individual unit tests: # For convenience, this provides a way to easily run individual unit tests:
.PHONY: wrappers clean-wrappers .PHONY: wrappers clean-wrappers