* makevars.test: New.
authorAkim Demaille <akim@epita.fr>
Thu, 25 Jan 2001 16:59:58 +0000 (16:59 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 25 Jan 2001 16:59:58 +0000 (16:59 +0000)
tests/ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/makevars.test [new file with mode: 0755]

index 5f74307..f4760d6 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-25  Akim Demaille  <akim@epita.fr>
+
+       * makevars.test: New.
+
 2001-01-24  Akim Demaille  <akim@epita.fr>
 
        * vtexi.test (info_TEXINFOS): Escape a $ in egrep pattern.
index 28ba2ec..220354a 100644 (file)
@@ -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 \
index 8cc9429..0e8cd1d 100644 (file)
@@ -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 (executable)
index 0000000..7855890
--- /dev/null
@@ -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