diff options
author | Leo Famulari <leo@famulari.name> | 2021-02-01 14:18:38 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-02-01 14:18:38 -0500 |
commit | 75b775e81b5a81a59656eeba8811b42f45d503da (patch) | |
tree | f6783bcb867634f97008d6fe02592e791f9418ba /gnu/packages/patches/mesa-skip-disk-cache-test.patch | |
parent | 847c816ddd3a38c865da460cb7b22cf665db162f (diff) | |
parent | 0981f872cb1fb94fcdf3f4d00bd08c6a6b61ed8d (diff) |
Merge branch 'staging'
Diffstat (limited to 'gnu/packages/patches/mesa-skip-disk-cache-test.patch')
-rw-r--r-- | gnu/packages/patches/mesa-skip-disk-cache-test.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gnu/packages/patches/mesa-skip-disk-cache-test.patch b/gnu/packages/patches/mesa-skip-disk-cache-test.patch deleted file mode 100644 index 190f6b6ee1..0000000000 --- a/gnu/packages/patches/mesa-skip-disk-cache-test.patch +++ /dev/null @@ -1,19 +0,0 @@ -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 -@@ -170,11 +170,6 @@ - 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); -- - /* Test with XDG_CACHE_HOME set */ - setenv("XDG_CACHE_HOME", CACHE_TEST_TMP "/xdg-cache-home", 1); - cache = disk_cache_create("test", "make_check", 0); |