gnu: mesa: Disable faulty test on i686 also when cross-compiling.

* gnu/packages/gl.scm (mesa)[arguments]: Fix 'patch-create_test_cases phase
  for cross-compilation.
This commit is contained in:
Pierre Neidhardt 2019-10-03 12:01:27 +02:00
parent 2b2f7e5d8c
commit ccbc1c5eb2
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 2 additions and 1 deletions

View File

@ -342,7 +342,8 @@ also known as DXTn or DXTC) for Mesa.")
(substitute* "src/intel/genxml/gen_pack_header.py" (substitute* "src/intel/genxml/gen_pack_header.py"
(("/usr/bin/env python2") (which "python"))) (("/usr/bin/env python2") (which "python")))
#t)) #t))
,@(if (string-prefix? "i686" (%current-system)) ,@(if (string-prefix? "i686" (or (%current-target-system)
(%current-system)))
;; Disable new test from Mesa 19 that fails on i686. Upstream ;; Disable new test from Mesa 19 that fails on i686. Upstream
;; report: <https://bugs.freedesktop.org/show_bug.cgi?id=110612>. ;; report: <https://bugs.freedesktop.org/show_bug.cgi?id=110612>.
`((add-after 'unpack 'disable-failing-test `((add-after 'unpack 'disable-failing-test