- Fix Savannah bug #18124
[make.git] / tests / ChangeLog
bloba0e83e0990149924c36f152fd677ff74229a5968
1 2009-06-09  Paul Smith  <psmith@gnu.org>
3         * scripts/features/parallelism: Add a test for re-exec with
4         jobserver master override.  Savannah bug #18124.
6 2009-06-08  Paul Smith  <psmith@gnu.org>
8         * scripts/features/targetvars: Add a test for continued target
9         vars after a semicolon.  Savannah bug #17521.
11 2009-06-07  Paul Smith  <psmith@gnu.org>
13         * scripts/features/se_explicit: Make sure we catch defining
14         prereqs during snap_deps().  Savannah bug #24622.
16         * scripts/variables/automatic: Check prereq ordering when the
17         target with the recipe has no prereqs.  Savannah bug #21198.
19         * scripts/variables/LIBPATTERNS: Add a new set of test for
20         $(.LIBPATTERNS) (previously untested!)
22 2009-06-04  Paul Smith  <psmith@gnu.org>
24         * scripts/variables/SHELL: The export target-specific SHELL test
25         has an incorrect known-good-value.
27         * scripts/misc/general4: Check for whitespace (ffeed, vtab, etc.)
29         * scripts/features/se_explicit: Add tests for Savannah bug #24588.
31 2009-05-31  Paul Smith  <psmith@gnu.org>
33         * scripts/variables/DEFAULT_GOAL: Add tests for Savannah bug #25697.
35         * scripts/features/targetvars: Add tests of overrides for Savannah
36         bug #26207.
37         * scripts/features/patspecific_vars: Ditto.
39         * scripts/features/patternrules: Add a test for Savannah bug #26593.
41 2009-05-30  Paul Smith  <psmith@gnu.org>
43         * scripts/variables/flavors: Update with new variable flavor tests.
44         * scripts/variables/define: Create a new set of tests for
45         define/endef and move those aspects of the flavors suite here.
47 2009-05-25  Paul Smith  <psmith@gnu.org>
49         * scripts/features/targetvars: Ditto.
51         * scripts/features/export: Test new variable parsing abilities.
53 2009-02-23  Ramon Garcia  <ramon.garcia.f@gmail.com>
55         * scripts/variables/private: Create a new suite of tests for 'private'.
57 2007-11-04  Paul Smith  <psmith@gnu.org>
59         * scripts/functions/eval: Update error message for command -> recipe.
61         * test_driver.pl (compare_output): Allow the answer to be a regex,
62         if surrounded by '/'.
63         * scripts/misc/close_stdout: Use a regex for the answer, since
64         sometimes the error will have a description and sometimes it won't.
66 2007-09-10  Paul Smith  <psmith@gnu.org>
68         * scripts/variables/special: Add tests for .RECIPEPREFIX variable.
70 2007-08-15  Paul Smith  <psmith@gnu.org>
72         These test cases were contributed by
73         Icarus Sparry <savannah@icarus.freeuk.com> and J. David Bryan for
74         Savannah bugs #3330 and #15919.
76         * scripts/targets/SECONDARY: Add tests for Savannah bugs 3330 and
77         15919.
79         * scripts/features/parallelism: Add tests for wrong answer/hang
80         combining INTERMEDIATE, order-only prereqs, and parallelism.
81         See Savannah bugs 3330 and 15919.
83 2007-07-13  Paul Smith  <psmith@gnu.org>
85         Install a timeout so tests can never loop infinitely.
86         Original idea and patch for a single-test version provided by
87         Icarus Sparry <savannah@icarus.freeuk.com>
89         * test_driver.pl (_run_command): New function: this is called by
90         other functions to actually run a command.  Before we run it,
91         install a SIGALRM handler and set up a timer to go off in the
92         future (default is 5s; this can be overridden by individual tests).
93         (run_command): Call it.
94         (run_command_with_output): Call it.
96         * run_make_tests.pl (run_make_with_options): Override the default
97         timeout if the caller requests it.
98         (run_make_test): Pass any timeout override to run_make_with_options.
100         * scripts/features/parallelism: Increase the timeout for long tests.
101         * scripts/options/dash-l: Ditto.
103 2006-10-01  Paul Smith  <psmith@paulandlesley.org>
105         * run_make_tests.pl (set_more_defaults): Remove setting of LANG in
106         ENV here.  This doesn't always work.
107         * test_driver.pl (toplevel): Set LC_ALL to 'C' in the make
108         environment.  Fixes Savannah bug #16698.
110 2006-09-30  Paul Smith  <psmith@paulandlesley.org>
112         * scripts/variables/automatic: Add back the test for bug #8154.
114 2006-04-01  Paul D. Smith  <psmith@gnu.org>
116         * scripts/functions/realpath: Don't run tests with multiple
117         initial slashes on Windows: those paths mean something different.
119 2006-03-19  Paul D. Smith  <psmith@gnu.org>
121         * scripts/features/parallelism: Test that the jobserver is
122         properly managed when we have to re-exec the master instance of
123         make.
125 2006-03-17  Boris Kolpackov  <boris@kolpackov.net>
127         * scripts/features/statipattrules: Add tests for bug #16053.
129 2006-03-09  Paul Smith  <psmith@gnu.org>
131         * scripts/features/escape: Use "pre:" not "p:" to avoid conflicts
132         with DOS drive letters.  Fixes Savannah bug #15947.
134         * test_driver.pl (run_each_test): Set the status properly even
135         when a test fails to execute.  Fixes Savannah bug #15942.
137         * scripts/functions/foreach: Use a different environment variable
138         other than PATH to avoid differences with Windows platforms.
139         Fixes Savannah bug #15938.
141 2006-03-05  Paul D. Smith  <psmith@gnu.org>
143         * run_make_tests.pl (set_more_defaults): Add CYGWIN_NT as a port
144         type W32.  Fixed Savannah bug #15937.
146         * scripts/features/default_names: Don't call error() when the test
147         fails.  Fixes Savannah bug #15941.
149 2006-02-17  Paul D. Smith  <psmith@gnu.org>
151         * scripts/features/targetvars: Test a complex construction which
152         guarantees that we have to merge variable lists of different
153         sizes.  Tests for Savannah bug #15757.
155 2006-02-15  Paul D. Smith  <psmith@gnu.org>
157         * scripts/functions/error: Make sure filename/lineno information
158         is related to where the error is expanded, not where it's set.
159         * scripts/functions/warning: Ditto.
160         * scripts/functions/foreach: Check for different error conditions.
161         * scripts/functions/word: Ditto.
162         * scripts/variables/negative: Test some variable reference failure
163         conditions.
164         * scripts/options/warn-undefined-variables: Test the
165         --warn-undefined-variables flag.
167 2006-02-09  Paul D. Smith  <psmith@gnu.org>
169         * run_make_tests.pl (set_more_defaults): Update valgrind support
170         for newer versions.
171         * test_driver.pl (toplevel): Skip all hidden files/directories (ones
172         beginning with ".").
174         * scripts/functions/andor: Tests for $(and ..) and $(or ...)
175         functions.
177 2006-02-08  Boris Kolpackov  <boris@kolpackov.net>
179         * scripts/features/parallelism: Add a test for bug #15641.
181 2006-02-06  Paul D. Smith  <psmith@gnu.org>
183         * scripts/options/dash-W: Add a test for bug #15341.
185 2006-01-03  Paul D. Smith  <psmith@gnu.org>
187         * scripts/variables/automatic: Add a test for bug #8154.
189         * README: Update to reflect the current state of the test suite.
191 2005-12-12  Paul D. Smith  <psmith@gnu.org>
193         * scripts/features/parallelism, scripts/functions/wildcard,
194         scripts/targets/FORCE, scripts/targets/PHONY,
195         scripts/targets/SILENT: Use the default setting for
196         $delete_command.  Fixes bug #15085.
198         * run_make_tests.pl (get_this_pwd) [VMS]: Use -no_ask with delete_file.
200 2005-12-11  Paul D. Smith  <psmith@gnu.org>
202         * scripts/misc/general4: Test implicit rules with '$' in the
203         prereq list & prereq patterns.
204         * scripts/features/se_implicit: Add in .SECONDEXPANSION settings.
206 2005-12-09  Boris Kolpackov  <boris@kolpackov.net>
208         * scripts/features/patternrules: Add a test for bug #13022.
210 2005-12-07  Boris Kolpackov  <boris@kolpackov.net>
212         * scripts/features/double_colon: Add a test for bug #14334.
214 2005-11-17  Boris Kolpackov  <boris@kolpackov.net>
216         * scripts/functions/flavor: Add a test for the flavor function.
218 2005-11-14  Boris Kolpackov  <boris@kolpackov.net>
220         * scripts/variables/INCLUDE_DIRS: Add a test for the .INCLUDE_DIRS
221         special variable.
223 2005-10-24  Paul D. Smith  <psmith@gnu.org>
225         * scripts/misc/general4: Test '$$' in prerequisites list.
226         * scripts/features/statipattrules: Rewrite to use run_make_test().
227         Add various static pattern info.
228         * scripts/features/se_statpat: Enable .SECONDEXPANSION target.
229         * scripts/features/se_explicit: Add tests for handling '$$' in
230         prerequisite lists with and without setting .SECONDEXPANSION.
231         * scripts/features/order_only: Convert to run_make_test().
232         * run_make_tests.pl (set_more_defaults): If we can't get the value
233         of $(MAKE) from make, then fatal immediately.
235 2005-08-31  Paul D. Smith  <psmith@gnu.org>
237         * run_make_tests.pl (get_this_pwd): Require the POSIX module (in
238         an eval to trap errors) and if it exists, use POSIX::getcwd to
239         find the working directory.  If it doesn't exist, go back to the
240         previous methods.  This tries to be more accurate on Windows
241         systems.
243 2005-08-29  Paul D. Smith  <psmith@gnu.org>
245         * scripts/functions/abspath: Add some text to the error messages
246         to get a better idea of what's wrong.  Make warnings instead of
247         errors.
249         * scripts/features/patspecific_vars: Don't use "test", which is
250         UNIX specific.  Print the values and let the test script match
251         them.
253 2005-08-25  Paul Smith  <psmith@gnu.org>
255         * scripts/variables/SHELL: Use a /./ prefix instead of //: the
256         former works better with non-UNIX environments.  Fixes Savannah
257         bug #14129.
259 2005-08-13  Boris Kolpackov  <boris@kolpackov.net>
261         * scripts/functions/wildcard: Wrap calls to $(wildcard ) with
262         $(sort) so that the resulting order is no longer filesystem-
263         dependant.
265 2005-08-10  Boris Kolpackov  <boris@kolpackov.net>
267         * scripts/features/statipattrules: Add a test for Savannah bug #13881.
269 2005-08-07  Paul D. Smith  <psmith@gnu.org>
271         * scripts/features/parallelism: Add a test for a bug reported by
272         Michael Matz (matz@suse.de) in which make exits without waiting
273         for all its children in some situations during parallel builds.
275 2005-07-08  Paul D. Smith  <psmith@gnu.org>
277         * test_driver.pl: Reset the environment to a clean value every
278         time before we invoke make.  I'm suspicious that the environment
279         isn't handled the same way in Windows as it is in UNIX, and some
280         variables are leaking out beyond the tests they are intended for.
281         Create an %extraENV hash tests can set to add more env. vars.
282         * tests/scripts/features/export: Change to use %extraENV.
283         * tests/scripts/functions/eval: Ditto.
284         * tests/scripts/functions/origin: Ditto.
285         * tests/scripts/options/dash-e: Ditto.
286         * tests/scripts/variables/SHELL: Ditto.
288 2005-06-27  Paul D. Smith  <psmith@gnu.org>
290         * scripts/options/dash-W: Use 'echo >>' instead of touch to update
291         files.
292         * scripts/features/reinvoke: Rewrite to be safer on systems with
293         subsecond timestamps.
294         * scripts/features/patternrules: False exits with different error
295         codes on different systems (for example, Linux => 1, Solaris => 255).
297         * scripts/options/dash-W: Set the timestamp to foo.x in the future,
298         to be sure it will be considered updated when it's remade.
300 2005-06-26  Paul D. Smith  <psmith@gnu.org>
302         * scripts/functions/shell: New test suite for the shell function.
304 2005-06-25  Paul D. Smith  <psmith@gnu.org>
306         * scripts/features/include: Test include/-include/sinclude with no
307         arguments.  Tests fix for Savannah bug #1761.
309         * scripts/misc/general3: Implement comprehensive testing of
310         backslash-newline behavior in command scripts: various types of
311         quoting, fast path / slow path, etc.
312         Tests fix for Savannah bug #1332.
314         * scripts/options/symlinks: Test symlinks to non-existent files.
315         Tests fix for Savannah bug #13280.
317         * scripts/misc/general3: Test semicolons in variable references.
318         Tests fix for Savannah bug #1454.
320         * scripts/variables/MAKE_RESTARTS: New file: test the
321         MAKE_RESTARTS variable.
322         * scripts/options/dash-B: Test re-exec doesn't loop infinitely.
323         Tests fix for Savannah bug #7566.
324         * scripts/options/dash-W: New file: test the -W flag, including
325         re-exec infinite looping.
327 2005-06-12  Paul D. Smith  <psmith@gnu.org>
329         * scripts/misc/close_stdout: Add a test for Savannah bug #1328.
330         This test only works on systems that have /dev/full (e.g., Linux).
332 2005-06-09  Paul D. Smith  <psmith@gnu.org>
334         * scripts/functions/foreach: Add a test for Savannah bug #11913.
336 2005-05-31  Boris Kolpackov  <boris@kolpackov.net>
338         * scripts/features/include: Add a test for Savannah bug #13216.
339         * scripts/features/patternrules: Add a test for Savannah bug #13218.
341 2005-05-13  Paul D. Smith  <psmith@gnu.org>
343         * scripts/features/conditionals: Add tests for the new if... else
344         if... endif syntax.
346 2005-05-03  Paul D. Smith  <psmith@gnu.org>
348         * scripts/variables/DEFAULT_GOAL: Rename DEFAULT_TARGET to
349         DEFAULT_GOAL.
351 2005-05-02  Paul D. Smith  <psmith@gnu.org>
353         * scripts/features/parallelism: Add a test for exporting recursive
354         variables containing $(shell ) calls.  Rewrite this script to use
355         run_make_test() everywhere.
357 2005-04-07  Paul D. Smith  <psmith@gnu.org>
359         * scripts/targets/SECONDARY: Add a test for Savannah bug #12331.
361 2005-03-15  Boris Kolpackov  <boris@kolpackov.net>
363         * scripts/variables/automatic: Add a test for Savannah bug #12320.
365 2005-03-10  Boris Kolpackov  <boris@kolpackov.net>
367         * scripts/features/patternrules: Add a test for Savannah bug #12267.
369 2005-03-09  Boris Kolpackov  <boris@kolpackov.net>
371         * scripts/variables/DEFAULT_TARGET: Add a test for Savannah
372         bug #12266.
374 2005-03-04  Boris Kolpackov  <boris@kolpackov.net>
376         * scripts/features/patternrules: Add a test for Savannah bug #12202.
378 2005-03-03  Boris Kolpackov  <boris@kolpackov.net>
380         * scripts/features/se_implicit: Add a test for stem
381         termination bug. Add a test for stem triple-expansion bug.
383         * scripts/features/se_statpat: Add a test for stem
384         triple-expansion bug.
386         * scripts/features/statipattrules: Change test #4 to reflect
387         new way empty prerequisite list is handled.
390 2005-03-01  Boris Kolpackov  <boris@kolpackov.net>
392         * scripts/features/statipattrules: Add a test for
393         Savannah bug #12180.
395 2005-02-28  Paul D. Smith  <psmith@gnu.org>
397         * scripts/options/dash-q: Add a test for Savannah bug # 7144.
399         * scripts/options/symlinks: New file to test checking of symlink
400         timestamps.  Can't use filename dash-L because it conflicts with
401         dash-l on case-insensitive filesystems.
403         * scripts/variables/MAKEFILE_LIST, scripts/variables/MFILE_LIST:
404         Rename MAKEFILE_LIST test to MFILE_LIST, for systems that need 8.3
405         unique filenames.
407 2005-02-28  Boris Kolpackov  <boris@kolpackov.net>
409         * scripts/variables/DEFAULT_TARGET: Test the .DEFAULT_TARGET
410         special variable.
412 2005-02-27  Boris Kolpackov  <boris@kolpackov.net>
414         * scripts/features/se_explicit: Test the second expansion in
415         explicit rules.
416         * scripts/features/se_implicit: Test the second expansion in
417         implicit rules.
418         * scripts/features/se_statpat: Test the second expansion in
419         static pattern rules.
420         * scripts/variables/automatic: Fix to work with the second
421         expansion.
423         * scripts/misc/general4: Add a test for bug #12091.
425 2005-02-27  Paul D. Smith  <psmith@gnu.org>
427         * scripts/functions/eval: Check that eval of targets within
428         command scripts fails.  See Savannah bug # 12124.
430 2005-02-26  Paul D. Smith  <psmith@gnu.org>
432         * test_driver.pl (compare_output): If a basic comparison of the
433         log and answer doesn't match, try harder: change all backslashes
434         to slashes and all CRLF to LF.  This helps on DOS/Windows systems.
436 2005-02-09  Paul D. Smith  <psmith@gnu.org>
438         * scripts/features/recursion: Test command line variable settings:
439         only one instance of a given variable should be provided.
441 2004-11-30  Boris Kolpackov  <boris@kolpackov.net>
443         * tests/scripts/functions/abspath: New file: test `abspath'
444         built-in function.
446         * tests/scripts/functions/realpath: New file: test `realpath'
447         built-in function.
449 2004-11-28  Paul D. Smith  <psmith@gnu.org>
451         * scripts/options/dash-C [WINDOWS32]: Add a test for bug #10252;
452         this doesn't really test anything useful in UNIX but...
454         * scripts/variables/SHELL: New file: test proper handling of SHELL
455         according to POSIX rules.  Fixes bug #1276.
457 2004-10-21  Boris Kolpackov  <boris@kolpackov.net>
459         * scripts/functions/word: Test $(firstword ) and $(lastword ).
461 2004-10-05  Boris Kolpackov  <boris@kolpackov.net>
463         * scripts/features/patspecific_vars: Test simple/recursive
464         variable expansion.
466 2004-09-28  Boris Kolpackov  <boris@kolpackov.net>
468         * scripts/features/include: Test dontcare flag inheritance
469         when rebuilding makefiles.
471 2004-09-27  Boris Kolpackov  <boris@kolpackov.net>
473         * scripts/features/patspecific_vars: Test exported variables.
475 2004-09-22  Paul D. Smith  <psmith@gnu.org>
477         * run_make_tests.pl (run_make_test): Don't add newlines to the
478         makestring or answer if they are completely empty.
480         * scripts/features/patternrules: Rename from implicit_prereq_eval.
482         * scripts/test_template: Rework the template.
484 2004-09-21  Boris Kolpackov  <boris@kolpackov.net>
486         * run_make_tests.pl: Change `#!/usr/local/bin/perl' to be
487         `#!/usr/bin/env perl'.
489         * scripts/features/implicit_prereq_eval: Test implicit rule
490         prerequisite evaluation code.
492 2004-09-21  Paul D. Smith  <psmith@gnu.org>
494         * run_make_tests.pl (run_make_test): Enhance to allow the make
495         string to be undef: in that case it reuses the previous make
496         string.  Allows multiple tests on the same makefile.
498         * scripts/variables/flavors: Add some tests for prefix characters
499         interacting with define/endef variables.
501 2004-09-20  Paul D. Smith  <psmith@gnu.org>
503         * scripts/functions/substitution: Rewrite to use run_make_test()
504         interface, and add test for substitution failures reported by
505         Markus Mauhart <qwe123@chello.at>.
507 2004-03-22  Paul D. Smith  <psmith@gnu.org>
509         * test_driver.pl (run_each_test, toplevel, compare_output): Change
510         to track both the testing categories _AND_ the number of
511         individual tests, and report both sets of numbers.
513 2004-02-21  Paul D. Smith  <psmith@gnu.org>
515         * scripts/functions/origin: Set our own environment variable
516         rather than relying on $HOME.
518 2004-01-21  Paul D. Smith  <psmith@gnu.org>
520         * scripts/features/conditionals: Test arguments to ifn?def which
521         contain whitespace (such as a function that is evaluated).  Bug
522         #7257.
524 2004-01-07  Paul D. Smith  <psmith@gnu.org>
526         * scripts/features/order_only: Test order-only prerequisites in
527         pattern rules (patch #2349).
529 2003-11-02  Paul D. Smith  <psmith@gnu.org>
531         * scripts/functions/if: Test if on conditionals with trailing
532         whitespace--bug #5798.
534         * scripts/functions/eval: Test eval in a non-file context--bug #6195.
536 2003-04-19  Paul D. Smith  <psmith@gnu.org>
538         * scripts/features/patspecific_vars: Test multiple patterns
539         matching the same target--Bug #1405.
541 2003-04-09  Paul D. Smith  <psmith@gnu.org>
543         * run_make_tests.pl (set_more_defaults): A new $port_type of
544         'OS/2' for (surprise!) OS/2.  Also choose a wait time of 2 seconds
545         for OS/2.
547 2003-03-28  Paul D. Smith  <psmith@gnu.org>
549         * scripts/targets/SECONDARY: Test the "global" .SECONDARY (with
550         not prerequisites)--Bug #2515.
552 2003-01-30  Paul D. Smith  <psmith@gnu.org>
554         * scripts/features/targetvars: Test very long target-specific
555         variable definition lines (longer than the default make buffer
556         length).  Tests patch # 1022.
558         * scripts/functions/eval: Test very recursive $(eval ...) calls
559         with simple variable expansion (bug #2238).
561         * scripts/functions/word: Test error handling for word and
562         wordlist functions (bug #2407).
564 2003-01-22  Paul D. Smith  <psmith@gnu.org>
566         * scripts/functions/call: Test recursive argument masking (bug
567         #1744).
569 2002-10-25  Paul D. Smith  <psmith@gnu.org>
571         * scripts/functions/eval: Test using $(eval ...) inside
572         conditionals (Bug #1516).
574 2002-10-14  Paul D. Smith  <psmith@gnu.org>
576         * scripts/options/dash-t: Add a test for handling -t on targets
577         with no commands (Bug #1418).
579 2002-10-13  Paul D. Smith  <psmith@gnu.org>
581         * scripts/features/targetvars: Add a test for exporting
582         target-specific vars (Bug #1391).
584 2002-10-05  Paul D. Smith  <psmith@gnu.org>
586         * scripts/variables/automatic: Add tests for $$(@), $${@}, $${@D},
587         and $${@F}.
589 2002-09-23  Paul D. Smith  <psmith@gnu.org>
591         * scripts/features/escape: Test handling of escaped comment
592         characters in targets and prerequisites.
594 2002-09-18  Paul D. Smith  <psmith@gnu.org>
596         * scripts/features/export: Test export/unexport of multiple
597         variables in a single command.
599 2002-09-17  Paul D. Smith  <psmith@gnu.org>
601         * scripts/features/targetvars: Tests for Bug #940: test
602         target-specific and pattern-specific variables in conjunction with
603         double-colon targets.
605 2002-09-10  Paul D. Smith  <psmith@gnu.org>
607         * test_driver.pl (compare_output): Match the new format for time
608         skew error messages.
610         * scripts/features/export: Created.  Add tests for export/unexport
611         capabilities, including exporting/unexporting expanded variables.
613         * scripts/features/conditionals: Add a test for expanded variables
614         in ifdef conditionals.
616 2002-09-04  Paul D. Smith  <psmith@gnu.org>
618         * scripts/features/reinvoke: Change touch/sleep combos to utouch
619         invocations.
620         * scripts/features/vpathgpath: Ditto.
621         * scripts/features/vpathplus: Ditto.
622         * scripts/options/dash-n: Ditto.
623         * scripts/targets/INTERMEDIATE: Ditto.
624         * scripts/targets/SECONDARY: Ditto.
626         * scripts/options/dash-t: Added a test for the -t bug fixed by
627         Henning Makholm.  This test was also contributed by Henning.
629         * scripts/misc/general4: Add a test suite for obscure algorithmic
630         features of make.  First test: make sure creation subdirectories
631         as prerequisites of targets works properly.
633         * scripts/misc/version: Remove this bogus test.
635 2002-08-07  Paul D. Smith  <psmith@gnu.org>
637         * scripts/misc/general3: Add a test for makefiles that don't end
638         in newlines.
640         * scripts/variables/special: Create tests for the special
641         variables (.VARIABLES and .TARGETS).  Comment out .TARGETS test
642         for now as it's not yet supported.
644 2002-08-01  Paul D. Smith  <psmith@gnu.org>
646         * scripts/options/dash-B: Add a test for the new -B option.
648 2002-07-11  Paul D. Smith  <psmith@gnu.org>
650         * run_make_tests.pl (valid_option): Add support for Valgrind.  Use
651         -valgrind option to the test suite.
652         (set_more_defaults): Set up the file descriptor to capture
653         Valgrind output.  We have to unset its close-on-exec flag; we
654         hardcode the value for F_SETFD (2) rather than load it; hopefully
655         this will help us avoid breaking the Windows/DOS test suite.
657 2002-07-10  Paul D. Smith  <psmith@gnu.org>
659         * scripts/variables/automatic: Add some tests for $$@, $$(@D), and
660         $$(@F).
662         * test_driver.pl (utouch): Create a new function that creates a
663         file with a specific timestamp offset.  Use of this function will
664         let us avoid lots of annoying sleep() invocations in the tests
665         just to get proper timestamping, which will make the tests run a
666         lot faster.  So far it's only used in the automatic test suite.
668 2002-07-09  Paul D. Smith  <psmith@gnu.org>
670         * scripts/variables/automatic: Create a test for automatic variables.
672 2002-07-08  Paul D. Smith  <psmith@gnu.org>
674         * scripts/features/order_only: Test new order-only prerequisites.
676 2002-07-07  Paul D. Smith  <psmith@gnu.org>
678         * scripts/functions/eval: Test new function.
679         * scripts/functions/value: Test new function.
680         * scripts/variables/MAKEFILE_LIST: Test new variable.
682 2002-04-28  Paul D. Smith  <psmith@gnu.org>
684         * scripts/functions/call: New test: transitive closure
685         implementation using $(call ...) to test variable recursion.
687 2002-04-21  Paul D. Smith  <psmith@gnu.org>
689         * test_driver.pl (compare_dir_tree): Ignore CVS and RCS
690         directories in the script directories.
692 2001-05-02  Paul D. Smith  <psmith@gnu.org>
694         * scripts/variables/flavors: Test define/endef scripts where only
695         one of the command lines is quiet.
697 2000-06-22  Paul D. Smith  <psmith@gnu.org>
699         * scripts/options/dash-q: New file; test the -q option.  Includes
700         a test for PR/1780.
702 2000-06-21  Paul D. Smith  <psmith@gnu.org>
704         * scripts/features/targetvars: Added a test for PR/1709: allowing
705         semicolons in target-specific variable values.
707 2000-06-19  Paul D. Smith  <psmith@gnu.org>
709         * scripts/functions/addsuffix: Test for an empty final argument.
710         Actually this bug might have happened for any function, but this
711         one was handy.
713 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
715         * scripts/options/general: If parallel jobs are not supported,
716         expect a warning message from Make.
718 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
720         * scripts/options/general: Don't try -jN with N != 1 if parallel
721         jobs are not supported.
723 2000-05-24  Paul D. Smith  <psmith@gnu.org>
725         * scripts/options/general: Test general option processing (PR/1716).
727 2000-04-11  Paul D. Smith  <psmith@gnu.org>
729         * scripts/functions/strip: Test empty value to strip (PR/1689).
731 2000-04-08  Eli Zaretskii  <eliz@is.elta.co.il>
733         * scripts/features/reinvoke: Sleep before updating the target
734         files in the first test, to ensure its time stamp really gets
735         newer; otherwise Make might re-exec more than once.
737 2000-04-07  Eli Zaretskii  <eliz@is.elta.co.il>
739         * scripts/features/double_colon: Don't run the parallel tests if
740         parallel jobs aren't supported.
742 2000-04-04  Paul D. Smith  <psmith@gnu.org>
744         * scripts/functions/word: wordlist doesn't swap arguments anymore.
746 2000-03-27  Paul D. Smith  <psmith@gnu.org>
748         * scripts/features/statipattrules: Test that static pattern rules
749         whose prerequisite patterns resolve to empty strings throw an
750         error (instead of dumping core).  Fixes PR/1670.
752         * scripts/features/reinvoke: Make more robust by touching "b"
753         first, to ensure it's not newer than "a".
754         Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
755         * scripts/options/dash-n: Ditto.
757         * scripts/functions/call: Whoops.  The fix to PR/1527 caused
758         recursive invocations of $(call ...) to break.  I can't come up
759         with any way to get both working at the same time, so I backed out
760         the fix to 1527 and added a test case for recursive calls.  This
761         also tests the fix for PR/1610.
763         * scripts/features/double_colon: Test that circular dependencies
764         in double-colon rule sets are detected correctly (PR/1671).
766 2000-03-26  Paul D. Smith  <psmith@gnu.org>
768         * scripts/targets/INTERMEDIATE: Test that make doesn't remove
769         .INTERMEDIATE files when given on the command line (PR/1669).
771 2000-03-08  Paul D. Smith  <psmith@gnu.org>
773         * scripts/options/dash-k: Add a test for error detection by
774         multiple targets depending on the same prerequisite with -k.
775         For PR/1634.
777 2000-02-07  Paul D. Smith  <psmith@gnu.org>
779         * scripts/features/escape: Add a test for backslash-escaped spaces
780         in a target name (PR/1586).
782 2000-02-04  Paul D. Smith  <psmith@gnu.org>
784         * scripts/features/patspecific_vars: Add a test for pattern-specific
785         target variables inherited from the parent target (PR/1407).
787 2000-02-02  Paul D. Smith  <psmith@gnu.org>
789         * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
790         to make sure sorting order, etc. is predictable.
791         Reported by Andreas Jaeger <aj@suse.de>.
793         * run_make_tests.pl (set_more_defaults): Set the $wtime variable
794         depending on the OS.  Eli Zaretskii <eliz@is.elta.co.il> reports
795         this seems to need to be *4* on DOS/Windows, not just 2.  Keep it
796         1 for other systems.
797         * scripts/features/vpathplus (touchfiles): Use the $wtime value
798         instead of hardcoding 2.
799         * scripts/targets/SECONDARY: Ditto.
800         * scripts/targets/INTERMEDIATE: Ditto.
802 2000-01-27  Paul D. Smith  <psmith@gnu.org>
804         * test_driver.pl (toplevel): Don't try to run test scripts which
805         are really directories.
807 2000-01-23  Paul D. Smith  <psmith@gnu.org>
809         * scripts/features/include: Remove a check; the fix caused more
810         problems than the error, so I removed it and removed the test for
811         it.
813 2000-01-11  Paul D. Smith  <psmith@gnu.org>
815         * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
816         sure $(call ...) doesn't eval its arguments and that you can
817         invoke foreach from it without looping forever.
819 1999-12-15  Paul D. Smith  <psmith@gnu.org>
821         * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
822         .INTERMEDIATE settings on files don't disable them as implicit
823         intermediate possibilities.
825 1999-12-01  Paul D. Smith  <psmith@gnu.org>
827         * scripts/features/double_colon: Add a test for PR/1476: Try
828         double-colon rules as non-goal targets and during parallel builds
829         to make sure they're handled serially.
831 1999-11-17  Paul D. Smith  <psmith@gnu.org>
833         * scripts/functions/if: Add a test for PR/1429: put some text
834         after an if-statement to make sure it works.
836         * scripts/features/targetvars: Add a test for PR/1380: handling +=
837         in target-specific variable definitions correctly.
839 1999-10-15  Paul D. Smith  <psmith@gnu.org>
841         * scripts/variables/MAKEFILES: This was really broken: it didn't
842         test anything at all, really.  Rewrote it, plus added a test for
843         PR/1394.
845 1999-10-13  Paul D. Smith  <psmith@gnu.org>
847         * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
848         behave properly when used with recursive targets".
850 1999-10-08  Paul D. Smith  <psmith@gnu.org>
852         * scripts/features/targetvars: Add a check for PR/1378:
853         "Target-specific vars don't inherit correctly"
855 1999-09-29  Paul D. Smith  <psmith@gnu.org>
857         * test_driver.pl (get_osname): Change $fancy_file_names to
858         $short_filenames and reverse the logic.
859         (run_each_test): Change test of non-existent $port_host to use
860         $short_filenames--problem reported by Eli Zaretskii.
862 1999-09-23  Paul D. Smith  <psmith@gnu.org>
864         * scripts/features/parallelism: Add a check to ensure that the
865         jobserver works when we re-invoke.  Also cleaned up the tests a
866         little, reducing the number of rules we use so the test won't need
867         as many "sleep" commands.
869 1999-09-16  Paul D. Smith  <psmith@gnu.org>
871         * scripts/features/reinvoke: Remove invocations of "touch" in
872         makefiles.  See the comments on the touch function rewrite below.
873         Note that UNIX touch behaves the same way if the file already
874         exists: it sets the time to the _local_ time.  We don't want
875         this.  This is probably a good tip for makefile writers in
876         general, actually... where practical.
877         * scripts/options/dash-l: Ditto.
878         * scripts/options/dash-n: Ditto.
880         * test_driver.pl (run_each_test): In retrospect, I don't like the
881         .lN/.bN/.dN postfix required by DOS.  So, for non-DOS systems I
882         changed it back to use .log, .base, and .diff.
884         * run_make_tests.pl (set_more_defaults): Move the check for the
885         make pathname to here from set_defaults (that's too early since it
886         happens before the command line processing).
887         Create a new variable $port_type, calculated from $osname, to
888         specify what kind of system we're running on.  We should integrate
889         the VOS stuff here, too.
890         (valid_option): Comment out the workdir/-work stuff so people
891         won't be fooled into thinking it works... someone needs to fix
892         this, though!
894         * scripts/functions/origin: Use $port_type instead of $osname.
895         * scripts/functions/foreach: Ditto.
896         * scripts/features/default_names: Ditto.
898 1999-09-15  Paul D. Smith  <psmith@gnu.org>
900         * test_driver.pl (touch): Rewrite this function.  Previously it
901         used to use utime() to hard-set the time based on the current
902         local clock, or, if the file didn't exist, it merely created it.
903         This mirrors exactly what real UNIX touch does, but it fails badly
904         on networked filesystems where the FS server clock is skewed from
905         the local clock: normally modifying a file causes it to get a mod
906         time based on the _server's_ clock.  Hard-setting it based on the
907         _local_ clock causes gratuitous errors and makes the tests
908         unreliable except on local filesystems.  The new function will
909         simply modify the file, allowing the filesystem to set the mod
910         time as it sees fit.
912         * scripts/features/parallelism: The second test output could
913         change depending on how fast some scripts completed; use "sleep"
914         to force the order we want.
916         * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
917         means that "%ENV = ();" doesn't do the right thing.  This worked
918         in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
919         the environment rather than require specific versions.
921         * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
922         modifier "s", so the tests will run with Perl 4.
923         (set_more_defaults): Set $pure_log to empty if there's no -logfile
924         option in PURIFYOPTIONS.
925         (setup_for_test): Don't remove any logs unless $pure_log is set.
927 1999-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
929         * scripts/features/reinvoke: Put the SHELL definition in the right
930         test makefile.
932 1999-09-15  Paul D. Smith  <psmith@gnu.org>
934         ChangeLog file for the test suite created.
937 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
938 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
939 This file is part of GNU Make.
941 GNU Make is free software; you can redistribute it and/or modify it under the
942 terms of the GNU General Public License as published by the Free Software
943 Foundation; either version 3 of the License, or (at your option) any later
944 version.
946 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
947 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
948 A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
950 You should have received a copy of the GNU General Public License along with
951 this program.  If not, see <http://www.gnu.org/licenses/>.