File: testsuite-tools-validate-Use-softpipe-driver-for-validate.patch

package info (click to toggle)
gtk4 4.18.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 191,540 kB
  • sloc: ansic: 808,125; xml: 3,256; javascript: 3,061; python: 2,118; sh: 972; cpp: 799; java: 685; makefile: 319; perl: 218
file content (25 lines) | stat: -rw-r--r-- 793 bytes parent folder | download | duplicates (2)
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
From: Simon McVittie <smcv@debian.org>
Date: Sun, 22 Sep 2024 13:46:49 +0100
Subject: testsuite/tools/validate: Use softpipe driver for validate test

The llvmpipe driver sometimes spams stderr with messages from libLLVM,
which cause this particular test to fail.

Bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11870
Forwarded: no
---
 testsuite/tools/validate | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testsuite/tools/validate b/testsuite/tools/validate
index ed9adb6..ae0eb80 100755
--- a/testsuite/tools/validate
+++ b/testsuite/tools/validate
@@ -6,6 +6,7 @@ TEST_RESULT_DIR=${TEST_RESULT_DIR:-/tmp}/validate
 
 # https://gitlab.freedesktop.org/mesa/mesa/-/issues/10293
 export LIBGL_ALWAYS_SOFTWARE=true
+export GALLIUM_DRIVER=softpipe
 
 mkdir -p "$TEST_RESULT_DIR"