void-packages/srcpkgs/glib/patches/disable-broken-tests.patch
Érico Rolim d17da50ead glib: update to 2.66.6.
- build static libraries.

- remove LTO from build to avoid issues when linking qemu-user-static.
Thanks to leah for finding the fix.

- disable fileutils tests, broken on container where user is root.
2021-02-05 01:48:55 -03:00

52 lines
1.2 KiB
Diff

diff --git gio/tests/meson.build gio/tests/meson.build
index d8ebd56..be72f5c 100644
--- gio/tests/meson.build
+++ gio/tests/meson.build
@@ -35,7 +35,6 @@ gio_tests = {
'cancellable' : {},
'contexts' : {},
'contenttype' : {},
- 'converter-stream' : {},
'credentials' : {},
'data-input-stream' : {},
'data-output-stream' : {},
@@ -550,7 +549,7 @@ if installed_tests_enabled
endforeach
endif
-if not meson.is_cross_build() or meson.has_exe_wrapper()
+if false
plugin_resources_c = custom_target('plugin-resources.c',
input : 'test4.gresource.xml',
diff --git glib/tests/meson.build glib/tests/meson.build
index 6eb23e8..d7aacfa 100644
--- glib/tests/meson.build
+++ glib/tests/meson.build
@@ -11,18 +11,11 @@ glib_tests = {
'cache' : {},
'charset' : {},
'checksum' : {},
- 'collate' : {},
'cond' : {},
- 'convert' : {},
'dataset' : {},
- 'date' : {},
'dir' : {},
'environment' : {},
'error' : {},
- 'fileutils' : {},
- 'gdatetime' : {
- 'suite' : ['slow'],
- },
'guuid' : {},
'gvariant' : {
'suite' : ['slow'],
@@ -54,7 +47,6 @@ glib_tests = {
'mutex' : {},
'node' : {},
'once' : {},
- 'option-context' : {},
'option-argv0' : {},
'overflow' : {},
'overflow-fallback' : {