bug-autoconf
[Top][All Lists]
Advanced

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

CVS autoconf testsuite spurious messages


From: Nicolas Joly
Subject: CVS autoconf testsuite spurious messages
Date: Wed, 18 Jun 2003 13:39:26 +0200
User-agent: Mutt/1.5.4i

Hi,

I just tested CVS autoconf on my Tru64 unix workstation and noticed a
spurious message during testsuite run :

[...]
## ------------------------------ ##
## GNU Autoconf 2.57a test suite. ##
## ------------------------------ ##

Executables (autoheader, autoupdate...).

  1: tools.at:47       ok (skipped near `tools.at:71')
sed: Cannot find or open file 
/home/njoly/temp/autoconf/tests/testsuite.dir/at-times.
  2: tools.at:92       ok
  3: tools.at:118      ok
[...]

This message exists for systems/shells that not implement `times'
command (at least Tru64 5.1 and NetBSD 1.6.1). Autoconf 2.57 was
protected, but it seems that it was removed in current CVS version.

Here follow a small patch to restore the expected behaviour :

Index: lib/autotest/general.m4
===================================================================
RCS file: /cvs/autoconf/lib/autotest/general.m4,v
retrieving revision 1.145
diff -u -r1.145 general.m4
--- lib/autotest/general.m4     12 Jun 2003 11:03:56 -0000      1.145
+++ lib/autotest/general.m4     18 Jun 2003 11:34:28 -0000
@@ -675,7 +675,8 @@
          # We're not including the group log, so the success message is written
          # in the global log separately.  But we also write to the group log in
          # case they're using -d.
-         at_log_msg="$at_log_msg       (`sed 1d $at_times_file`)"
+         test -f $at_times_file &&
+           at_log_msg="$at_log_msg     (`sed 1d $at_times_file`)"
          echo "$at_log_msg" >> $at_group_log
          echo "$at_log_msg" >&AS_MESSAGE_LOG_FD
 


Hope this helps,
Regards.

-- 
Nicolas Joly

Biological Software and Databanks.
Pasteur Institute, Paris.




reply via email to

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