Edit

kc3-lang/automake/tests/instman.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1998-10-13 18:51:29
    Hash : d9b98a63
    Message : F77 changes + some random fixes * libobj7.test: Updated to reflect minor change in automake (test wasn't resilient enough). * instman.test: Updated to reflect fact that mkinstalldirs will be in distribution. * cxxonly.test: Removed. * Makefile.am (TESTS): Added compile_f_c_cxx.test. * compile_f_c_cxx.test: New file. * Makefile.am (TESTS): Added flink.test link_c_cxx.test link_f_c.test link_f_c_cxx.test link_f_cxx.test link_f_only.test. Removed flink.test. * flibs.test: New File. * link_c_cxx.test: New file. * link_f_c.test: New file. * link_f_c_cxx.test: New file. * link_f_cxx.test: New file. * link_f_only.test: New file. * Makefile.am (TESTS): Add cxxonly.test, fonly.test, flink.test, fnoc.test and fo.test. * cxxonly.test: New file. * fonly.test: New file. * flink.test: New file. * fnoc.test: New file. * fo.test: New file.

  • tests/instman.test
  • #! /bin/sh
    
    # Test to make sure mkinstalldirs invocation correct in install-man
    # target.  Bug reported by Gordon Irlam <gordoni@cygnus.com>.
    
    . $srcdir/defs || exit 1
    
    cat > Makefile.am << 'EOF'
    man_MANS = frob.8
    EOF
    
    : > frob.8
    
    $AUTOMAKE || exit 1
    
    grep '[^(/]mkinstalldirs' Makefile.in > out || exit 1
    test `wc -l < out` -eq 1