guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#33322] [PATCH] gnu: maxima: Fix tests on i686 and x86_64.


From: Ludovic Courtès
Subject: [bug#33322] [PATCH] gnu: maxima: Fix tests on i686 and x86_64.
Date: Fri, 16 Nov 2018 22:44:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Kei Kebreau <address@hidden> skribis:

> * gnu/packages/maths.scm (maxima)[arguments]: Replace check phase.

[...]

> +             ;; This is derived from the testing code in the "debian/rules" 
> file
> +             ;; of Debian's Maxima package.
> +             ;; If Maxima can successfully run this, the binary to be 
> installed
> +             ;; should be fine.
> +             (zero?
> +              (system
> +               (string-append "./maxima-local "
> +                              "--lisp=gcl "
> +                              "--batch-string=\"run_testsuite();\" "
> +                              "| grep -q \"No unexpected errors found\"")))))

So the exit code without grep isn’t good enough, right?

If it has to be this way, so be it!

Thanks,
Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]