unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita@karetnikov.org>
Cc: bug-guix@gnu.org
Subject: Re: GNU Wdiff: Testsuite fails
Date: Mon, 11 Feb 2013 10:19:12 +0100	[thread overview]
Message-ID: <874nhj438v.fsf@gnu.org> (raw)
In-Reply-To: <871ucnsa32.fsf@karetnikov.org> (Nikita Karetnikov's message of "Mon, 11 Feb 2013 00:17:22 -0500")

Nikita Karetnikov <nikita@karetnikov.org> skribis:

> /tmp/nix-build-wdiff-1.1.2.drv-12/wdiff-1.1.2/src/wdiff: failed to execute diff: No such file or directory

So, the test suite creates ‘diff’ binaries, for instance, with an
invalid shebang.

To fix that you need to add a phase that does:

  (substitute* "tests/testsuite"
    (("#! /bin/sh")
     (string-append "#!" (which "sh"))))

I believe this should be enough.

HTH,
Ludo’.

  reply	other threads:[~2013-02-11  9:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-05  3:18 GNU Wdiff: Testsuite fails Nikita Karetnikov
2013-02-05  8:53 ` Ludovic Courtès
2013-02-07  9:41   ` Nikita Karetnikov
2013-02-07 11:09     ` Ludovic Courtès
2013-02-09  2:57       ` Nikita Karetnikov
2013-02-09 15:14         ` Ludovic Courtès
2013-02-11  5:17           ` Nikita Karetnikov
2013-02-11  9:19             ` Ludovic Courtès [this message]
2013-02-11 11:48               ` [PATCH] gnu: Add GNU Wdiff. (was: GNU Wdiff: Testsuite fails) Nikita Karetnikov
2013-02-11 13:15                 ` [PATCH] gnu: Add GNU Wdiff 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=874nhj438v.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bug-guix@gnu.org \
    --cc=nikita@karetnikov.org \
    /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).