gioser

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

TOML 1385Shell 122Rust 77Markdown 682241 Definiciones

⎇ dba9ec47c5b4fa5918abdb35ac9466f1560ccd4f recipes/incoming-clib/tests-machine-id.patch 41 líneas · 1.5 KB Historia crudo

Etapa G: siembra 24 libs C de toolkit en incoming-clib (zlib/freetype/fontconfig/harfbuzz/cairo/pango/glib/...) — llenador de horas + ladrillos GUI 031535823 · sergio ·

1From 5cf08a9a1041a9dc9975371fb62f8f22c3be76c4 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Wed, 3 Apr 2024 21:25:04 +0200
4Subject: [PATCH 2/3] tests: skip gio tests which fails with missing machine-id
5
6Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
7---
8 gio/tests/meson.build | 6 ++++--
9 1 file changed, 4 insertions(+), 2 deletions(-)
10
11diff --git a/gio/tests/meson.build b/gio/tests/meson.build
12index f04ff43ff..71ec09750 100644
13--- a/gio/tests/meson.build
14+++ b/gio/tests/meson.build
15@@ -46,6 +46,8 @@ if glib_build_shared
16   subdir('modules')
17 endif
18 
19+have_machine_id = import('fs').is_file('/etc/machine-id')
20+
21 #  Test programs buildable on all platforms
22 gio_tests = {
23   'application-command-line': {},
24@@ -98,7 +100,7 @@ gio_tests = {
25     'install_rpath' : installed_tests_execdir,
26     # FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
27     # FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
28-    'can_fail' : host_system in ['darwin', 'windows', 'gnu'],
29+    'can_fail' : host_system in ['darwin', 'windows', 'gnu'] or not have_machine_id,
30   },
31   'inet-address' : {},
32   'io-stream' : {},
33@@ -147,7 +149,7 @@ gio_tests = {
34     'extra_programs': host_system != 'windows' ? ['dbus-launch'] : [],
35     # FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/1392
36     # FIXME: https://gitlab.gnome.org/GNOME/glib/-/issues/3148
37-    'can_fail' : host_system in ['darwin', 'gnu'],
38+    'can_fail' : host_system in ['darwin', 'gnu'] or not have_machine_id,
39   },
40   'win32-appinfo' : {},
41 }