void-packages/srcpkgs/gtk4/patches/remove-failing-tests.patch

49 lines
1.4 KiB
Diff

remove two failing doc-check tests: doc-check-gdk and doc-check-gtk,
because some symbols and return values for them are not documented.
diff --git a/docs/reference/gdk/meson.build b/docs/reference/gdk/meson.build
index 89c8371a..1b5e9a50 100644
--- a/docs/reference/gdk/meson.build
+++ b/docs/reference/gdk/meson.build
@@ -29,18 +29,6 @@ if get_option('documentation')
install_dir: docs_dir,
)
- test('doc-check-gdk',
- gidocgen,
- args: [
- 'check',
- '--config', gdk4_toml,
- '--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
- gdk_gir[0],
- ],
- depends: gdk_gir[0],
- suite: ['docs', 'failing'],
- )
-
if x11_enabled
gdk4x11_toml = configure_file(
input: 'gdk4-x11.toml.in',
diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build
index 70741afe..051dcca9 100644
--- a/docs/reference/gtk/meson.build
+++ b/docs/reference/gtk/meson.build
@@ -65,17 +65,6 @@ if get_option('documentation')
install_tag: 'doc',
)
- test('doc-check-gtk',
- gidocgen,
- args: [
- 'check',
- '--config', gtk4_toml,
- '--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'),
- gtk_gir[0],
- ],
- depends: gtk_gir[0],
- suite: ['docs', 'failing'],
- )
endif
rst2man = find_program('rst2man', 'rst2man.py', required: get_option('man-pages'))