From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52754) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKsyO-0007lE-4a for guix-patches@gnu.org; Thu, 08 Nov 2018 17:40:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKsy7-0002v3-D8 for guix-patches@gnu.org; Thu, 08 Nov 2018 17:40:14 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKsy3-0002r4-B8 for guix-patches@gnu.org; Thu, 08 Nov 2018 17:40:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKsy3-0004KK-44 for guix-patches@gnu.org; Thu, 08 Nov 2018 17:40:03 -0500 Subject: [bug#33322] [PATCH] gnu: maxima: Fix tests on i686 and x86_64. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKswz-0005uM-QF for guix-patches@gnu.org; Thu, 08 Nov 2018 17:39:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKsm3-0007VW-0H for guix-patches@gnu.org; Thu, 08 Nov 2018 17:27:46 -0500 Received: from mout01.posteo.de ([185.67.36.65]:44105) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gKslu-0007Ra-OE for guix-patches@gnu.org; Thu, 08 Nov 2018 17:27:33 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A6185160061 for ; Thu, 8 Nov 2018 23:27:22 +0100 (CET) From: Kei Kebreau Date: Thu, 8 Nov 2018 17:27:17 -0500 Message-Id: <20181108222717.10007-1-kkebreau@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: 33322@debbugs.gnu.org Cc: Kei Kebreau * gnu/packages/maths.scm (maxima)[arguments]: Replace check phase. --- gnu/packages/maths.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 808ab5345..389343051 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2716,6 +2716,18 @@ to BMP, JPEG or PNG image formats.") (lambda _ (chmod "src/maxima" #o555) #t)) + (replace 'check + (lambda _ + ;; This is derived from the testing code in the "debian/rul= es" file + ;; of Debian's Maxima package. + ;; If Maxima can successfully run this, the binary to be in= stalled + ;; should be fine. + (zero? + (system + (string-append "./maxima-local " + "--lisp=3Dgcl " + "--batch-string=3D\"run_testsuite();\" " + "| grep -q \"No unexpected errors found\""= ))))) ;; Make sure the doc and emacs files are found in the ;; standard location. Also configure maxima to find gnuplot ;; without having it on the PATH. --=20 2.19.1