[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48729] [PATCH v5 24/25] gnu: Add bitmask.
From: |
Maxime Devos |
Subject: |
[bug#48729] [PATCH v5 24/25] gnu: Add bitmask. |
Date: |
Fri, 18 Jun 2021 20:22:33 +0200 |
User-agent: |
Evolution 3.34.2 |
Raghav Gururajan via Guix-patches via schreef op vr 18-06-2021 om 02:54 [-0400]:
> + (add-after 'check 'check-continued
> + (lambda _
> + ;; To run bitmask test.
> + (with-directory-excursion "src/0xacab.org/leap/bitmask-vpn"
> + (delete-file "Makefile")
> + (invoke "qmake" "test.pro")
> + ;; Tests require display-server.
> + (setenv "QT_QPA_PLATFORM" "offscreen")
> + ;; Tests look for $XDG_RUNTIME_DIR.
> + (setenv "XDG_RUNTIME_DIR" (getenv "TEMP"))
> + ;; Tests write to $HOME.
> + (setenv "HOME" (getenv "TEMP"))
> + (invoke "make" "check"))))
I'd make this
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
[do-stuff]))
That way, the package transformation --without-tests=bitmask
should work. (Try "guix build --without-tests=bitmask bitmask".)
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#48729] [PATCH v5 19/25] gnu: Add go-github-com-shadowsocks-go-shadowsocks2., (continued)
- [bug#48729] [PATCH v5 19/25] gnu: Add go-github-com-shadowsocks-go-shadowsocks2., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 15/25] gnu: Add go-github-com-opentracing-opentracing-go., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 20/25] gnu: Add go-github-com-kataras-pio., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 22/25] gnu: Add go-github-com-operatorfoundation-shapeshifter-transports., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 23/25] gnu: Add go-0xacab-org-leap-shapeshifter., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 21/25] gnu: Add go-github-com-kataras-golog., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 25/25] services: Add bitmask-service-type., Raghav Gururajan, 2021/06/18
- [bug#48729] [PATCH v5 24/25] gnu: Add bitmask., Raghav Gururajan, 2021/06/18