[cogl/cogl-latest-win: 19/21] tests/conform: Split out source listings
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/cogl-latest-win: 19/21] tests/conform: Split out source listings
- Date: Tue, 19 Oct 2021 07:35:05 +0000 (UTC)
commit 1159f3a8ad2d5404e02f9b609b1e70b86e3e161e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Tue Oct 19 11:47:30 2021 +0800
tests/conform: Split out source listings
This way, we can make the source listing shared with other non-autotools
Makefiles
tests/conform/Makefile.am | 78 +++----------------------------------
tests/conform/conform-test-srcs.mak | 70 +++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+), 72 deletions(-)
---
diff --git a/tests/conform/Makefile.am b/tests/conform/Makefile.am
index 55008225..211379ff 100644
--- a/tests/conform/Makefile.am
+++ b/tests/conform/Makefile.am
@@ -2,87 +2,21 @@ include $(top_srcdir)/build/autotools/Makefile.am.silent
NULL =
-noinst_PROGRAMS = test-conformance
-
-common_sources = \
- test-conform-main.c \
- $(NULL)
-
-unported_test_sources = \
- test-fixed.c \
- test-materials.c \
- test-viewport.c \
- test-multitexture.c \
- test-npot-texture.c \
- test-object.c \
- test-readpixels.c \
- test-texture-mipmaps.c \
- test-texture-pixmap-x11.c \
- test-texture-rectangle.c \
- test-vertex-buffer-contiguous.c \
- test-vertex-buffer-interleved.c \
- test-vertex-buffer-mutability.c \
- $(NULL)
-
-test_sources = \
- test-atlas-migration.c \
- test-blend-strings.c \
- test-blend.c \
- test-depth-test.c \
- test-color-hsl.c \
- test-color-mask.c \
- test-backface-culling.c \
- test-just-vertex-shader.c \
- test-pipeline-user-matrix.c \
- test-pipeline-uniforms.c \
- test-pixel-buffer.c \
- test-premult.c \
- test-snippets.c \
- test-wrap-modes.c \
- test-sub-texture.c \
- test-custom-attributes.c \
- test-offscreen.c \
- test-primitive.c \
- test-texture-3d.c \
- test-sparse-pipeline.c \
- test-read-texture-formats.c \
- test-write-texture-formats.c \
- test-point-size.c \
- test-point-size-attribute.c \
- test-point-sprite.c \
- test-no-gl-header.c \
- test-version.c \
- test-gles2-context.c \
- test-euler-quaternion.c \
- test-layer-remove.c \
- test-alpha-test.c \
- test-map-buffer-range.c \
- test-npot-texture.c \
- test-alpha-textures.c \
- test-wrap-rectangle-textures.c \
- test-texture-get-set-data.c \
- test-framebuffer-get-bits.c \
- test-primitive-and-journal.c \
- test-copy-replace-texture.c \
- test-pipeline-cache-unrefs-texture.c \
- test-texture-no-allocate.c \
- test-pipeline-shader-state.c \
- test-texture-rg.c \
- $(NULL)
+include conform-test-srcs.mak
if !USING_EMSCRIPTEN
# test-fence depends on the glib mainloop so it won't compile if using
# emscripten which builds in standalone mode.
-test_sources += test-fence.c
+test_sources += $(non_emscripten_test_sources)
endif
if BUILD_COGL_PATH
-test_sources += \
- test-path.c \
- test-path-clip.c
+test_sources += $(cogl_path_test_sources)
endif
-test_conformance_SOURCES = $(common_sources) $(test_sources)
+noinst_PROGRAMS = test-conformance
+
+test_conformance_SOURCES = $(common_test_sources) $(test_sources)
if OS_WIN32
SHEXT =
diff --git a/tests/conform/conform-test-srcs.mak b/tests/conform/conform-test-srcs.mak
new file mode 100644
index 00000000..30544f3a
--- /dev/null
+++ b/tests/conform/conform-test-srcs.mak
@@ -0,0 +1,70 @@
+common_test_sources = \
+ test-conform-main.c \
+ $(NULL)
+
+unported_test_sources = \
+ test-fixed.c \
+ test-materials.c \
+ test-viewport.c \
+ test-multitexture.c \
+ test-npot-texture.c \
+ test-object.c \
+ test-readpixels.c \
+ test-texture-mipmaps.c \
+ test-texture-pixmap-x11.c \
+ test-texture-rectangle.c \
+ test-vertex-buffer-contiguous.c \
+ test-vertex-buffer-interleved.c \
+ test-vertex-buffer-mutability.c \
+ $(NULL)
+
+test_sources = \
+ test-atlas-migration.c \
+ test-blend-strings.c \
+ test-blend.c \
+ test-depth-test.c \
+ test-color-hsl.c \
+ test-color-mask.c \
+ test-backface-culling.c \
+ test-just-vertex-shader.c \
+ test-pipeline-user-matrix.c \
+ test-pipeline-uniforms.c \
+ test-pixel-buffer.c \
+ test-premult.c \
+ test-snippets.c \
+ test-wrap-modes.c \
+ test-sub-texture.c \
+ test-custom-attributes.c \
+ test-offscreen.c \
+ test-primitive.c \
+ test-texture-3d.c \
+ test-sparse-pipeline.c \
+ test-read-texture-formats.c \
+ test-write-texture-formats.c \
+ test-point-size.c \
+ test-point-size-attribute.c \
+ test-point-sprite.c \
+ test-no-gl-header.c \
+ test-version.c \
+ test-gles2-context.c \
+ test-euler-quaternion.c \
+ test-layer-remove.c \
+ test-alpha-test.c \
+ test-map-buffer-range.c \
+ test-npot-texture.c \
+ test-alpha-textures.c \
+ test-wrap-rectangle-textures.c \
+ test-texture-get-set-data.c \
+ test-framebuffer-get-bits.c \
+ test-primitive-and-journal.c \
+ test-copy-replace-texture.c \
+ test-pipeline-cache-unrefs-texture.c \
+ test-texture-no-allocate.c \
+ test-pipeline-shader-state.c \
+ test-texture-rg.c \
+ $(NULL)
+
+non_emscripten_test_sources = test-fence.c
+cogl_path_test_sources = \
+ test-path.c \
+ test-path-clip.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]