From: Debian Fonts Team <debian-fonts@lists.debian.org>
Date: Fri, 5 Feb 2021 13:20:24 +0100
Subject: Disable googletest tests

The googletest Debian package does not currently support meson, which
requires to build googletest from source.

When bug #964221 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964221)
is resolved then the tests may be built again after minor modifications
to the meson.build to use the system googletest instead of downloading
it through wrap.
---
 meson.build | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/meson.build b/meson.build
index 223b358..2f9a266 100644
--- a/meson.build
+++ b/meson.build
@@ -241,29 +241,6 @@ endif
 
 install_man('docs/ots-sanitize.1')
 
-# https://mesonbuild.com/Dependencies.html#gtest-and-gmock
-gtest = dependency('gtest', main : true, fallback : ['gtest', 'gtest_main_dep'])
-
-cff_charstring = executable('cff_charstring',
-  'tests/cff_charstring_test.cc',
-  include_directories: include_directories(['include', 'src']),
-  link_with: libots,
-  dependencies: gtest,
-)
-
-test('cff_charstring', cff_charstring)
-
-
-layout_common_table = executable('layout_common_table',
-  'tests/layout_common_table_test.cc',
-  include_directories: include_directories(['include', 'src']),
-  link_with: libots,
-  dependencies: gtest,
-)
-
-test('layout_common_table', layout_common_table)
-
-
 test('test_bad_fonts',
   find_program('tests/test_bad_fonts.sh'),
   env: [
