automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: test suite fixes for Solaris


From: Alexandre Duret-Lutz
Subject: FYI: test suite fixes for Solaris
Date: Mon, 10 Jun 2002 20:42:44 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

I'm checking in this on HEAD and branch.

Index: ChangeLog
===================================================================
RCS file: /cvs/automake/automake/ChangeLog,v
retrieving revision 1.1812.2.35
diff -u -r1.1812.2.35 ChangeLog
--- ChangeLog   10 Jun 2002 17:44:27 -0000      1.1812.2.35
+++ ChangeLog   10 Jun 2002 18:40:30 -0000
@@ -1,5 +1,11 @@
 2002-06-10  Alexandre Duret-Lutz  <address@hidden>
 
+       * tests/dollar.test: Require GNU make.
+       * tests/maintclean.test: Don't use `export YACC=false'.  Pass
+       YACC=false to configure instead.
+
+2002-06-10  Alexandre Duret-Lutz  <address@hidden>
+
        * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
        INSTALL: New upstream versions.
 
Index: tests/dollar.test
===================================================================
RCS file: /cvs/automake/automake/tests/dollar.test,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 dollar.test
--- tests/dollar.test   8 Jun 2002 16:56:56 -0000       1.1.2.1
+++ tests/dollar.test   10 Jun 2002 18:40:30 -0000
@@ -6,6 +6,10 @@
 
 . $srcdir/defs
 
+# Require GNU make for this test.  SunOS Make does not support
+# `$$' in a target or a dependency (it outputs the empty string instead).
+$needs_gnu_make
+
 set -e
 
 echo AC_OUTPUT >> configure.in
@@ -14,12 +18,11 @@
 mydir = $(prefix)/my
 dist_my_DATA = hello$$world
 
-hello$$world:
-       touch '$@'
-
 check-dist: distdir
        test -f '$(distdir)/hello$$world'
 EOF
+
+: > 'hello$$world'
 
 $ACLOCAL
 $AUTOCONF
Index: tests/maintclean.test
===================================================================
RCS file: /cvs/automake/automake/tests/maintclean.test,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 maintclean.test
--- tests/maintclean.test       6 Jun 2002 08:35:01 -0000       1.3.2.1
+++ tests/maintclean.test       10 Jun 2002 18:40:30 -0000
@@ -23,16 +23,14 @@
 
 touch bar.in
 
-# Since we don't require Yacc, make sure it's not used.
-export YACC=false
-
 $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
 
 test -d autom4te.cache
 
-./configure
+# Since we don't require Yacc, make sure it's not used.
+./configure YACC=false
 test -f bar
 
 $MAKE

-- 
Alexandre Duret-Lutz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]