- New code capability: a read-only string cache. Start of solution for
[make.git] / tests / ChangeLog
blob950c71a12b9aa0968771417cdcfd53e5e7c3e04c
1 2006-02-09  Paul D. Smith  <psmith@gnu.org>
3         * run_make_tests.pl (set_more_defaults): Update valgrind support
4         for newer versions.
5         * test_driver.pl (toplevel): Skip all hidden files/directories (ones
6         beginning with ".").
8         * scripts/functions/andor: Tests for $(and ..) and $(or ...)
9         functions.
11 2006-02-08  Boris Kolpackov  <boris@kolpackov.net>
13         * scripts/features/parallelism: Add a test for bug #15641.
15 2006-02-06  Paul D. Smith  <psmith@gnu.org>
17         * scripts/options/dash-W: Add a test for bug #15341.
19 2006-01-03  Paul D. Smith  <psmith@gnu.org>
21         * scripts/variables/automatic: Add a test for bug #8154.
23         * README: Update to reflect the current state of the test suite.
25 2005-12-12  Paul D. Smith  <psmith@gnu.org>
27         * scripts/features/parallelism, scripts/functions/wildcard,
28         scripts/targets/FORCE, scripts/targets/PHONY,
29         scripts/targets/SILENT: Use the default setting for
30         $delete_command.  Fixes bug #15085.
32         * run_make_tests.pl (get_this_pwd) [VMS]: Use -no_ask with delete_file.
34 2005-12-11  Paul D. Smith  <psmith@gnu.org>
36         * scripts/misc/general4: Test implicit rules with '$' in the
37         prereq list & prereq patterns.
38         * scripts/features/se_implicit: Add in .SECONDEXPANSION settings.
40 2005-12-09  Boris Kolpackov  <boris@kolpackov.net>
42         * scripts/features/patternrules: Add a test for bug #13022.
44 2005-12-07  Boris Kolpackov  <boris@kolpackov.net>
46         * scripts/features/double_colon: Add a test for bug #14334.
48 2005-11-17  Boris Kolpackov  <boris@kolpackov.net>
50         * scripts/functions/flavor: Add a test for the flavor function.
52 2005-11-14  Boris Kolpackov  <boris@kolpackov.net>
54         * scripts/variables/INCLUDE_DIRS: Add a test for the .INCLUDE_DIRS
55         special variable.
57 2005-10-24  Paul D. Smith  <psmith@gnu.org>
59         * scripts/misc/general4: Test '$$' in prerequisites list.
60         * scripts/features/statipattrules: Rewrite to use run_make_test().
61         Add various static pattern info.
62         * scripts/features/se_statpat: Enable .SECONDEXPANSION target.
63         * scripts/features/se_explicit: Add tests for handling '$$' in
64         prerequisite lists with and without setting .SECONDEXPANSION.
65         * scripts/features/order_only: Convert to run_make_test().
66         * run_make_tests.pl (set_more_defaults): If we can't get the value
67         of $(MAKE) from make, then fatal immediately.
69 2005-08-31  Paul D. Smith  <psmith@gnu.org>
71         * run_make_tests.pl (get_this_pwd): Require the POSIX module (in
72         an eval to trap errors) and if it exists, use POSIX::getcwd to
73         find the working directory.  If it doesn't exist, go back to the
74         previous methods.  This tries to be more accurate on Windows
75         systems.
77 2005-08-29  Paul D. Smith  <psmith@gnu.org>
79         * scripts/functions/abspath: Add some text to the error messages
80         to get a better idea of what's wrong.  Make warnings instead of
81         errors.
83         * scripts/features/patspecific_vars: Don't use "test", which is
84         UNIX specific.  Print the values and let the test script match
85         them.
87 2005-08-25  Paul Smith  <psmith@gnu.org>
89         * scripts/variables/SHELL: Use a /./ prefix instead of //: the
90         former works better with non-UNIX environments.  Fixes Savannah
91         bug #14129.
93 2005-08-13  Boris Kolpackov  <boris@kolpackov.net>
95         * scripts/functions/wildcard: Wrap calls to $(wildcard ) with
96         $(sort) so that the resulting order is no longer filesystem-
97         dependant.
99 2005-08-10  Boris Kolpackov  <boris@kolpackov.net>
101         * scripts/features/statipattrules: Add a test for Savannah bug #13881.
103 2005-08-07  Paul D. Smith  <psmith@gnu.org>
105         * scripts/features/parallelism: Add a test for a bug reported by
106         Michael Matz (matz@suse.de) in which make exits without waiting
107         for all its children in some situations during parallel builds.
109 2005-07-08  Paul D. Smith  <psmith@gnu.org>
111         * test_driver.pl: Reset the environment to a clean value every
112         time before we invoke make.  I'm suspicious that the environment
113         isn't handled the same way in Windows as it is in UNIX, and some
114         variables are leaking out beyond the tests they are intended for.
115         Create an %extraENV hash tests can set to add more env. vars.
116         * tests/scripts/features/export: Change to use %extraENV.
117         * tests/scripts/functions/eval: Ditto.
118         * tests/scripts/functions/origin: Ditto.
119         * tests/scripts/options/dash-e: Ditto.
120         * tests/scripts/variables/SHELL: Ditto.
122 2005-06-27  Paul D. Smith  <psmith@gnu.org>
124         * scripts/options/dash-W: Use 'echo >>' instead of touch to update
125         files.
126         * scripts/features/reinvoke: Rewrite to be safer on systems with
127         subsecond timestamps.
128         * scripts/features/patternrules: False exits with different error
129         codes on different systems (for example, Linux => 1, Solaris => 255).
131         * scripts/options/dash-W: Set the timestamp to foo.x in the future,
132         to be sure it will be considered updated when it's remade.
134 2005-06-26  Paul D. Smith  <psmith@gnu.org>
136         * scripts/functions/shell: New test suite for the shell function.
138 2005-06-25  Paul D. Smith  <psmith@gnu.org>
140         * scripts/features/include: Test include/-include/sinclude with no
141         arguments.  Tests fix for Savannah bug #1761.
143         * scripts/misc/general3: Implement comprehensive testing of
144         backslash-newline behavior in command scripts: various types of
145         quoting, fast path / slow path, etc.
146         Tests fix for Savannah bug #1332.
148         * scripts/options/symlinks: Test symlinks to non-existent files.
149         Tests fix for Savannah bug #13280.
151         * scripts/misc/general3: Test semicolons in variable references.
152         Tests fix for Savannah bug #1454.
154         * scripts/variables/MAKE_RESTARTS: New file: test the
155         MAKE_RESTARTS variable.
156         * scripts/options/dash-B: Test re-exec doesn't loop infinitely.
157         Tests fix for Savannah bug #7566.
158         * scripts/options/dash-W: New file: test the -W flag, including
159         re-exec infinite looping.
161 2005-06-12  Paul D. Smith  <psmith@gnu.org>
163         * scripts/misc/close_stdout: Add a test for Savannah bug #1328.
164         This test only works on systems that have /dev/full (e.g., Linux).
166 2005-06-09  Paul D. Smith  <psmith@gnu.org>
168         * scripts/functions/foreach: Add a test for Savannah bug #11913.
170 2005-05-31  Boris Kolpackov  <boris@kolpackov.net>
172         * scripts/features/include: Add a test for Savannah bug #13216.
173         * scripts/features/patternrules: Add a test for Savannah bug #13218.
175 2005-05-13  Paul D. Smith  <psmith@gnu.org>
177         * scripts/features/conditionals: Add tests for the new if... else
178         if... endif syntax.
180 2005-05-03  Paul D. Smith  <psmith@gnu.org>
182         * scripts/variables/DEFAULT_GOAL: Rename DEFAULT_TARGET to
183         DEFAULT_GOAL.
185 2005-05-02  Paul D. Smith  <psmith@gnu.org>
187         * scripts/features/parallelism: Add a test for exporting recursive
188         variables containing $(shell ) calls.  Rewrite this script to use
189         run_make_test() everywhere.
191 2005-04-07  Paul D. Smith  <psmith@gnu.org>
193         * scripts/targets/SECONDARY: Add a test for Savannah bug #12331.
195 2005-03-15  Boris Kolpackov  <boris@kolpackov.net>
197         * scripts/variables/automatic: Add a test for Savannah bug #12320.
199 2005-03-10  Boris Kolpackov  <boris@kolpackov.net>
201         * scripts/features/patternrules: Add a test for Savannah bug #12267.
203 2005-03-09  Boris Kolpackov  <boris@kolpackov.net>
205         * scripts/variables/DEFAULT_TARGET: Add a test for Savannah
206         bug #12266.
208 2005-03-04  Boris Kolpackov  <boris@kolpackov.net>
210         * scripts/features/patternrules: Add a test for Savannah bug #12202.
212 2005-03-03  Boris Kolpackov  <boris@kolpackov.net>
214         * scripts/features/se_implicit: Add a test for stem
215         termination bug. Add a test for stem triple-expansion bug.
217         * scripts/features/se_statpat: Add a test for stem
218         triple-expansion bug.
220         * scripts/features/statipattrules: Change test #4 to reflect
221         new way empty prerequisite list is handled.
224 2005-03-01  Boris Kolpackov  <boris@kolpackov.net>
226         * scripts/features/statipattrules: Add a test for
227         Savannah bug #12180.
229 2005-02-28  Paul D. Smith  <psmith@gnu.org>
231         * scripts/options/dash-q: Add a test for Savannah bug # 7144.
233         * scripts/options/symlinks: New file to test checking of symlink
234         timestamps.  Can't use filename dash-L because it conflicts with
235         dash-l on case-insensitive filesystems.
237         * scripts/variables/MAKEFILE_LIST, scripts/variables/MFILE_LIST:
238         Rename MAKEFILE_LIST test to MFILE_LIST, for systems that need 8.3
239         unique filenames.
241 2005-02-28  Boris Kolpackov  <boris@kolpackov.net>
243         * scripts/variables/DEFAULT_TARGET: Test the .DEFAULT_TARGET
244         special variable.
246 2005-02-27  Boris Kolpackov  <boris@kolpackov.net>
248         * scripts/features/se_explicit: Test the second expansion in
249         explicit rules.
250         * scripts/features/se_implicit: Test the second expansion in
251         implicit rules.
252         * scripts/features/se_statpat: Test the second expansion in
253         static pattern rules.
254         * scripts/variables/automatic: Fix to work with the second
255         expansion.
257         * scripts/misc/general4: Add a test for bug #12091.
259 2005-02-27  Paul D. Smith  <psmith@gnu.org>
261         * scripts/functions/eval: Check that eval of targets within
262         command scripts fails.  See Savannah bug # 12124.
264 2005-02-26  Paul D. Smith  <psmith@gnu.org>
266         * test_driver.pl (compare_output): If a basic comparison of the
267         log and answer doesn't match, try harder: change all backslashes
268         to slashes and all CRLF to LF.  This helps on DOS/Windows systems.
270 2005-02-09  Paul D. Smith  <psmith@gnu.org>
272         * scripts/features/recursion: Test command line variable settings:
273         only one instance of a given variable should be provided.
275 2004-11-30  Boris Kolpackov  <boris@kolpackov.net>
277         * tests/scripts/functions/abspath: New file: test `abspath'
278         built-in function.
280         * tests/scripts/functions/realpath: New file: test `realpath'
281         built-in function.
283 2004-11-28  Paul D. Smith  <psmith@gnu.org>
285         * scripts/options/dash-C [WINDOWS32]: Add a test for bug #10252;
286         this doesn't really test anything useful in UNIX but...
288         * scripts/variables/SHELL: New file: test proper handling of SHELL
289         according to POSIX rules.  Fixes bug #1276.
291 2004-10-21  Boris Kolpackov  <boris@kolpackov.net>
293         * scripts/functions/word: Test $(firstword ) and $(lastword ).
295 2004-10-05  Boris Kolpackov  <boris@kolpackov.net>
297         * scripts/features/patspecific_vars: Test simple/recursive
298         variable expansion.
300 2004-09-28  Boris Kolpackov  <boris@kolpackov.net>
302         * scripts/features/include: Test dontcare flag inheritance
303         when rebuilding makefiles.
305 2004-09-27  Boris Kolpackov  <boris@kolpackov.net>
307         * scripts/features/patspecific_vars: Test exported variables.
309 2004-09-22  Paul D. Smith  <psmith@gnu.org>
311         * run_make_tests.pl (run_make_test): Don't add newlines to the
312         makestring or answer if they are completely empty.
314         * scripts/features/patternrules: Rename from implicit_prereq_eval.
316         * scripts/test_template: Rework the template.
318 2004-09-21  Boris Kolpackov  <boris@kolpackov.net>
320         * run_make_tests.pl: Change `#!/usr/local/bin/perl' to be
321         `#!/usr/bin/env perl'.
323         * scripts/features/implicit_prereq_eval: Test implicit rule
324         prerequisite evaluation code.
326 2004-09-21  Paul D. Smith  <psmith@gnu.org>
328         * run_make_tests.pl (run_make_test): Enhance to allow the make
329         string to be undef: in that case it reuses the previous make
330         string.  Allows multiple tests on the same makefile.
332         * scripts/variables/flavors: Add some tests for prefix characters
333         interacting with define/endef variables.
335 2004-09-20  Paul D. Smith  <psmith@gnu.org>
337         * scripts/functions/substitution: Rewrite to use run_make_test()
338         interface, and add test for substitution failures reported by
339         Markus Mauhart <qwe123@chello.at>.
341 2004-03-22  Paul D. Smith  <psmith@gnu.org>
343         * test_driver.pl (run_each_test, toplevel, compare_output): Change
344         to track both the testing categories _AND_ the number of
345         individual tests, and report both sets of numbers.
347 2004-02-21  Paul D. Smith  <psmith@gnu.org>
349         * scripts/functions/origin: Set our own environment variable
350         rather than relying on $HOME.
352 2004-01-21  Paul D. Smith  <psmith@gnu.org>
354         * scripts/features/conditionals: Test arguments to ifn?def which
355         contain whitespace (such as a function that is evaluated).  Bug
356         #7257.
358 2004-01-07  Paul D. Smith  <psmith@gnu.org>
360         * scripts/features/order_only: Test order-only prerequisites in
361         pattern rules (patch #2349).
363 2003-11-02  Paul D. Smith  <psmith@gnu.org>
365         * scripts/functions/if: Test if on conditionals with trailing
366         whitespace--bug #5798.
368         * scripts/functions/eval: Test eval in a non-file context--bug #6195.
370 2003-04-19  Paul D. Smith  <psmith@gnu.org>
372         * scripts/features/patspecific_vars: Test multiple patterns
373         matching the same target--Bug #1405.
375 2003-04-09  Paul D. Smith  <psmith@gnu.org>
377         * run_make_tests.pl (set_more_defaults): A new $port_type of
378         'OS/2' for (surprise!) OS/2.  Also choose a wait time of 2 seconds
379         for OS/2.
381 2003-03-28  Paul D. Smith  <psmith@gnu.org>
383         * scripts/targets/SECONDARY: Test the "global" .SECONDARY (with
384         not prerequisites)--Bug #2515.
386 2003-01-30  Paul D. Smith  <psmith@gnu.org>
388         * scripts/features/targetvars: Test very long target-specific
389         variable definition lines (longer than the default make buffer
390         length).  Tests patch # 1022.
392         * scripts/functions/eval: Test very recursive $(eval ...) calls
393         with simple variable expansion (bug #2238).
395         * scripts/functions/word: Test error handling for word and
396         wordlist functions (bug #2407).
398 2003-01-22  Paul D. Smith  <psmith@gnu.org>
400         * scripts/functions/call: Test recursive argument masking (bug
401         #1744).
403 2002-10-25  Paul D. Smith  <psmith@gnu.org>
405         * scripts/functions/eval: Test using $(eval ...) inside
406         conditionals (Bug #1516).
408 2002-10-14  Paul D. Smith  <psmith@gnu.org>
410         * scripts/options/dash-t: Add a test for handling -t on targets
411         with no commands (Bug #1418).
413 2002-10-13  Paul D. Smith  <psmith@gnu.org>
415         * scripts/features/targetvars: Add a test for exporting
416         target-specific vars (Bug #1391).
418 2002-10-05  Paul D. Smith  <psmith@gnu.org>
420         * scripts/variables/automatic: Add tests for $$(@), $${@}, $${@D},
421         and $${@F}.
423 2002-09-23  Paul D. Smith  <psmith@gnu.org>
425         * scripts/features/escape: Test handling of escaped comment
426         characters in targets and prerequisites.
428 2002-09-18  Paul D. Smith  <psmith@gnu.org>
430         * scripts/features/export: Test export/unexport of multiple
431         variables in a single command.
433 2002-09-17  Paul D. Smith  <psmith@gnu.org>
435         * scripts/features/targetvars: Tests for Bug #940: test
436         target-specific and pattern-specific variables in conjunction with
437         double-colon targets.
439 2002-09-10  Paul D. Smith  <psmith@gnu.org>
441         * test_driver.pl (compare_output): Match the new format for time
442         skew error messages.
444         * scripts/features/export: Created.  Add tests for export/unexport
445         capabilities, including exporting/unexporting expanded variables.
447         * scripts/features/conditionals: Add a test for expanded variables
448         in ifdef conditionals.
450 2002-09-04  Paul D. Smith  <psmith@gnu.org>
452         * scripts/features/reinvoke: Change touch/sleep combos to utouch
453         invocations.
454         * scripts/features/vpathgpath: Ditto.
455         * scripts/features/vpathplus: Ditto.
456         * scripts/options/dash-n: Ditto.
457         * scripts/targets/INTERMEDIATE: Ditto.
458         * scripts/targets/SECONDARY: Ditto.
460         * scripts/options/dash-t: Added a test for the -t bug fixed by
461         Henning Makholm.  This test was also contributed by Henning.
463         * scripts/misc/general4: Add a test suite for obscure algorithmic
464         features of make.  First test: make sure creation subdirectories
465         as prerequisites of targets works properly.
467         * scripts/misc/version: Remove this bogus test.
469 2002-08-07  Paul D. Smith  <psmith@gnu.org>
471         * scripts/misc/general3: Add a test for makefiles that don't end
472         in newlines.
474         * scripts/variables/special: Create tests for the special
475         variables (.VARIABLES and .TARGETS).  Comment out .TARGETS test
476         for now as it's not yet supported.
478 2002-08-01  Paul D. Smith  <psmith@gnu.org>
480         * scripts/options/dash-B: Add a test for the new -B option.
482 2002-07-11  Paul D. Smith  <psmith@gnu.org>
484         * run_make_tests.pl (valid_option): Add support for Valgrind.  Use
485         -valgrind option to the test suite.
486         (set_more_defaults): Set up the file descriptor to capture
487         Valgrind output.  We have to unset its close-on-exec flag; we
488         hardcode the value for F_SETFD (2) rather than load it; hopefully
489         this will help us avoid breaking the Windows/DOS test suite.
491 2002-07-10  Paul D. Smith  <psmith@gnu.org>
493         * scripts/variables/automatic: Add some tests for $$@, $$(@D), and
494         $$(@F).
496         * test_driver.pl (utouch): Create a new function that creates a
497         file with a specific timestamp offset.  Use of this function will
498         let us avoid lots of annoying sleep() invocations in the tests
499         just to get proper timestamping, which will make the tests run a
500         lot faster.  So far it's only used in the automatic test suite.
502 2002-07-09  Paul D. Smith  <psmith@gnu.org>
504         * scripts/variables/automatic: Create a test for automatic variables.
506 2002-07-08  Paul D. Smith  <psmith@gnu.org>
508         * scripts/features/order_only: Test new order-only prerequisites.
510 2002-07-07  Paul D. Smith  <psmith@gnu.org>
512         * scripts/functions/eval: Test new function.
513         * scripts/functions/value: Test new function.
514         * scripts/variables/MAKEFILE_LIST: Test new variable.
516 2002-04-28  Paul D. Smith  <psmith@gnu.org>
518         * scripts/functions/call: New test: transitive closure
519         implementation using $(call ...) to test variable recursion.
521 2002-04-21  Paul D. Smith  <psmith@gnu.org>
523         * test_driver.pl (compare_dir_tree): Ignore CVS and RCS
524         directories in the script directories.
526 2001-05-02  Paul D. Smith  <psmith@gnu.org>
528         * scripts/variables/flavors: Test define/endef scripts where only
529         one of the command lines is quiet.
531 2000-06-22  Paul D. Smith  <psmith@gnu.org>
533         * scripts/options/dash-q: New file; test the -q option.  Includes
534         a test for PR/1780.
536 2000-06-21  Paul D. Smith  <psmith@gnu.org>
538         * scripts/features/targetvars: Added a test for PR/1709: allowing
539         semicolons in target-specific variable values.
541 2000-06-19  Paul D. Smith  <psmith@gnu.org>
543         * scripts/functions/addsuffix: Test for an empty final argument.
544         Actually this bug might have happened for any function, but this
545         one was handy.
547 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
549         * scripts/options/general: If parallel jobs are not supported,
550         expect a warning message from Make.
552 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
554         * scripts/options/general: Don't try -jN with N != 1 if parallel
555         jobs are not supported.
557 2000-05-24  Paul D. Smith  <psmith@gnu.org>
559         * scripts/options/general: Test general option processing (PR/1716).
561 2000-04-11  Paul D. Smith  <psmith@gnu.org>
563         * scripts/functions/strip: Test empty value to strip (PR/1689).
565 2000-04-08  Eli Zaretskii  <eliz@is.elta.co.il>
567         * scripts/features/reinvoke: Sleep before updating the target
568         files in the first test, to ensure its time stamp really gets
569         newer; otherwise Make might re-exec more than once.
571 2000-04-07  Eli Zaretskii  <eliz@is.elta.co.il>
573         * scripts/features/double_colon: Don't run the parallel tests if
574         parallel jobs aren't supported.
576 2000-04-04  Paul D. Smith  <psmith@gnu.org>
578         * scripts/functions/word: wordlist doesn't swap arguments anymore.
580 2000-03-27  Paul D. Smith  <psmith@gnu.org>
582         * scripts/features/statipattrules: Test that static pattern rules
583         whose prerequisite patterns resolve to empty strings throw an
584         error (instead of dumping core).  Fixes PR/1670.
586         * scripts/features/reinvoke: Make more robust by touching "b"
587         first, to ensure it's not newer than "a".
588         Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
589         * scripts/options/dash-n: Ditto.
591         * scripts/functions/call: Whoops.  The fix to PR/1527 caused
592         recursive invocations of $(call ...) to break.  I can't come up
593         with any way to get both working at the same time, so I backed out
594         the fix to 1527 and added a test case for recursive calls.  This
595         also tests the fix for PR/1610.
597         * scripts/features/double_colon: Test that circular dependencies
598         in double-colon rule sets are detected correctly (PR/1671).
600 2000-03-26  Paul D. Smith  <psmith@gnu.org>
602         * scripts/targets/INTERMEDIATE: Test that make doesn't remove
603         .INTERMEDIATE files when given on the command line (PR/1669).
605 2000-03-08  Paul D. Smith  <psmith@gnu.org>
607         * scripts/options/dash-k: Add a test for error detection by
608         multiple targets depending on the same prerequisite with -k.
609         For PR/1634.
611 2000-02-07  Paul D. Smith  <psmith@gnu.org>
613         * scripts/features/escape: Add a test for backslash-escaped spaces
614         in a target name (PR/1586).
616 2000-02-04  Paul D. Smith  <psmith@gnu.org>
618         * scripts/features/patspecific_vars: Add a test for pattern-specific
619         target variables inherited from the parent target (PR/1407).
621 2000-02-02  Paul D. Smith  <psmith@gnu.org>
623         * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
624         to make sure sorting order, etc. is predictable.
625         Reported by Andreas Jaeger <aj@suse.de>.
627         * run_make_tests.pl (set_more_defaults): Set the $wtime variable
628         depending on the OS.  Eli Zaretskii <eliz@is.elta.co.il> reports
629         this seems to need to be *4* on DOS/Windows, not just 2.  Keep it
630         1 for other systems.
631         * scripts/features/vpathplus (touchfiles): Use the $wtime value
632         instead of hardcoding 2.
633         * scripts/targets/SECONDARY: Ditto.
634         * scripts/targets/INTERMEDIATE: Ditto.
636 2000-01-27  Paul D. Smith  <psmith@gnu.org>
638         * test_driver.pl (toplevel): Don't try to run test scripts which
639         are really directories.
641 2000-01-23  Paul D. Smith  <psmith@gnu.org>
643         * scripts/features/include: Remove a check; the fix caused more
644         problems than the error, so I removed it and removed the test for
645         it.
647 2000-01-11  Paul D. Smith  <psmith@gnu.org>
649         * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
650         sure $(call ...) doesn't eval its arguments and that you can
651         invoke foreach from it without looping forever.
653 1999-12-15  Paul D. Smith  <psmith@gnu.org>
655         * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
656         .INTERMEDIATE settings on files don't disable them as implicit
657         intermediate possibilities.
659 1999-12-01  Paul D. Smith  <psmith@gnu.org>
661         * scripts/features/double_colon: Add a test for PR/1476: Try
662         double-colon rules as non-goal targets and during parallel builds
663         to make sure they're handled serially.
665 1999-11-17  Paul D. Smith  <psmith@gnu.org>
667         * scripts/functions/if: Add a test for PR/1429: put some text
668         after an if-statement to make sure it works.
670         * scripts/features/targetvars: Add a test for PR/1380: handling +=
671         in target-specific variable definitions correctly.
673 1999-10-15  Paul D. Smith  <psmith@gnu.org>
675         * scripts/variables/MAKEFILES: This was really broken: it didn't
676         test anything at all, really.  Rewrote it, plus added a test for
677         PR/1394.
679 1999-10-13  Paul D. Smith  <psmith@gnu.org>
681         * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
682         behave properly when used with recursive targets".
684 1999-10-08  Paul D. Smith  <psmith@gnu.org>
686         * scripts/features/targetvars: Add a check for PR/1378:
687         "Target-specific vars don't inherit correctly"
689 1999-09-29  Paul D. Smith  <psmith@gnu.org>
691         * test_driver.pl (get_osname): Change $fancy_file_names to
692         $short_filenames and reverse the logic.
693         (run_each_test): Change test of non-existent $port_host to use
694         $short_filenames--problem reported by Eli Zaretskii.
696 1999-09-23  Paul D. Smith  <psmith@gnu.org>
698         * scripts/features/parallelism: Add a check to ensure that the
699         jobserver works when we re-invoke.  Also cleaned up the tests a
700         little, reducing the number of rules we use so the test won't need
701         as many "sleep" commands.
703 1999-09-16  Paul D. Smith  <psmith@gnu.org>
705         * scripts/features/reinvoke: Remove invocations of "touch" in
706         makefiles.  See the comments on the touch function rewrite below.
707         Note that UNIX touch behaves the same way if the file already
708         exists: it sets the time to the _local_ time.  We don't want
709         this.  This is probably a good tip for makefile writers in
710         general, actually... where practical.
711         * scripts/options/dash-l: Ditto.
712         * scripts/options/dash-n: Ditto.
714         * test_driver.pl (run_each_test): In retrospect, I don't like the
715         .lN/.bN/.dN postfix required by DOS.  So, for non-DOS systems I
716         changed it back to use .log, .base, and .diff.
718         * run_make_tests.pl (set_more_defaults): Move the check for the
719         make pathname to here from set_defaults (that's too early since it
720         happens before the command line processing).
721         Create a new variable $port_type, calculated from $osname, to
722         specify what kind of system we're running on.  We should integrate
723         the VOS stuff here, too.
724         (valid_option): Comment out the workdir/-work stuff so people
725         won't be fooled into thinking it works... someone needs to fix
726         this, though!
728         * scripts/functions/origin: Use $port_type instead of $osname.
729         * scripts/functions/foreach: Ditto.
730         * scripts/features/default_names: Ditto.
732 1999-09-15  Paul D. Smith  <psmith@gnu.org>
734         * test_driver.pl (touch): Rewrite this function.  Previously it
735         used to use utime() to hard-set the time based on the current
736         local clock, or, if the file didn't exist, it merely created it.
737         This mirrors exactly what real UNIX touch does, but it fails badly
738         on networked filesystems where the FS server clock is skewed from
739         the local clock: normally modifying a file causes it to get a mod
740         time based on the _server's_ clock.  Hard-setting it based on the
741         _local_ clock causes gratuitous errors and makes the tests
742         unreliable except on local filesystems.  The new function will
743         simply modify the file, allowing the filesystem to set the mod
744         time as it sees fit.
746         * scripts/features/parallelism: The second test output could
747         change depending on how fast some scripts completed; use "sleep"
748         to force the order we want.
750         * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
751         means that "%ENV = ();" doesn't do the right thing.  This worked
752         in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
753         the environment rather than require specific versions.
755         * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
756         modifier "s", so the tests will run with Perl 4.
757         (set_more_defaults): Set $pure_log to empty if there's no -logfile
758         option in PURIFYOPTIONS.
759         (setup_for_test): Don't remove any logs unless $pure_log is set.
761 1999-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
763         * scripts/features/reinvoke: Put the SHELL definition in the right
764         test makefile.
766 1999-09-15  Paul D. Smith  <psmith@gnu.org>
768         ChangeLog file for the test suite created.