Edit

kc3-lang/automake/tests/pr9.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 2001-03-04 21:05:09
    Hash : f61d5113
    Message : * tests/yaccvpath.test: No need to remove dummy files. * tests/subobj3.test: No need to remove dummy files. * tests/pr9.test: No need to remove dummy files. * tests/pr87.test: No need to remove dummy files. * tests/pr19.test: No need to remove dummy files. * tests/install2.test: No need to remove dummy files. * tests/defs: Actually copy in install-sh, mkinstalldirs, missing, and depcomp.

  • tests/pr9.test
  • #! /bin/sh
    
    # Test for bug in PR 9.
    
    . $srcdir/defs || exit 1
    
    cat > configure.in << 'END'
    AC_INIT(Makefile.am)
    AC_CONFIG_AUX_DIR(support)
    AM_INIT_AUTOMAKE(pr9, 0)
    AC_OUTPUT(Makefile)
    END
    
    : > Makefile.am
    
    mkdir support
    
    # Fail gracefully if no autoconf.
    $needs_autoconf
    
    # Likewise for gzip.
    (gzip --version) > /dev/null 2>&1 || exit 77
    
    $ACLOCAL || exit 1
    
    $AUTOCONF || exit 1
    $AUTOMAKE -a -c || exit 1
    ./configure || exit 1
    $MAKE || exit 1
    $MAKE distcheck || exit 1
    
    gunzip pr9-0.tar.gz || exit 1
    
    tar tf pr9-0.tar | fgrep support