bug-automake
[Top][All Lists]
Advanced

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

Re: "make check-TEST" lossage on FreeBSD make (+ untested patch)


From: Alexandre Duret-Lutz
Subject: Re: "make check-TEST" lossage on FreeBSD make (+ untested patch)
Date: Thu, 13 May 2004 20:46:44 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:

[...]

 Mark> lex3.test
 Mark> yacc6.test

 adl> I can reproduce these two under Linux using FreeBSD make.

I'm installing the following on HEAD and branch-1-8.  

I've worked on a patch to build parse.h, parser.h and lexer.c in
the source directory; unfortunately this means that any
user-reference to these files must be changed from xxx to
$(srcdir)/xxx.  This is especially worrisome for parse.h,
because it is usually listed in BUILT_SOURCE.  It is not yet
clear to me whether fixing such reference automatically is
possible.

2004-05-13  Alexandre Duret-Lutz  <address@hidden>

        * tests/lex3.test, tests/yacc6.test: Require GNU Make.
        Fixing these for BSD Make requires invasive changes (lexers and
        parsers must be built into $srcdir, and--most annoyingly--all
        references to parse.h must be changed to $(srcdir)/parse.h).
        Report from Mark D. Baushke.

Index: tests/lex3.test
===================================================================
RCS file: /cvs/automake/automake/tests/lex3.test,v
retrieving revision 1.14
diff -u -r1.14 lex3.test
--- tests/lex3.test     14 Nov 2003 21:25:58 -0000      1.14
+++ tests/lex3.test     13 May 2004 17:48:07 -0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 1999, 2001, 2002, 2003  Free Software Foundation, Inc.
+# Copyright (C) 1999, 2001, 2002, 2003, 2004  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -21,7 +21,7 @@
 # Test associated with PR 19.
 # From Matthew D. Langston.
 
-required='gcc gzip flex'
+required='gcc gzip flex GNUmake'
 . ./defs || exit 1
 
 # Ignore user CFLAGS.
Index: tests/yacc6.test
===================================================================
RCS file: /cvs/automake/automake/tests/yacc6.test,v
retrieving revision 1.6
diff -u -r1.6 yacc6.test
--- tests/yacc6.test    18 Nov 2003 20:06:44 -0000      1.6
+++ tests/yacc6.test    13 May 2004 17:48:07 -0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2004  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -23,7 +23,7 @@
 # Also make sure depcomp does not needlessly update headers.
 # Report from Paolo Bonzini.
 
-required='gcc bison'
+required='gcc bison GNUmake'
 . ./defs || exit 1
 
 set -e

-- 
Alexandre Duret-Lutz





reply via email to

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