From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:41140) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnSfG-0005Kg-TX for guix-patches@gnu.org; Tue, 16 Jul 2019 14:59:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnSfG-0001hk-0c for guix-patches@gnu.org; Tue, 16 Jul 2019 14:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnSfF-0001hY-TS for guix-patches@gnu.org; Tue, 16 Jul 2019 14:59:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnSfF-0001l9-Pz for guix-patches@gnu.org; Tue, 16 Jul 2019 14:59:01 -0400 Subject: [bug#36692] [PATCH 2/2] gnu: ghc@8.6.5: Skip failing tests Resent-Message-ID: From: Robert Vollmert Date: Tue, 16 Jul 2019 20:58:36 +0200 Message-Id: <20190716185836.23128-2-rob@vllmrt.net> In-Reply-To: <20190716185836.23128-1-rob@vllmrt.net> References: <20190716185836.23128-1-rob@vllmrt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36692@debbugs.gnu.org Cc: Robert Vollmert These two tests require the existence of user root with id 0. * gnu/packages/haskell.scm (ghc-8.6): Add phase 'skip-tests. --- gnu/packages/haskell.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 0d53f16b2a..e672ea9232 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -636,6 +636,14 @@ interactive environment for the functional language Haskell.") (assoc-ref inputs "ghc-testsuite") "--strip-components=1") #t)) + ;; These two tests refer to the root user, which doesn't exist. + (add-after 'unpack-testsuite 'skip-tests + (lambda _ + (substitute* "libraries/unix/tests/all.T" + (("^test\\('T8108'") "# guix skipped: test('T8108'")) + (substitute* "libraries/unix/tests/libposix/all.T" + (("^test\\('posix010'") "# guix skipped: test('posix010'")) + #t)) ;; This phase patches the 'ghc-pkg' command so that it sorts the list ;; of packages in the binary cache it generates. (add-before 'build 'fix-ghc-pkg-nondeterminism -- 2.20.1 (Apple Git-117)