From a734beabb1a758341d265992d7ce9930a9461fdd Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 25 Jan 2001 16:59:58 +0000 Subject: [PATCH] * makevars.test: New. --- tests/ChangeLog | 4 ++++ tests/Makefile.am | 3 ++- tests/Makefile.in | 1 + tests/makevars.test | 18 ++++++++++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100755 tests/makevars.test diff --git a/tests/ChangeLog b/tests/ChangeLog index 5f74307..f4760d6 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 28ba2ec..220354a 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 8cc9429..0e8cd1d 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 0000000..7855890 --- /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 -- 2.7.4