[mutter] cogl: Remove the now unused test framework



commit efaf5a25b32f810d601791d474d08c1b16cbcbcd
Author: Jonas Ã…dahl <jadahl gmail com>
Date:   Fri Aug 5 11:56:33 2022 +0200

    cogl: Remove the now unused test framework
    
    All tests have been moved into src/tests/, so no need for it anymore.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2555>

 cogl/cogl/meson.build                    |   8 +-
 cogl/meson.build                         |   6 -
 cogl/test-fixtures/meson.build           |  22 --
 cogl/test-fixtures/test-unit.h           |  33 --
 cogl/test-fixtures/test-utils.c          | 511 -------------------------------
 cogl/test-fixtures/test-utils.h          | 280 -----------------
 cogl/tests/README                        |  63 ----
 cogl/tests/config.env.in                 |   2 -
 cogl/tests/data/valgrind.suppressions    | 165 ----------
 cogl/tests/meson.build                   |  21 --
 cogl/tests/run-tests.sh                  | 169 ----------
 cogl/tests/test-launcher.sh              |  39 ---
 cogl/tests/unit/meson.build              |  42 ---
 cogl/tests/unit/meson/find-unit-tests.sh |   9 -
 cogl/tests/unit/test-unit-main.c         |  51 ---
 15 files changed, 1 insertion(+), 1420 deletions(-)
---
diff --git a/cogl/cogl/meson.build b/cogl/cogl/meson.build
index 386f51d27d..ea23046798 100644
--- a/cogl/cogl/meson.build
+++ b/cogl/cogl/meson.build
@@ -426,12 +426,6 @@ cogl_headers_all = [
   cogl_deprecated_headers,
 ]
 
-cogl_test_deps = []
-
-if have_cogl_tests
-  cogl_test_deps += [libmutter_cogl_test_fixtures_dep]
-endif
-
 libmutter_cogl_name = 'mutter-cogl-' + libmutter_api_version
 libmutter_cogl = shared_library(libmutter_cogl_name,
   sources: [cogl_sources, cogl_headers_all],
@@ -439,7 +433,7 @@ libmutter_cogl = shared_library(libmutter_cogl_name,
   soversion: 0,
   c_args: cogl_c_args,
   include_directories: cogl_includepath,
-  dependencies: [cogl_deps, cogl_test_deps],
+  dependencies: cogl_deps,
   gnu_symbol_visibility: 'hidden',
   install_rpath: pkglibdir,
   install_dir: pkglibdir,
diff --git a/cogl/meson.build b/cogl/meson.build
index 70d22a9ba6..a87cd18235 100644
--- a/cogl/meson.build
+++ b/cogl/meson.build
@@ -113,11 +113,5 @@ endif
 supported_cogl_debug_c_args = cc.get_supported_arguments(cogl_debug_c_args)
 cogl_c_args += cogl_debug_c_args
 
-if have_cogl_tests
-  subdir('test-fixtures')
-endif
 subdir('cogl')
 subdir('cogl-pango')
-if have_cogl_tests
-  subdir('tests')
-endif


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