[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] fix test-update-copyright when perl is not in /usr/bin/perl
From: |
Jim Meyering |
Subject: |
Re: [patch] fix test-update-copyright when perl is not in /usr/bin/perl |
Date: |
Mon, 14 Sep 2009 16:44:54 +0200 |
Christophe LYON wrote:
> Hello,
>
> Here is a small patch to make "make check" PASS when a suitable perl
> is not in /usr/bin. (without this, I had update-copyright.sh FAIL,
> while my system has fairly recent perl installed, but not in /usr/bin)
Thanks for the patch.
However, that test should exit 77, and hence merely be skipped,
when /usr/bin/perl does not exist. Please run it manually,
to see what's going wrong:
PATH="$PWD/build-aux:$PATH" bash -x gnulib-tests/test-update-copyright.sh
when I simulate having no /usr/bin/perl by
changing that script to attempt to use /usr/bin/no-perl
in the first test, it detects the problems and does this:
$ PATH="$PWD/build-aux:$PATH" gnulib-tests/test-update-copyright.sh
gnulib-tests/test-update-copyright.sh: skipping this test;
your system has insufficient support for Perl
$ echo $?
77