Edit

kc3-lang/automake/tests/ansi2.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1998-09-28 01:47:08
    Hash : 18c8af98
    Message : * Makefile.am (TESTS): Added clean.am. * clean.test: New file. * ansi2.test: Updated test for new SUBDIRS change. * noinst.test: Updated test for new SUBDIRS change. * checkall.test: Added check to make sure check-local is handled. Updated test for new SUBDIRS change. * java.test: Updated test for new SUBDIRS change.

  • tests/ansi2.test
  • #! /bin/sh
    
    # Test to make sure ansi2knr built at the right time.
    
    . $srcdir/defs || exit 1
    
    cat > Makefile.am << 'END'
    AUTOMAKE_OPTIONS = ansi2knr
    bin_PROGRAMS = joe
    END
    
    cat >> configure.in << 'END'
    AC_PROG_CC
    AM_C_PROTOTYPES
    END
    
    : > ansi2knr.c
    : > ansi2knr.1
    
    $AUTOMAKE || exit 1
    
    grep '^all[-a-z]*:.*ANSI2KNR' Makefile.in