bug-autoconf
[Top][All Lists]
Advanced

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

CVS testsuite failure if m4 is called gm4...


From: ezra peisach
Subject: CVS testsuite failure if m4 is called gm4...
Date: Tue, 22 Oct 2002 13:56:54 -0400 (EDT)

In config/m4.m4 - autocnf will use any of m4, gm4, gnum4. On my system,
I use gm4 to ensure that I don't get confused with the system's m4.

The testsuite fails in three places:

3. tools.at:118: FAILED near `tools.at:134'

13: m4sugar.at:35     
14: m4sugar.at:77     

The patch to atspecific.m4 fixes tests 13 and 14 by doing the magic
sed substitution for gm4 and gnum4 as well.

The second patch (tools.at) fixes the other test failure (for tools.at)
--- Standard Input      Tue Oct 22 13:48:42 2002
+++ /dusr1/people/epeisach/Gnu/a2/tests/testsuite.dir/at-stdout Tue Oct 22 
13:48:42 2002
@@ -1,3 +1,3 @@
-m4: script.4s: 1: Cannot open foo: No such file or directory
+script.4s:1: m4: Cannot open foo: No such file or directory
 autom4te: m4 failed with exit status: 1

The output has changed...

Index: atspecific.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/atspecific.m4,v
retrieving revision 1.73
diff -c -r1.73 atspecific.m4
*** atspecific.m4       18 Oct 2002 15:20:46 -0000      1.73
--- atspecific.m4       22 Oct 2002 17:44:42 -0000
***************
*** 34,44 ****
  #
  #  m4: script.4s: 1: Cannot open foo: No such file or directory
  #  autom4te: m4 failed with exit status: 1
! 
  m4_define([AT_CHECK_AUTOM4TE],
  [AT_CHECK([autom4te $1], [$2], [$3], m4_ifval([$4], [stderr]))
  m4_ifval([$4],
! [AT_CHECK([[sed 's,[^ ]*/m4,m4,' stderr]], [0],[$4])])
  ])
  
  
--- 34,45 ----
  #
  #  m4: script.4s: 1: Cannot open foo: No such file or directory
  #  autom4te: m4 failed with exit status: 1
! #  Also changes gm4 and gnum4 as well - see config/m4.m4 for list
  m4_define([AT_CHECK_AUTOM4TE],
  [AT_CHECK([autom4te $1], [$2], [$3], m4_ifval([$4], [stderr]))
  m4_ifval([$4],
! [AT_CHECK([[sed -e 's,[^ ]*/m4,m4,' -e 's,[^ ]*/gm4,m4,' \
!       -e 's,[^ ]*/gnum4,m4,' stderr]], [0],[$4])])
  ])
  
  

Index: tools.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/tools.at,v
retrieving revision 1.69
diff -r1.69 tools.at
132c132
< [m4: script.4s: 1: Cannot open foo: No such file or directory
---
> [script.4s:1: m4: Cannot open foo: No such file or directory




reply via email to

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