• Show log

    Commit

  • Hash : 2077a044
    Author : Stefano Lattarini
    Date : 2012-02-02T14:51:59

    tap/perl: handle missing or non-executable scripts better
    
    This change improves how our Perl-based TAP driver handles
    non-runnable test scripts (meaning they might be not executable,
    or not readable, or even not exist).  In particular, it makes the
    driver deterministically display a clear "ERROR" result instead
    of possibly dying with diagnostic from 'TAP::Parser' internals,
    and prevents it from displaying spurious "missing TAP plan" errors.
    
    Moreover, with this change, some testsuite failures present only
    with newer perl versions (e.g., 5.14) are fixed.  See automake
    bug#10418.
    
    * tests/tap-bad-prog.tap: When testing the perl implementation of
    the TAP driver, and when the perl interpreter offers a good-enough
    'IPC::Open3::open3' function, expect it not to display spurious
    "missing TAP plan" diagnostic if the error is actually due to a
    non-runnable test script.
    * lib/tap-driver.pl (start): Removed, broken up into ...
    (setup_io): ... this ...
    (setup_parser): ... and this, which now tries to catch and report
    errors in launching the test scripts.
    (finish): New, used by both 'main' and 'setup_parser'.
    (main): Adjust.
    

  • README

  • This is Automake, a Makefile generator.  It was inspired by the 4.4BSD
    make and include files, but aims to be portable and to conform to the
    GNU Coding Standards for Makefile variables and targets.
    
    Automake is a Perl script.  The input files are called Makefile.am.
    The output files are called Makefile.in; they are intended for use
    with Autoconf.  Automake requires certain things to be done in your
    configure.ac.
    
    Variable assignment lines in Makefile.am pull in defaults from various
    little *.am files.
    
    To use Automake, replace your Makefile.in files with Makefile.am
    files.  Read the documentation to see what to do.
    
    This package also includes the "aclocal" program.  aclocal is a
    program to generate an `aclocal.m4' based on the contents of
    `configure.ac'.  It is useful as an extensible, maintainable mechanism
    for augmenting autoconf.  It is intended that other package authors
    will write m4 macros which can be automatically used by aclocal.
    
    Automake has a test suite.  Use
    
    	make check
    
    to run it.  For more information, see the file tests/README.
    
    Automake has a page on the web.  See:
    
    	http://www.gnu.org/software/automake/
    
    Automake also has three mailing lists:
    
      * automake@gnu.org
        For general discussions of Automake and its interactions with other
        configuration/portability tools like Autoconf or Libtool.
    
      * bug-automake@gnu.org
        Where to send bug reports and feature requests.
    
      * automake-patches@gnu.org
        Where to send patches, and discuss the automake development process
        and the  design of new features.
    
    To obtain more information about these list, or to subscribe to them,
    refer to <http://www.gnu.org/software/automake/#mailinglists>
    
    New releases are announced to autotools-announce@gnu.org.  If you want to
    be informed, subscribe to that list by following the instructions at
    <http://lists.gnu.org/mailman/listinfo/autotools-announce>.
    
    -----
    
    Copyright (C) 1994, 1995, 1996, 1997, 1998, 2001, 2003, 2008, 2009, 2011
      Free Software Foundation, Inc.
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2, or (at your option)
    any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.