]> sourceware.org Git - automake.git/commitdiff
* 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 5f7430706698dc8e286aa95d86c778f0a174b555..f4760d65f83bce1772b7e5885816f66db2a61104 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 28ba2ec394168fda4e6458dbaa576705ea47cb8a..220354a5298abafbd1d25f0e12311593183b7d62 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 8cc9429d9fd8f9427c2810971848d783c4446445..0e8cd1d9a87eb16cba74c9d0b9ad28bfcec1a5fa 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
This page took 0.027426 seconds and 5 git commands to generate.