Have the test driver check for the new format of the time skew error
authorPaul Smith <psmith@gnu.org>
Tue, 10 Sep 2002 20:59:03 +0000 (20:59 +0000)
committerPaul Smith <psmith@gnu.org>
Tue, 10 Sep 2002 20:59:03 +0000 (20:59 +0000)
messages.

NEWS
tests/ChangeLog
tests/test_driver.pl

diff --git a/NEWS b/NEWS
index 8b3f4b5..ef961e2 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,6 @@
 GNU make NEWS                                               -*-indented-text-*-
   History of user-visible changes.
-  10 July 2002
+  10 September 2002
 
 Copyright (C) 2002  Free Software Foundation, Inc.
 See the end for copying conditions.
@@ -28,6 +28,12 @@ Version 3.80
   <egp@free.fr> provided a patch implementing this feature; however, I
   decided to implement it in a different way.
 
+* The argument to the "ifdef" conditional is now expanded before it's
+  tested, so it can be a constructed variable name.
+
+  Similarly, the arguments to "export" (when not used in a variable
+  definition context) and "unexport" are also now expanded.
+
 * A new function is defined: $(value ...).  The argument to this
   function is the _name_ of a variable.  The result of the function is
   the value of the variable, without having been expanded.
@@ -36,7 +42,8 @@ Version 3.80
   function should expand to makefile commands, which will then be
   evaluated as if they had appeared in the makefile.  In combination
   with define/endef multiline variable definitions this is an extremely
-  powerful capability.  The $(quote ...) function is also useful here.
+  powerful capability.  The $(value ...) function is also sometimes
+  useful here.
 
 * A new built-in variable is defined, $(MAKEFILE_LIST).  It contains a
   list of each makefile GNU make has read, or started to read, in the
@@ -73,14 +80,14 @@ Version 3.80
   and Russian.  New translations for Croatian, Danish, Hebrew, and
   Turkish.
 
-* Updated internationalization support to Gettext 0.11.1.
+* Updated internationalization support to Gettext 0.11.5.
   GNU make now uses Gettext's "external" feature, and does not include
   any internationalization code itself.  Configure will search your
   system for an existing implementation of GNU Gettext (only GNU Gettext
   is acceptable) and use it if it exists.  If not, NLS will be disabled.
   See ABOUT-NLS for more information.
 
-* Updated to autoconf 2.53 and automake 1.6.1.  Users should not be
+* Updated to autoconf 2.53 and automake 1.6.3.  Users should not be
   impacted.
 \f
 Version 3.79.1
index 64a8322..fd6ef2a 100644 (file)
@@ -1,5 +1,8 @@
 2002-09-10  Paul D. Smith  <psmith@gnu.org>
 
+       * test_driver.pl (compare_output): Match the new format for time
+       skew error messages.
+
        * scripts/features/export: Created.  Add tests for export/unexport
        capabilities, including exporting/unexporting expanded variables.
 
index 38ee54a..a3d4d4e 100644 (file)
@@ -588,8 +588,8 @@ sub compare_output
 
   # For make, get rid of any time skew error before comparing--too bad this
   # has to go into the "generic" driver code :-/
-  $slurp =~ s/^.*modification time in the future.*\n//g;
-  $slurp =~ s/\n.*modification time in the future.*//g;
+  $slurp =~ s/^.*modification time .*in the future.*\n//g;
+  $slurp =~ s/\n.*modification time .*in the future.*//g;
   $slurp =~ s/^.*Clock skew detected.*\n//g;
   $slurp =~ s/\n.*Clock skew detected.*//g;