From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ECSpGJDkzGDFgwAAgWs5BA (envelope-from ) for ; Fri, 18 Jun 2021 20:23:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sHliFJDkzGDSKQAAbx9fmQ (envelope-from ) for ; Fri, 18 Jun 2021 18:23:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2B3A314A1B for ; Fri, 18 Jun 2021 20:23:12 +0200 (CEST) Received: from localhost ([::1]:55524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luJ94-0001lD-O8 for larch@yhetil.org; Fri, 18 Jun 2021 14:23:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luJ8w-0001kn-Hc for guix-patches@gnu.org; Fri, 18 Jun 2021 14:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luJ8w-000220-AM for guix-patches@gnu.org; Fri, 18 Jun 2021 14:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luJ8w-0006UY-0z for guix-patches@gnu.org; Fri, 18 Jun 2021 14:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48729] [PATCH v5 24/25] gnu: Add bitmask. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Jun 2021 18:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Raghav Gururajan , 48729@debbugs.gnu.org Cc: Jorge Gomez Received: via spool by 48729-submit@debbugs.gnu.org id=B48729.162404055724910 (code B ref 48729); Fri, 18 Jun 2021 18:23:01 +0000 Received: (at 48729) by debbugs.gnu.org; 18 Jun 2021 18:22:37 +0000 Received: from localhost ([127.0.0.1]:58171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luJ8W-0006Ti-Uz for submit@debbugs.gnu.org; Fri, 18 Jun 2021 14:22:37 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:58956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luJ8V-0006TZ-Jo for 48729@debbugs.gnu.org; Fri, 18 Jun 2021 14:22:36 -0400 Received: from butterfly.local ([213.119.219.214]) by baptiste.telenet-ops.be with bizsmtp id JiNZ2500P4e8Tal01iNZ47; Fri, 18 Jun 2021 20:22:34 +0200 Message-ID: <4e3703c2e14c0cc44f88c18e1bd255e1b032f99b.camel@telenet.be> From: Maxime Devos Date: Fri, 18 Jun 2021 20:22:33 +0200 In-Reply-To: <20210618065416.22391-24-rg@raghavgururajan.name> References: <20210618065416.22391-14-rg@raghavgururajan.name> <20210618065416.22391-24-rg@raghavgururajan.name> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-/hzLhMJVPxYYhK0Q4idX" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624040554; bh=gHfYn9RqENw3H5xpb8ISjJPPQk2JQP5rtv/KNlLHaRU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=fUCgdyCwNuLCeRjFgGioesLwMadgHMiZB4O19fddpHQIGGVhrpeoYidTF0vut47zY 2Xk/XPfjZ7erGrAgnAfx4FKcglA+nU33a7zhjYrucIzmii6+X85CJX/NLxDLtDnlUF auLYhV0okvD2tJltX3rXO3iTkXaBpDRngO+coHbrX1PT3Qy/ko1Ol1mSzCmKvkVqz/ bX8ZmvhG0tR2y0I5qWJQqUpg27Rnl/BpmHcmnugLh54gQrWDOp6mZs/rqQgP/oquG2 wKcAQQ+/yiecIoPikjf4F0ThXHnhwGuy0syr5U+9Ld4/HVhPxj97tF1XBr5EthsdPw USEv56nRHg4RA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 2B3A314A1B X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: vpvdvY/chIKK --=-/hzLhMJVPxYYhK0Q4idX Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Raghav Gururajan via Guix-patches via schreef op vr 18-06-2021 om 02:54 [-0= 400]: > + (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=3Dbitmask should work. (Try "guix build --without-tests=3Dbitmask bitmask".) Greetings, Maxime. --=-/hzLhMJVPxYYhK0Q4idX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYMzkaRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7j6AAP0YtaaqwmMajgCIEJ7/blTlWe0e EMO+hbz/09hT350ylwD+ObnEbifaIqcEbOdxPgF9F21qNyLZEgaQ3YH3W/bchw0= =QQPE -----END PGP SIGNATURE----- --=-/hzLhMJVPxYYhK0Q4idX--