From: Akim Demaille Date: Thu, 25 Jan 2001 16:59:58 +0000 (+0000) Subject: * makevars.test: New. X-Git-Tag: Release-1-4d~95 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=a03ff505b5a10a15768690d0edb4591e521c388c;p=automake.git * makevars.test: New. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 5f743070..f4760d65 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2001-01-25 Akim Demaille + + * makevars.test: New. + 2001-01-24 Akim Demaille * vtexi.test (info_TEXINFOS): Escape a $ in egrep pattern. diff --git a/tests/Makefile.am b/tests/Makefile.am index 28ba2ec3..220354a5 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = gnits -XFAIL_TESTS = +XFAIL_TESTS = TESTS = \ acinclude.test \ aclocal.test \ @@ -159,6 +159,7 @@ link_f_cxx.test \ link_f_only.test \ lisp.test \ ltlibobjs.test \ +makevars.test \ mclean.test \ mdate.test \ mdate2.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index 8cc9429d..0e8cd1d9 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -228,6 +228,7 @@ link_f_cxx.test \ link_f_only.test \ lisp.test \ ltlibobjs.test \ +makevars.test \ mclean.test \ mdate.test \ mdate2.test \ diff --git a/tests/makevars.test b/tests/makevars.test new file mode 100755 index 00000000..78558909 --- /dev/null +++ b/tests/makevars.test @@ -0,0 +1,18 @@ +#! /bin/sh -x + +# Test to make sure that automake includes the needed variables, +# but not too many. + +. $srcdir/defs || exit 1 + +# Find the macros wanted by Automake. +$ACLOCAL || exit 1 + +# Create some dummy Makefile.in. +: >Makefile.am +$AUTOMAKE + +# We are definitely not needing a compiler or preprocessor. +egrep '^(CC|CPP|CXX|CXXCPP) =' Makefile.in && exit 1 + +exit 0