guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH core-updates] guix: cmake-build-system: Enable offscreen Qt b


From: Ludovic Courtès
Subject: Re: [PATCH core-updates] guix: cmake-build-system: Enable offscreen Qt backend for tests.
Date: Thu, 26 Jan 2017 10:59:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Danny Milosavljevic <address@hidden> skribis:

> * guix/build/cmake-build-system.scm (cmake-build-system): Set QT_QPA_PLATFORM 
> to "offscreen".
> ---
>  guix/build/cmake-build-system.scm | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/guix/build/cmake-build-system.scm 
> b/guix/build/cmake-build-system.scm
> index 27f2b5c87..dfe61ce56 100644
> --- a/guix/build/cmake-build-system.scm
> +++ b/guix/build/cmake-build-system.scm
> @@ -67,6 +67,8 @@
>                  #:allow-other-keys)
>    (let ((gnu-check (assoc-ref gnu:%standard-phases 'check)))
>      (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
> +    ;; Automated tests can't access user's X session anyway
> +    (setenv "QT_QPA_PLATFORM" "offscreen")

I agree it’s a good idea to factorize it somewhere, but it doesn’t
really belong in cmake-build-system, does it?

OTOH it can’t hurt to have it here.

Thoughts?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]