[cogl/wip/rstrode/prepare-for-mutter-merge: 4/13] tests: drop tests and examples



commit 0f72cff92f860ac6fca9b76940ed7aebf76ce588
Author: Ray Strode <rstrode redhat com>
Date:   Tue Jan 12 16:37:21 2016 -0500

    tests: drop tests and examples

 Makefile.am                                        |    4 +-
 configure.ac                                       |   42 -
 examples/Makefile.am                               |  124 --
 examples/android/hello/.gitignore                  |    7 -
 examples/android/hello/AndroidManifest.xml         |   30 -
 examples/android/hello/build.xml                   |   84 --
 examples/android/hello/jni/Android.mk              |   19 -
 examples/android/hello/jni/Application.mk          |    1 -
 examples/android/hello/jni/main.c                  |  188 ---
 examples/android/hello/res/values/strings.xml      |    4 -
 examples/cogl-basic-video-player.c                 |  422 -------
 examples/cogl-crate.c                              |  300 -----
 examples/cogl-emscripten-hello.c                   |  149 ---
 examples/cogl-gjs.js                               |   46 -
 examples/cogl-gles2-context.c                      |  138 ---
 examples/cogl-gles2-gears.c                        |  825 -------------
 examples/cogl-hello.c                              |  123 --
 examples/cogl-info.c                               |  264 -----
 examples/cogl-msaa.c                               |  114 --
 examples/cogl-point-sprites.c                      |  323 ------
 examples/cogl-stereo.c                             |  152 ---
 examples/cogl-x11-foreign.c                        |  203 ----
 examples/cogl-x11-tfp.c                            |  408 -------
 examples/cogland.c                                 | 1224 --------------------
 examples/crate.jpg                                 |  Bin 171588 -> 0 bytes
 examples/emscripten-example-js-library.js          |   19 -
 examples/emscripten-example-js.h                   |   18 -
 test-fixtures/Makefile.am                          |   25 -
 test-fixtures/test-unit.h                          |   31 -
 test-fixtures/test-utils.c                         |  535 ---------
 test-fixtures/test-utils.h                         |  287 -----
 tests/Makefile.am                                  |   31 -
 tests/README                                       |   63 -
 tests/config.env.in                                |    3 -
 tests/conform/Makefile.am                          |  231 ----
 tests/conform/test-alpha-test.c                    |   73 --
 tests/conform/test-alpha-textures.c                |  123 --
 tests/conform/test-atlas-migration.c               |  145 ---
 tests/conform/test-backface-culling.c              |  311 -----
 tests/conform/test-blend-strings.c                 |  430 -------
 tests/conform/test-blend.c                         |   64 -
 tests/conform/test-color-hsl.c                     |   45 -
 tests/conform/test-color-mask.c                    |  110 --
 tests/conform/test-conform-main.c                  |  157 ---
 tests/conform/test-copy-replace-texture.c          |  120 --
 tests/conform/test-custom-attributes.c             |  301 -----
 tests/conform/test-depth-test.c                    |  301 -----
 tests/conform/test-euler-quaternion.c              |   81 --
 tests/conform/test-fence.c                         |   63 -
 tests/conform/test-fixed.c                         |   18 -
 tests/conform/test-fixtures.c                      |   12 -
 tests/conform/test-framebuffer-get-bits.c          |   40 -
 tests/conform/test-gles2-context.c                 |  962 ---------------
 tests/conform/test-just-vertex-shader.c            |  205 ----
 tests/conform/test-layer-remove.c                  |  145 ---
 tests/conform/test-map-buffer-range.c              |  123 --
 tests/conform/test-materials.c                     |  253 ----
 tests/conform/test-multitexture.c                  |  206 ----
 tests/conform/test-no-gl-header.c                  |   16 -
 tests/conform/test-npot-texture.c                  |  170 ---
 tests/conform/test-object.c                        |   86 --
 tests/conform/test-offscreen.c                     |  199 ----
 tests/conform/test-path-clip.c                     |   68 --
 tests/conform/test-path.c                          |  215 ----
 tests/conform/test-pipeline-cache-unrefs-texture.c |   91 --
 tests/conform/test-pipeline-shader-state.c         |   93 --
 tests/conform/test-pipeline-uniforms.c             |  415 -------
 tests/conform/test-pipeline-user-matrix.c          |  140 ---
 tests/conform/test-pixel-buffer.c                  |  269 -----
 tests/conform/test-point-size-attribute.c          |  166 ---
 tests/conform/test-point-size.c                    |   99 --
 tests/conform/test-point-sprite.c                  |  194 ---
 tests/conform/test-premult.c                       |  301 -----
 tests/conform/test-primitive-and-journal.c         |  122 --
 tests/conform/test-primitive.c                     |  334 ------
 tests/conform/test-read-texture-formats.c          |  222 ----
 tests/conform/test-readpixels.c                    |  178 ---
 tests/conform/test-snippets.c                      |  815 -------------
 tests/conform/test-sparse-pipeline.c               |   62 -
 tests/conform/test-sub-texture.c                   |  325 ------
 tests/conform/test-texture-3d.c                    |  274 -----
 tests/conform/test-texture-get-set-data.c          |  144 ---
 tests/conform/test-texture-mipmaps.c               |  136 ---
 tests/conform/test-texture-no-allocate.c           |   80 --
 tests/conform/test-texture-pixmap-x11.c            |  245 ----
 tests/conform/test-texture-rectangle.c             |  276 -----
 tests/conform/test-texture-rg.c                    |   74 --
 tests/conform/test-version.c                       |   85 --
 tests/conform/test-vertex-buffer-contiguous.c      |  257 ----
 tests/conform/test-vertex-buffer-interleved.c      |  162 ---
 tests/conform/test-vertex-buffer-mutability.c      |  198 ----
 tests/conform/test-viewport.c                      |  416 -------
 tests/conform/test-wrap-modes.c                    |  296 -----
 tests/conform/test-wrap-rectangle-textures.c       |  175 ---
 tests/conform/test-write-texture-formats.c         |  184 ---
 tests/data/Makefile.am                             |    3 -
 tests/data/valgrind.suppressions                   |  173 ---
 tests/micro-perf/Makefile.am                       |   28 -
 tests/micro-perf/test-journal.c                    |  190 ---
 tests/run-tests.sh                                 |  157 ---
 tests/test-launcher.sh                             |   39 -
 tests/unit/Makefile.am                             |   96 --
 tests/unit/test-unit-main.c                        |   45 -
 103 files changed, 2 insertions(+), 19036 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c018884..79628e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = deps test-fixtures
+SUBDIRS = deps
 
 SUBDIRS += cogl
 
@@ -18,7 +18,7 @@ if BUILD_COGL_GST
 SUBDIRS += cogl-gst
 endif
 
-SUBDIRS += tests examples doc po build
+SUBDIRS += doc po build
 
 ACLOCAL_AMFLAGS = -I build/autotools ${ACLOCAL_FLAGS}
 
diff --git a/configure.ac b/configure.ac
index 6effdf8..35d9dd9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -214,16 +214,6 @@ dnl Handle extra configure options
 dnl ================================================================
 
 
-dnl     ============================================================
-dnl     Installed tests
-dnl     ============================================================
-
-AC_ARG_ENABLE(installed_tests,
-              AS_HELP_STRING([--enable-installed-tests],
-                             [Install test programs (default: no)]),,
-              [enable_installed_tests=no])
-AM_CONDITIONAL(ENABLE_INSTALLED_TESTS, test x$enable_installed_tests = xyes)
-
 
 dnl     ============================================================
 dnl     Emscripten support
@@ -294,19 +284,6 @@ AS_CASE(
 
 AC_SUBST(COGL_DEBUG_CFLAGS)
 
-AC_ARG_ENABLE(
-  [unit-tests],
-  [AC_HELP_STRING([--enable-unit-tests=@<:@no/yes@:>@], [Build Cogl unit tests @<:@default=yes@:>@])],
-  [],
-  enable_unit_tests=yes
-)
-AS_IF([test "x$enable_unit_tests" = "xyes"],
-      [
-        AC_DEFINE([ENABLE_UNIT_TESTS], [1], [Whether to enable building unit tests])
-      ]
-)
-AM_CONDITIONAL(UNIT_TESTS, test "x$enable_unit_tests" = "xyes")
-
 dnl     ============================================================
 dnl     Enable cairo usage for debugging
 dnl       (debugging code can use cairo to dump the atlas)
@@ -605,17 +582,6 @@ AS_IF(
 )
 
 dnl     ============================================================
-dnl     Should examples be installed?
-dnl     ============================================================
-AC_ARG_ENABLE(
-  [examples-install],
-  [AC_HELP_STRING([--enable-examples-install=@<:@no/yes@:>@], [Enable installation of examples 
@<:@default=no@:>@])],
-  [],
-  enable_examples_install=no
-)
-AM_CONDITIONAL([INSTALL_EXAMPLES], [test "x$enable_examples_install" = "xyes"])
-
-dnl     ============================================================
 dnl     Determine which drivers and window systems we can support
 dnl     ============================================================
 
@@ -1375,13 +1341,6 @@ doc/reference/cogl-2.0-experimental/Makefile
 doc/reference/cogl-2.0-experimental/cogl-2.0-experimental-docs.xml
 doc/reference/cogl-gst/Makefile
 doc/reference/cogl-gst/cogl-gst-docs.xml
-examples/Makefile
-tests/Makefile
-tests/config.env
-tests/conform/Makefile
-tests/unit/Makefile
-tests/micro-perf/Makefile
-tests/data/Makefile
 po/Makefile.in
 )
 
@@ -1435,7 +1394,6 @@ echo ""
 echo " • Extra:"
 echo "        Build API reference: ${enable_gtk_doc}"
 echo "        Build introspection data: ${enable_introspection}"
-echo "        Build unit tests: ${enable_unit_tests}"
 echo "        Enable internationalization: ${USE_NLS}"
 
 echo ""


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]