Changeset 2539


Ignore:
Timestamp:
Aug 1, 2011, 1:19:34 AM (10 years ago)
Author:
Peter
Message:

test for YAT_REVISION_HEADER and fix tests for sister macros. refs #668

Location:
trunk
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_am_macros.m4

    r2536 r2539  
    11## $Id$
    22
    3 # serial 5 (yat 0.8)
     3# serial 6 (yat 0.8)
    44
    55m4_define([yat_am_macros_copyright], [
     
    139139m4_pushdef([yat_AM_FILE], [m4_default([$1], [svn_revision_header.am])])
    140140m4_define([yat_HEADER_FILE], [m4_default([$2], [svn_revision.h])])
    141 m4_pushdef([yat_REVISION_DEFINE], [m4_default([$1], [SVN_REVISION])])
    142 m4_pushdef([yat_INPUT_FILE], [m4_default([$3], [.revision])])
     141m4_pushdef([yat_REVISION_DEFINE], [m4_default([$3], [SVN_REVISION])])
     142m4_pushdef([yat_INPUT_FILE], [m4_default([$4], [.revision])])
    143143
    144144dnl create svn_revision.h.in
  • trunk/test/Makefile.am

    r2538 r2539  
    8383yat_m4_test2.sh \
    8484yat_prog_move_if_change_test.sh \
     85yat_revision_header_test.sh \
    8586yat_svn_revision_test.sh
    8687
     
    130131yat_prog_move_if_change_test.log: $(top_srcdir)/m4/yat_am_macros.m4 \
    131132  common_defs.sh
     133yat_revision_header_test.log: $(top_srcdir)/m4/yat_am_macros.m4 common_defs.sh
    132134yat_svn_revision_test.log: $(top_srcdir)/m4/yat_am_macros.m4 common_defs.sh
    133135
  • trunk/test/yat_have_svn_wc_test.sh

    r2537 r2539  
    3535
    3636cat > Makefile.am <<EOF
     37ACLOCAL_AMFLAGS = -I m4 -I ${abs_top_srcdir}/m4 --install
    3738if HAVE_SVN_WC
    3839all-local:; false
  • trunk/test/yat_prog_move_if_change_test.sh

    r2536 r2539  
    3535
    3636cat > Makefile.am <<EOF
    37 # Makefile.am
     37ACLOCAL_AMFLAGS = -I m4 -I ${abs_top_srcdir}/m4 --install
    3838EOF
    3939rm -f move-if-change
  • trunk/test/yat_svn_revision_test.sh

    r2538 r2539  
    3535
    3636cat > Makefile.am <<EOF
     37ACLOCAL_AMFLAGS = -I m4 -I ${abs_top_srcdir}/m4 --install
    3738EXTRA_DIST =
    3839include my_svn_revision.am
Note: See TracChangeset for help on using the changeset viewer.