bug-automake
[Top][All Lists]
Advanced

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

bug#10866: [FYI] tests: fix spurious failure due to exported MAKEINFO (w


From: Stefano Lattarini
Subject: bug#10866: [FYI] tests: fix spurious failure due to exported MAKEINFO (was: Re: bug#10866: 1.11a OSX with llvm - 3 fails, 47 skips, 3 errors, out of 2856 tests)
Date: Fri, 02 Mar 2012 22:28:22 +0100

On 03/01/2012 10:45 PM, P. Martin wrote:

> FAIL: txinfo30
> ==============
>
> Running from installcheck: no
> Using TAP: no
> PATH = /private/tmp/homebrew-automake-HEAD-DUdI/tests/ax:...
> ++ pwd
> /private/tmp/homebrew-automake-HEAD-DUdI/tests/txinfo30.dir
> + echo info_TEXINFOS = bar.texi
> + echo grepme
> + sleep 2
> + cat
> + echo AC_OUTPUT
> + cat
> + chmod +x makeinfo
> ++ pwd
> + PATH=/private/tmp/homebrew-automake-HEAD-DUdI/tests/txinfo30.dir:...
> + export PATH
> + aclocal-1.11a -Werror
> + autoconf
> + automake-1.11a --foreign -Werror -Wall --add-missing
> Makefile.am:1: installing './texinfo.tex'
> + ./configure
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> + make
> restore=: && backupdir=".am$$" && \
>       am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
>       rm -rf $backupdir && mkdir $backupdir && \
>       if (/usr/local/Cellar/texinfo/4.13a/bin/makeinfo --version) >/dev/null 
> 2>&1; then \
>         for f in bar.info bar.info-[0-9] bar.info-[0-9][0-9] bar.i[0-9] 
> bar.i[0-9][0-9]; do \
>           if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
>         done; \
>       else :; fi && \
>       cd "$am__cwd"; \
>       if /usr/local/Cellar/texinfo/4.13a/bin/makeinfo   -I . \
>        -o bar.info bar.texi; \
>       then \
>         rc=0; \
>         CDPATH="${ZSH_VERSION+.}:" && cd .; \
>       else \
>         rc=$?; \
>         CDPATH="${ZSH_VERSION+.}:" && cd . && \
>         $restore $backupdir/* `echo "./bar.info" | sed 's|[^/]*$||'`; \
>       fi; \
>       rm -rf $backupdir; exit $rc
> + grep grepme bar.info
> + exit_status=1
> ...
> txinfo30: exit 1

I managed to reproduce this failure by exporting $MAKEINFO to the
absolute path of a working makeinfo program before running the test.
The attached patch (pushed to master) fixes the issue.

Thanks,
  Stefano

Attachment: 0001-tests-fix-spurious-failure-due-to-exported-MAKEINFO.patch
Description: Text Data


reply via email to

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