Edit

kc3-lang/automake/tests/pluseq6.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1999-03-21 23:24:09
    Hash : 7c06a4e2
    Message : * pluseq7.test: New file. * Makefile.am (TESTS): Added pluseq7.test. * pluseq6.test: New file. * Makefile.am (TESTS): Added pluseq6.test.

  • tests/pluseq6.test
  • #! /bin/sh
    
    # Test that `+=' works with standard header-vars.
    
    . $srcdir/defs || exit 1
    
    echo 'AC_SUBST(ZZZ)' >> configure.in
    
    # If you do this in a real Makefile.am, I will kill you.
    cat > Makefile.am << 'END'
    mandir += foo
    zq = zzz
    END
    
    $AUTOMAKE || exit 1
    fgrep '@mandir@ foo' Makefile.in || exit 1
    
    num=`grep '^mandir =' Makefile.in | wc -l`
    test $num -eq 1