0003-disable-tests.patch 915 B

1234567891011121314151617181920212223242526272829
  1. From 473b4288d8f4e891d0d21f7b60ef8053c5cd7af9 Mon Sep 17 00:00:00 2001
  2. From: Adam Duskett <aduskett@gmail.com>
  3. Date: Mon, 3 Feb 2020 10:07:15 -0800
  4. Subject: [PATCH] disable tests
  5. If introspection data on the host is not built, meson throws the error:
  6. "Unknown variable "typelibs". Because tests are not required, removing
  7. the subdir tests alltogether fixes this issue.
  8. Signed-off-by: Adam Duskett <aduskett@gmail.com>
  9. ---
  10. meson.build | 1 -
  11. 1 file changed, 1 deletion(-)
  12. diff --git a/meson.build b/meson.build
  13. index a5e825f..981e936 100644
  14. --- a/meson.build
  15. +++ b/meson.build
  16. @@ -171,7 +171,6 @@ subdir('giscanner')
  17. subdir('gir')
  18. subdir('examples')
  19. subdir('docs')
  20. -subdir('tests')
  21. install_data('Makefile.introspection', install_dir: join_paths(get_option('datadir'), 'gobject-introspection-1.0'))
  22. install_data('m4/introspection.m4', install_dir: join_paths(get_option('datadir'), 'aclocal'))
  23. --
  24. 2.24.1