Have the test driver check for the new format of the time skew error

messages.
This commit is contained in:
Paul Smith 2002-09-10 20:59:03 +00:00
parent 7ea029a07c
commit 5297a83b27
3 changed files with 16 additions and 6 deletions

15
NEWS
View file

@ -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.
Version 3.79.1

View 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.

View 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;