• Show log

    Commit

  • Hash : 082028c1
    Author : Stefano Lattarini
    Date : 2011-02-21T14:57:24

    tests: add testcases sanity-checking the testsuite
    
    Helper subroutines, variables and other pieces of code defined
    in the `tests/defs' and used by many testcases are non-obvious,
    and tricky to get to work portably; but until now, they weren't
    tested at all in a clear and self-contained way.
    This change should remedy to the situation.
    
    * tests/self-check-cleanup.test: New test, check removal of
    temporary test working directory by `./defs'.
    * tests/self-check-dir.test: New test, check that tests using
    `./defs' create a proper temporary directory, and run in it.
    * tests/self-check-exit.test: New test, check that, in case of
    failing commands, the correct exit status is passed to the exit
    trap installed by the `./defs' script.
    * tests/self-check-is_newest.test: New test, checking the
    `is_newest' subroutine.
    * tests/self-check-me.test: New test, checking that $me gets
    defined automatically by `tests/defs' if not set, and that it
    can be overridden from either the shell or the environment.
    * tests/self-check-sanity.test: New test, check that the sanity
    checks performed by the `tests/defs' script works correctly.
    * tests/self-check-unindent.test: New test, checking the
    `unindent' subroutine.
    * tests/Makefile.am (TESTS): Update.
    

  • 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.  Capture its output in case of failing tests.  For more
    information, please see the file tests/README.
    
    Automake has a page on the web.  See:
    
    	http://sources.redhat.com/automake/
    
    The mailing list automake@gnu.org is for discussion of Automake and
    its interactions with other configuration/portability tools like
    Autoconf or Libtool.  Write to automake-request@gnu.org if you want to
    join.
    
    Mail suggestions and bug reports to bug-automake@gnu.org, patches
    to automake-patches@gnu.org.
    
    New releases are announced to autotools-announce@gnu.org.  Write to
    autotools-announce-request@gnu.org if you want to receive them.
    
    -----
    
    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/>.