unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: guix-devel@gnu.org, julien@lepiller.eu
Subject: Re: 01/01: gnu: php: Disable failing tests on armhf.
Date: Fri, 29 Mar 2019 09:25:48 +0100	[thread overview]
Message-ID: <87woki9jeb.fsf@gnu.org> (raw)
In-Reply-To: <20190328215945.3F18020619@vcs0.savannah.gnu.org> (guix-commits's message of "Thu, 28 Mar 2019 17:59:45 -0400 (EDT)")

Hello!

guix-commits@gnu.org skribis:

> commit e8cfce439afed945e352ad28f73f0a5f7840f503
> Author: Julien Lepiller <julien@lepiller.eu>
> Date:   Thu Mar 28 22:55:17 2019 +0100
>
>     gnu: php: Disable failing tests on armhf.
>     
>     * gnu/packages/php.scm (php)[arguments]: Disable failing tests on armhf.

[...]

> +             ,@(if (string-prefix? "armhf" (or (%current-system)
> +                                               (%current-target-system)))
> +                   ;; Drop tests known to fail on armhf.
> +                   '((for-each delete-file
> +                              (list
> +                                "ext/calendar/tests/unixtojd_error1.phpt"
> +                                ;; arm can be a lot slower, so a time-related test fails
> +                                "ext/fileinfo/tests/cve-2014-3538-nojit.phpt"
> +                                "ext/pcre/tests/bug76514.phpt"
> +                                "ext/pcre/tests/preg_match_error3.phpt"))))

I think the ‘else’ branch is missing, which presumably breaks PHP on
non-ARM platforms.

Also, ‘%current-target-system’ is a GNU triplet, typically
“arm-linux-gnueabihf”, which doesn’t start with “armhf”.  I think the
test should be (string-prefix? "arm" …).

Thanks,
Ludo’.

       reply	other threads:[~2019-03-29  8:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190328215944.26750.66794@vcs0.savannah.gnu.org>
     [not found] ` <20190328215945.3F18020619@vcs0.savannah.gnu.org>
2019-03-29  8:25   ` Ludovic Courtès [this message]
2019-03-29  8:35   ` 01/01: gnu: php: Disable failing tests on armhf Christopher Baines
2019-03-29  9:18     ` Julien Lepiller
2019-03-29 16:03       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87woki9jeb.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).