From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ON0gASV0HWEJpgAAgWs5BA (envelope-from ) for ; Wed, 18 Aug 2021 22:57:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6P96OCR0HWHhXwAA1q6Kng (envelope-from ) for ; Wed, 18 Aug 2021 20:57:08 +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 91FEF9627 for ; Wed, 18 Aug 2021 22:57:08 +0200 (CEST) Received: from localhost ([::1]:46522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGScV-0004GF-Ej for larch@yhetil.org; Wed, 18 Aug 2021 16:57:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGScQ-0004G4-UL for guix-patches@gnu.org; Wed, 18 Aug 2021 16:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46171) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGScQ-0007C1-My for guix-patches@gnu.org; Wed, 18 Aug 2021 16:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGScQ-0006kg-G4 for guix-patches@gnu.org; Wed, 18 Aug 2021 16:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50084] [PATCH v2] gnu: waypipe: Enable tests. Resent-From: Robby Zambito Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Aug 2021 20:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50084 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50084@debbugs.gnu.org Cc: Robby Zambito Received: via spool by 50084-submit@debbugs.gnu.org id=B50084.162932018525909 (code B ref 50084); Wed, 18 Aug 2021 20:57:02 +0000 Received: (at 50084) by debbugs.gnu.org; 18 Aug 2021 20:56:25 +0000 Received: from localhost ([127.0.0.1]:57717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGSbl-0006jl-Bo for submit@debbugs.gnu.org; Wed, 18 Aug 2021 16:56:25 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:40865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGSJh-0004Aj-6C for 50084@debbugs.gnu.org; Wed, 18 Aug 2021 16:37:42 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 2935F40004; Wed, 18 Aug 2021 20:37:33 +0000 (UTC) From: Robby Zambito Date: Wed, 18 Aug 2021 16:27:11 -0400 Message-Id: <20210818202710.55244-1-contact@robbyzambito.me> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210817015308.353224-1-contact@robbyzambito.me> References: <20210817015308.353224-1-contact@robbyzambito.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Wed, 18 Aug 2021 16:56:19 -0400 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629320228; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=XjApX0sZF8BPtbPe6cniC2li24/9kaX4sWHYfKiE5kE=; b=cV6FffcYfDIvvIe0mTc8djvhGjpUM3CE8wkUhLl0bVhXCkjqzwWRWxSGD/zWeWV+ZBfg7o 9KuMEZQxlN7ZUjVef/8EGIB83FePc7xpTM91VjfYYPnqpxn2AQ2CcRL3eclaRcI0BEukmM 633LYzk6nEHJHtA/ODyTOEIcZn7iKotJKWMgYa28H2dFNlA0aluFKzEgo/V0qDh3WXX5IK 0U0+TD827ZxGtM8g6oSH5oU6hW9V86LLZypuPzN9xJ6eMKVhkiPKLu/pUVCEhCnVkp+I7E AYB1O2W01GtUCe6l734RNORFCAVxTCEUuRlzp4L6iHHwx5Y0LBqPjEBEYCJwKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629320228; a=rsa-sha256; cv=none; b=qmFnt7HRHFVp7al+oks3pmxovDxhD4yMA6dZwQL+MCloZEj6me0csxwxon7aHUI0glhDHt q0QDP2spPHc+LzJknwv+i13XMLGbZ/5i3dUfoemcESaaGuBMiUgVJyDdME3ToLTmfN0GJz gIk1sE3M2upXmnlTUsQV1kpjy0nb/iHPYXN5hwvtQifjSmel1TUJOzhiK3E9Pq5wV92N8H IjvP2WuLp+0nmV4Hwzp+KlrEZ5v1dzYR9JibPgEyaGEAfggpHwQx7aEolhhd79tN428GGi tAloCiHnOxL+cPCx1tFppvgiP7h3GR3FaP+MmIU8SM3klSjTCwsruW2gx0eF3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.58 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 91FEF9627 X-Spam-Score: 2.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: GqixQBBvHr2g * gnu/packages/xdisorg.scm (waypipe): Don't skip tests. Add dependencies required to run the tests. --- This is my first contribution to guix, I was not aware of how to do what was needed to properly pass the tests for this package. After consulting #guix on IRC, I have believe I have made the necessary changes. gnu/packages/xdisorg.scm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index d79f580b47..ba520d35ae 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -881,13 +881,24 @@ include cursor in the resulting image.") (sha256 (base32 "1qa47ljfvb1vv3h647xwn1j5j8gfmcmdfaz4j8ygnkvj36y87vnz")))) (build-system meson-build-system) - ;; One test fails where the program does not exit cleanly given a bad - ;; setup. Not ideal but probably safe to ignore. Check that no other tests - ;; fail before bumping the version. If all tests pass, remove this. (arguments `(#:phases (modify-phases %standard-phases - (delete 'check)))) + (add-after 'unpack 'fix-sleep-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (coreutils (assoc-ref inputs "coreutils"))) + (substitute* "./test/startup_failure.py" + (("sleep") + (string-append coreutils "/bin/sleep"))) + #t)))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("scdoc" ,scdoc))) + (inputs + ;; For tests + `(("python" ,python) + ("coreutils" ,coreutils))) (home-page "https://gitlab.freedesktop.org/mstoeckl/waypipe") (synopsis "Proxy for Wayland protocol applications") (description "Waypipe is a proxy for Wayland clients, with the aim of -- 2.32.0