all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 9c0c531189e19c3be202270b1b976f6f6cddba1f 1609 bytes (raw)
name: gnu/packages/patches/mesa-skip-tests.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
 
disk_cache_create() here looks up the users home directory from <pwd.h>
which resolves to "/" in the build environment. I could not find an easy
way to set the home directory to something else, so we disable this test
for now.

--- a/src/compiler/glsl/tests/cache_test.c
+++ b/src/compiler/glsl/tests/cache_test.c
@@ -212,11 +212,6 @@ test_disk_cache_create(void)
    unsetenv("MESA_GLSL_CACHE_DIR");
    unsetenv("XDG_CACHE_HOME");
 
-   cache = disk_cache_create("test", "make_check", 0);
-   expect_non_null(cache, "disk_cache_create with no environment variables");
-
-   disk_cache_destroy(cache);
-
 #ifdef ANDROID
    /* Android doesn't try writing to disk (just calls the cache callbacks), so
     * the directory tests below don't apply.

This test fails on i686-linux. I couldn't come up with a regex that
could be used to disable it just on i686-linux, so we disable it
completely with this patch:

https://gitlab.freedesktop.org/mesa/mesa/-/issues/4091

diff --git a/src/util/meson.build b/src/util/meson.build
index 0893f64..909b3e0 100644
--- a/src/util/meson.build
+++ b/src/util/meson.build
@@ -320,18 +320,6 @@ if with_tests
      suite : ['util'],
   )   
 
-  test(
-    'u_debug_stack',
-    executable(
-      'u_debug_stack_test',
-      files('u_debug_stack_test.cpp'),
-      include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
-      dependencies : [idep_mesautil, idep_gtest],
-      c_args : [c_msvc_compat_args],
-    ),
-     suite : ['util'],
-  )
-
   process_test_exe = executable(
     'process_test',
     files('process_test.c'),

debug log:

solving 9c0c531189 ...
found 9c0c531189 in https://yhetil.org/guix/20210220225047.682956-1-milkeymouse@meme.institute/
found 2622d5d312 in https://git.savannah.gnu.org/cgit/guix.git
preparing index
index prepared:
100644 2622d5d3124ac51cba622250b472cf5904db4bcb	gnu/packages/patches/mesa-skip-tests.patch

applying [1/1] https://yhetil.org/guix/20210220225047.682956-1-milkeymouse@meme.institute/
diff --git a/gnu/packages/patches/mesa-skip-tests.patch b/gnu/packages/patches/mesa-skip-tests.patch
index 2622d5d312..9c0c531189 100644

Checking patch gnu/packages/patches/mesa-skip-tests.patch...
Applied patch gnu/packages/patches/mesa-skip-tests.patch cleanly.

index at:
100644 9c0c531189e19c3be202270b1b976f6f6cddba1f	gnu/packages/patches/mesa-skip-tests.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.