- Add forgotten variable/define test suite
[make.git] / tests / ChangeLog
blob9e48022f86af39d11cc4f653a027ea6131fdd24e
1 2009-06-04  Paul Smith  <psmith@gnu.org>
3         * scripts/variables/SHELL: The export target-specific SHELL test
4         has an incorrect known-good-value.
6         * scripts/misc/general4: Check for whitespace (ffeed, vtab, etc.)
8         * scripts/features/se_explicit: Add tests for Savannah bug #24588.
10 2009-05-31  Paul Smith  <psmith@gnu.org>
12         * scripts/variables/DEFAULT_GOAL: Add tests for Savannah bug #25697.
14         * scripts/features/targetvars: Add tests of overrides for Savannah
15         bug #26207.
16         * scripts/features/patspecific_vars: Ditto.
18         * scripts/features/patternrules: Add a test for Savannah bug #26593.
20 2009-05-30  Paul Smith  <psmith@gnu.org>
22         * scripts/variables/flavors: Update with new variable flavor tests.
23         * scripts/variables/define: Create a new set of tests for
24         define/endef and move those aspects of the flavors suite here.
26 2009-05-25  Paul Smith  <psmith@gnu.org>
28         * scripts/features/targetvars: Ditto.
30         * scripts/features/export: Test new variable parsing abilities.
32 2009-02-23  Ramon Garcia  <ramon.garcia.f@gmail.com>
34         * scripts/variables/private: Create a new suite of tests for 'private'.
36 2007-11-04  Paul Smith  <psmith@gnu.org>
38         * scripts/functions/eval: Update error message for command -> recipe.
40         * test_driver.pl (compare_output): Allow the answer to be a regex,
41         if surrounded by '/'.
42         * scripts/misc/close_stdout: Use a regex for the answer, since
43         sometimes the error will have a description and sometimes it won't.
45 2007-09-10  Paul Smith  <psmith@gnu.org>
47         * scripts/variables/special: Add tests for .RECIPEPREFIX variable.
49 2007-08-15  Paul Smith  <psmith@gnu.org>
51         These test cases were contributed by
52         Icarus Sparry <savannah@icarus.freeuk.com> and J. David Bryan for
53         Savannah bugs #3330 and #15919.
55         * scripts/targets/SECONDARY: Add tests for Savannah bugs 3330 and
56         15919.
58         * scripts/features/parallelism: Add tests for wrong answer/hang
59         combining INTERMEDIATE, order-only prereqs, and parallelism.
60         See Savannah bugs 3330 and 15919.
62 2007-07-13  Paul Smith  <psmith@gnu.org>
64         Install a timeout so tests can never loop infinitely.
65         Original idea and patch for a single-test version provided by
66         Icarus Sparry <savannah@icarus.freeuk.com>
68         * test_driver.pl (_run_command): New function: this is called by
69         other functions to actually run a command.  Before we run it,
70         install a SIGALRM handler and set up a timer to go off in the
71         future (default is 5s; this can be overridden by individual tests).
72         (run_command): Call it.
73         (run_command_with_output): Call it.
75         * run_make_tests.pl (run_make_with_options): Override the default
76         timeout if the caller requests it.
77         (run_make_test): Pass any timeout override to run_make_with_options.
79         * scripts/features/parallelism: Increase the timeout for long tests.
80         * scripts/options/dash-l: Ditto.
82 2006-10-01  Paul Smith  <psmith@paulandlesley.org>
84         * run_make_tests.pl (set_more_defaults): Remove setting of LANG in
85         ENV here.  This doesn't always work.
86         * test_driver.pl (toplevel): Set LC_ALL to 'C' in the make
87         environment.  Fixes Savannah bug #16698.
89 2006-09-30  Paul Smith  <psmith@paulandlesley.org>
91         * scripts/variables/automatic: Add back the test for bug #8154.
93 2006-04-01  Paul D. Smith  <psmith@gnu.org>
95         * scripts/functions/realpath: Don't run tests with multiple
96         initial slashes on Windows: those paths mean something different.
98 2006-03-19  Paul D. Smith  <psmith@gnu.org>
100         * scripts/features/parallelism: Test that the jobserver is
101         properly managed when we have to re-exec the master instance of
102         make.
104 2006-03-17  Boris Kolpackov  <boris@kolpackov.net>
106         * scripts/features/statipattrules: Add tests for bug #16053.
108 2006-03-09  Paul Smith  <psmith@gnu.org>
110         * scripts/features/escape: Use "pre:" not "p:" to avoid conflicts
111         with DOS drive letters.  Fixes Savannah bug #15947.
113         * test_driver.pl (run_each_test): Set the status properly even
114         when a test fails to execute.  Fixes Savannah bug #15942.
116         * scripts/functions/foreach: Use a different environment variable
117         other than PATH to avoid differences with Windows platforms.
118         Fixes Savannah bug #15938.
120 2006-03-05  Paul D. Smith  <psmith@gnu.org>
122         * run_make_tests.pl (set_more_defaults): Add CYGWIN_NT as a port
123         type W32.  Fixed Savannah bug #15937.
125         * scripts/features/default_names: Don't call error() when the test
126         fails.  Fixes Savannah bug #15941.
128 2006-02-17  Paul D. Smith  <psmith@gnu.org>
130         * scripts/features/targetvars: Test a complex construction which
131         guarantees that we have to merge variable lists of different
132         sizes.  Tests for Savannah bug #15757.
134 2006-02-15  Paul D. Smith  <psmith@gnu.org>
136         * scripts/functions/error: Make sure filename/lineno information
137         is related to where the error is expanded, not where it's set.
138         * scripts/functions/warning: Ditto.
139         * scripts/functions/foreach: Check for different error conditions.
140         * scripts/functions/word: Ditto.
141         * scripts/variables/negative: Test some variable reference failure
142         conditions.
143         * scripts/options/warn-undefined-variables: Test the
144         --warn-undefined-variables flag.
146 2006-02-09  Paul D. Smith  <psmith@gnu.org>
148         * run_make_tests.pl (set_more_defaults): Update valgrind support
149         for newer versions.
150         * test_driver.pl (toplevel): Skip all hidden files/directories (ones
151         beginning with ".").
153         * scripts/functions/andor: Tests for $(and ..) and $(or ...)
154         functions.
156 2006-02-08  Boris Kolpackov  <boris@kolpackov.net>
158         * scripts/features/parallelism: Add a test for bug #15641.
160 2006-02-06  Paul D. Smith  <psmith@gnu.org>
162         * scripts/options/dash-W: Add a test for bug #15341.
164 2006-01-03  Paul D. Smith  <psmith@gnu.org>
166         * scripts/variables/automatic: Add a test for bug #8154.
168         * README: Update to reflect the current state of the test suite.
170 2005-12-12  Paul D. Smith  <psmith@gnu.org>
172         * scripts/features/parallelism, scripts/functions/wildcard,
173         scripts/targets/FORCE, scripts/targets/PHONY,
174         scripts/targets/SILENT: Use the default setting for
175         $delete_command.  Fixes bug #15085.
177         * run_make_tests.pl (get_this_pwd) [VMS]: Use -no_ask with delete_file.
179 2005-12-11  Paul D. Smith  <psmith@gnu.org>
181         * scripts/misc/general4: Test implicit rules with '$' in the
182         prereq list & prereq patterns.
183         * scripts/features/se_implicit: Add in .SECONDEXPANSION settings.
185 2005-12-09  Boris Kolpackov  <boris@kolpackov.net>
187         * scripts/features/patternrules: Add a test for bug #13022.
189 2005-12-07  Boris Kolpackov  <boris@kolpackov.net>
191         * scripts/features/double_colon: Add a test for bug #14334.
193 2005-11-17  Boris Kolpackov  <boris@kolpackov.net>
195         * scripts/functions/flavor: Add a test for the flavor function.
197 2005-11-14  Boris Kolpackov  <boris@kolpackov.net>
199         * scripts/variables/INCLUDE_DIRS: Add a test for the .INCLUDE_DIRS
200         special variable.
202 2005-10-24  Paul D. Smith  <psmith@gnu.org>
204         * scripts/misc/general4: Test '$$' in prerequisites list.
205         * scripts/features/statipattrules: Rewrite to use run_make_test().
206         Add various static pattern info.
207         * scripts/features/se_statpat: Enable .SECONDEXPANSION target.
208         * scripts/features/se_explicit: Add tests for handling '$$' in
209         prerequisite lists with and without setting .SECONDEXPANSION.
210         * scripts/features/order_only: Convert to run_make_test().
211         * run_make_tests.pl (set_more_defaults): If we can't get the value
212         of $(MAKE) from make, then fatal immediately.
214 2005-08-31  Paul D. Smith  <psmith@gnu.org>
216         * run_make_tests.pl (get_this_pwd): Require the POSIX module (in
217         an eval to trap errors) and if it exists, use POSIX::getcwd to
218         find the working directory.  If it doesn't exist, go back to the
219         previous methods.  This tries to be more accurate on Windows
220         systems.
222 2005-08-29  Paul D. Smith  <psmith@gnu.org>
224         * scripts/functions/abspath: Add some text to the error messages
225         to get a better idea of what's wrong.  Make warnings instead of
226         errors.
228         * scripts/features/patspecific_vars: Don't use "test", which is
229         UNIX specific.  Print the values and let the test script match
230         them.
232 2005-08-25  Paul Smith  <psmith@gnu.org>
234         * scripts/variables/SHELL: Use a /./ prefix instead of //: the
235         former works better with non-UNIX environments.  Fixes Savannah
236         bug #14129.
238 2005-08-13  Boris Kolpackov  <boris@kolpackov.net>
240         * scripts/functions/wildcard: Wrap calls to $(wildcard ) with
241         $(sort) so that the resulting order is no longer filesystem-
242         dependant.
244 2005-08-10  Boris Kolpackov  <boris@kolpackov.net>
246         * scripts/features/statipattrules: Add a test for Savannah bug #13881.
248 2005-08-07  Paul D. Smith  <psmith@gnu.org>
250         * scripts/features/parallelism: Add a test for a bug reported by
251         Michael Matz (matz@suse.de) in which make exits without waiting
252         for all its children in some situations during parallel builds.
254 2005-07-08  Paul D. Smith  <psmith@gnu.org>
256         * test_driver.pl: Reset the environment to a clean value every
257         time before we invoke make.  I'm suspicious that the environment
258         isn't handled the same way in Windows as it is in UNIX, and some
259         variables are leaking out beyond the tests they are intended for.
260         Create an %extraENV hash tests can set to add more env. vars.
261         * tests/scripts/features/export: Change to use %extraENV.
262         * tests/scripts/functions/eval: Ditto.
263         * tests/scripts/functions/origin: Ditto.
264         * tests/scripts/options/dash-e: Ditto.
265         * tests/scripts/variables/SHELL: Ditto.
267 2005-06-27  Paul D. Smith  <psmith@gnu.org>
269         * scripts/options/dash-W: Use 'echo >>' instead of touch to update
270         files.
271         * scripts/features/reinvoke: Rewrite to be safer on systems with
272         subsecond timestamps.
273         * scripts/features/patternrules: False exits with different error
274         codes on different systems (for example, Linux => 1, Solaris => 255).
276         * scripts/options/dash-W: Set the timestamp to foo.x in the future,
277         to be sure it will be considered updated when it's remade.
279 2005-06-26  Paul D. Smith  <psmith@gnu.org>
281         * scripts/functions/shell: New test suite for the shell function.
283 2005-06-25  Paul D. Smith  <psmith@gnu.org>
285         * scripts/features/include: Test include/-include/sinclude with no
286         arguments.  Tests fix for Savannah bug #1761.
288         * scripts/misc/general3: Implement comprehensive testing of
289         backslash-newline behavior in command scripts: various types of
290         quoting, fast path / slow path, etc.
291         Tests fix for Savannah bug #1332.
293         * scripts/options/symlinks: Test symlinks to non-existent files.
294         Tests fix for Savannah bug #13280.
296         * scripts/misc/general3: Test semicolons in variable references.
297         Tests fix for Savannah bug #1454.
299         * scripts/variables/MAKE_RESTARTS: New file: test the
300         MAKE_RESTARTS variable.
301         * scripts/options/dash-B: Test re-exec doesn't loop infinitely.
302         Tests fix for Savannah bug #7566.
303         * scripts/options/dash-W: New file: test the -W flag, including
304         re-exec infinite looping.
306 2005-06-12  Paul D. Smith  <psmith@gnu.org>
308         * scripts/misc/close_stdout: Add a test for Savannah bug #1328.
309         This test only works on systems that have /dev/full (e.g., Linux).
311 2005-06-09  Paul D. Smith  <psmith@gnu.org>
313         * scripts/functions/foreach: Add a test for Savannah bug #11913.
315 2005-05-31  Boris Kolpackov  <boris@kolpackov.net>
317         * scripts/features/include: Add a test for Savannah bug #13216.
318         * scripts/features/patternrules: Add a test for Savannah bug #13218.
320 2005-05-13  Paul D. Smith  <psmith@gnu.org>
322         * scripts/features/conditionals: Add tests for the new if... else
323         if... endif syntax.
325 2005-05-03  Paul D. Smith  <psmith@gnu.org>
327         * scripts/variables/DEFAULT_GOAL: Rename DEFAULT_TARGET to
328         DEFAULT_GOAL.
330 2005-05-02  Paul D. Smith  <psmith@gnu.org>
332         * scripts/features/parallelism: Add a test for exporting recursive
333         variables containing $(shell ) calls.  Rewrite this script to use
334         run_make_test() everywhere.
336 2005-04-07  Paul D. Smith  <psmith@gnu.org>
338         * scripts/targets/SECONDARY: Add a test for Savannah bug #12331.
340 2005-03-15  Boris Kolpackov  <boris@kolpackov.net>
342         * scripts/variables/automatic: Add a test for Savannah bug #12320.
344 2005-03-10  Boris Kolpackov  <boris@kolpackov.net>
346         * scripts/features/patternrules: Add a test for Savannah bug #12267.
348 2005-03-09  Boris Kolpackov  <boris@kolpackov.net>
350         * scripts/variables/DEFAULT_TARGET: Add a test for Savannah
351         bug #12266.
353 2005-03-04  Boris Kolpackov  <boris@kolpackov.net>
355         * scripts/features/patternrules: Add a test for Savannah bug #12202.
357 2005-03-03  Boris Kolpackov  <boris@kolpackov.net>
359         * scripts/features/se_implicit: Add a test for stem
360         termination bug. Add a test for stem triple-expansion bug.
362         * scripts/features/se_statpat: Add a test for stem
363         triple-expansion bug.
365         * scripts/features/statipattrules: Change test #4 to reflect
366         new way empty prerequisite list is handled.
369 2005-03-01  Boris Kolpackov  <boris@kolpackov.net>
371         * scripts/features/statipattrules: Add a test for
372         Savannah bug #12180.
374 2005-02-28  Paul D. Smith  <psmith@gnu.org>
376         * scripts/options/dash-q: Add a test for Savannah bug # 7144.
378         * scripts/options/symlinks: New file to test checking of symlink
379         timestamps.  Can't use filename dash-L because it conflicts with
380         dash-l on case-insensitive filesystems.
382         * scripts/variables/MAKEFILE_LIST, scripts/variables/MFILE_LIST:
383         Rename MAKEFILE_LIST test to MFILE_LIST, for systems that need 8.3
384         unique filenames.
386 2005-02-28  Boris Kolpackov  <boris@kolpackov.net>
388         * scripts/variables/DEFAULT_TARGET: Test the .DEFAULT_TARGET
389         special variable.
391 2005-02-27  Boris Kolpackov  <boris@kolpackov.net>
393         * scripts/features/se_explicit: Test the second expansion in
394         explicit rules.
395         * scripts/features/se_implicit: Test the second expansion in
396         implicit rules.
397         * scripts/features/se_statpat: Test the second expansion in
398         static pattern rules.
399         * scripts/variables/automatic: Fix to work with the second
400         expansion.
402         * scripts/misc/general4: Add a test for bug #12091.
404 2005-02-27  Paul D. Smith  <psmith@gnu.org>
406         * scripts/functions/eval: Check that eval of targets within
407         command scripts fails.  See Savannah bug # 12124.
409 2005-02-26  Paul D. Smith  <psmith@gnu.org>
411         * test_driver.pl (compare_output): If a basic comparison of the
412         log and answer doesn't match, try harder: change all backslashes
413         to slashes and all CRLF to LF.  This helps on DOS/Windows systems.
415 2005-02-09  Paul D. Smith  <psmith@gnu.org>
417         * scripts/features/recursion: Test command line variable settings:
418         only one instance of a given variable should be provided.
420 2004-11-30  Boris Kolpackov  <boris@kolpackov.net>
422         * tests/scripts/functions/abspath: New file: test `abspath'
423         built-in function.
425         * tests/scripts/functions/realpath: New file: test `realpath'
426         built-in function.
428 2004-11-28  Paul D. Smith  <psmith@gnu.org>
430         * scripts/options/dash-C [WINDOWS32]: Add a test for bug #10252;
431         this doesn't really test anything useful in UNIX but...
433         * scripts/variables/SHELL: New file: test proper handling of SHELL
434         according to POSIX rules.  Fixes bug #1276.
436 2004-10-21  Boris Kolpackov  <boris@kolpackov.net>
438         * scripts/functions/word: Test $(firstword ) and $(lastword ).
440 2004-10-05  Boris Kolpackov  <boris@kolpackov.net>
442         * scripts/features/patspecific_vars: Test simple/recursive
443         variable expansion.
445 2004-09-28  Boris Kolpackov  <boris@kolpackov.net>
447         * scripts/features/include: Test dontcare flag inheritance
448         when rebuilding makefiles.
450 2004-09-27  Boris Kolpackov  <boris@kolpackov.net>
452         * scripts/features/patspecific_vars: Test exported variables.
454 2004-09-22  Paul D. Smith  <psmith@gnu.org>
456         * run_make_tests.pl (run_make_test): Don't add newlines to the
457         makestring or answer if they are completely empty.
459         * scripts/features/patternrules: Rename from implicit_prereq_eval.
461         * scripts/test_template: Rework the template.
463 2004-09-21  Boris Kolpackov  <boris@kolpackov.net>
465         * run_make_tests.pl: Change `#!/usr/local/bin/perl' to be
466         `#!/usr/bin/env perl'.
468         * scripts/features/implicit_prereq_eval: Test implicit rule
469         prerequisite evaluation code.
471 2004-09-21  Paul D. Smith  <psmith@gnu.org>
473         * run_make_tests.pl (run_make_test): Enhance to allow the make
474         string to be undef: in that case it reuses the previous make
475         string.  Allows multiple tests on the same makefile.
477         * scripts/variables/flavors: Add some tests for prefix characters
478         interacting with define/endef variables.
480 2004-09-20  Paul D. Smith  <psmith@gnu.org>
482         * scripts/functions/substitution: Rewrite to use run_make_test()
483         interface, and add test for substitution failures reported by
484         Markus Mauhart <qwe123@chello.at>.
486 2004-03-22  Paul D. Smith  <psmith@gnu.org>
488         * test_driver.pl (run_each_test, toplevel, compare_output): Change
489         to track both the testing categories _AND_ the number of
490         individual tests, and report both sets of numbers.
492 2004-02-21  Paul D. Smith  <psmith@gnu.org>
494         * scripts/functions/origin: Set our own environment variable
495         rather than relying on $HOME.
497 2004-01-21  Paul D. Smith  <psmith@gnu.org>
499         * scripts/features/conditionals: Test arguments to ifn?def which
500         contain whitespace (such as a function that is evaluated).  Bug
501         #7257.
503 2004-01-07  Paul D. Smith  <psmith@gnu.org>
505         * scripts/features/order_only: Test order-only prerequisites in
506         pattern rules (patch #2349).
508 2003-11-02  Paul D. Smith  <psmith@gnu.org>
510         * scripts/functions/if: Test if on conditionals with trailing
511         whitespace--bug #5798.
513         * scripts/functions/eval: Test eval in a non-file context--bug #6195.
515 2003-04-19  Paul D. Smith  <psmith@gnu.org>
517         * scripts/features/patspecific_vars: Test multiple patterns
518         matching the same target--Bug #1405.
520 2003-04-09  Paul D. Smith  <psmith@gnu.org>
522         * run_make_tests.pl (set_more_defaults): A new $port_type of
523         'OS/2' for (surprise!) OS/2.  Also choose a wait time of 2 seconds
524         for OS/2.
526 2003-03-28  Paul D. Smith  <psmith@gnu.org>
528         * scripts/targets/SECONDARY: Test the "global" .SECONDARY (with
529         not prerequisites)--Bug #2515.
531 2003-01-30  Paul D. Smith  <psmith@gnu.org>
533         * scripts/features/targetvars: Test very long target-specific
534         variable definition lines (longer than the default make buffer
535         length).  Tests patch # 1022.
537         * scripts/functions/eval: Test very recursive $(eval ...) calls
538         with simple variable expansion (bug #2238).
540         * scripts/functions/word: Test error handling for word and
541         wordlist functions (bug #2407).
543 2003-01-22  Paul D. Smith  <psmith@gnu.org>
545         * scripts/functions/call: Test recursive argument masking (bug
546         #1744).
548 2002-10-25  Paul D. Smith  <psmith@gnu.org>
550         * scripts/functions/eval: Test using $(eval ...) inside
551         conditionals (Bug #1516).
553 2002-10-14  Paul D. Smith  <psmith@gnu.org>
555         * scripts/options/dash-t: Add a test for handling -t on targets
556         with no commands (Bug #1418).
558 2002-10-13  Paul D. Smith  <psmith@gnu.org>
560         * scripts/features/targetvars: Add a test for exporting
561         target-specific vars (Bug #1391).
563 2002-10-05  Paul D. Smith  <psmith@gnu.org>
565         * scripts/variables/automatic: Add tests for $$(@), $${@}, $${@D},
566         and $${@F}.
568 2002-09-23  Paul D. Smith  <psmith@gnu.org>
570         * scripts/features/escape: Test handling of escaped comment
571         characters in targets and prerequisites.
573 2002-09-18  Paul D. Smith  <psmith@gnu.org>
575         * scripts/features/export: Test export/unexport of multiple
576         variables in a single command.
578 2002-09-17  Paul D. Smith  <psmith@gnu.org>
580         * scripts/features/targetvars: Tests for Bug #940: test
581         target-specific and pattern-specific variables in conjunction with
582         double-colon targets.
584 2002-09-10  Paul D. Smith  <psmith@gnu.org>
586         * test_driver.pl (compare_output): Match the new format for time
587         skew error messages.
589         * scripts/features/export: Created.  Add tests for export/unexport
590         capabilities, including exporting/unexporting expanded variables.
592         * scripts/features/conditionals: Add a test for expanded variables
593         in ifdef conditionals.
595 2002-09-04  Paul D. Smith  <psmith@gnu.org>
597         * scripts/features/reinvoke: Change touch/sleep combos to utouch
598         invocations.
599         * scripts/features/vpathgpath: Ditto.
600         * scripts/features/vpathplus: Ditto.
601         * scripts/options/dash-n: Ditto.
602         * scripts/targets/INTERMEDIATE: Ditto.
603         * scripts/targets/SECONDARY: Ditto.
605         * scripts/options/dash-t: Added a test for the -t bug fixed by
606         Henning Makholm.  This test was also contributed by Henning.
608         * scripts/misc/general4: Add a test suite for obscure algorithmic
609         features of make.  First test: make sure creation subdirectories
610         as prerequisites of targets works properly.
612         * scripts/misc/version: Remove this bogus test.
614 2002-08-07  Paul D. Smith  <psmith@gnu.org>
616         * scripts/misc/general3: Add a test for makefiles that don't end
617         in newlines.
619         * scripts/variables/special: Create tests for the special
620         variables (.VARIABLES and .TARGETS).  Comment out .TARGETS test
621         for now as it's not yet supported.
623 2002-08-01  Paul D. Smith  <psmith@gnu.org>
625         * scripts/options/dash-B: Add a test for the new -B option.
627 2002-07-11  Paul D. Smith  <psmith@gnu.org>
629         * run_make_tests.pl (valid_option): Add support for Valgrind.  Use
630         -valgrind option to the test suite.
631         (set_more_defaults): Set up the file descriptor to capture
632         Valgrind output.  We have to unset its close-on-exec flag; we
633         hardcode the value for F_SETFD (2) rather than load it; hopefully
634         this will help us avoid breaking the Windows/DOS test suite.
636 2002-07-10  Paul D. Smith  <psmith@gnu.org>
638         * scripts/variables/automatic: Add some tests for $$@, $$(@D), and
639         $$(@F).
641         * test_driver.pl (utouch): Create a new function that creates a
642         file with a specific timestamp offset.  Use of this function will
643         let us avoid lots of annoying sleep() invocations in the tests
644         just to get proper timestamping, which will make the tests run a
645         lot faster.  So far it's only used in the automatic test suite.
647 2002-07-09  Paul D. Smith  <psmith@gnu.org>
649         * scripts/variables/automatic: Create a test for automatic variables.
651 2002-07-08  Paul D. Smith  <psmith@gnu.org>
653         * scripts/features/order_only: Test new order-only prerequisites.
655 2002-07-07  Paul D. Smith  <psmith@gnu.org>
657         * scripts/functions/eval: Test new function.
658         * scripts/functions/value: Test new function.
659         * scripts/variables/MAKEFILE_LIST: Test new variable.
661 2002-04-28  Paul D. Smith  <psmith@gnu.org>
663         * scripts/functions/call: New test: transitive closure
664         implementation using $(call ...) to test variable recursion.
666 2002-04-21  Paul D. Smith  <psmith@gnu.org>
668         * test_driver.pl (compare_dir_tree): Ignore CVS and RCS
669         directories in the script directories.
671 2001-05-02  Paul D. Smith  <psmith@gnu.org>
673         * scripts/variables/flavors: Test define/endef scripts where only
674         one of the command lines is quiet.
676 2000-06-22  Paul D. Smith  <psmith@gnu.org>
678         * scripts/options/dash-q: New file; test the -q option.  Includes
679         a test for PR/1780.
681 2000-06-21  Paul D. Smith  <psmith@gnu.org>
683         * scripts/features/targetvars: Added a test for PR/1709: allowing
684         semicolons in target-specific variable values.
686 2000-06-19  Paul D. Smith  <psmith@gnu.org>
688         * scripts/functions/addsuffix: Test for an empty final argument.
689         Actually this bug might have happened for any function, but this
690         one was handy.
692 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
694         * scripts/options/general: If parallel jobs are not supported,
695         expect a warning message from Make.
697 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
699         * scripts/options/general: Don't try -jN with N != 1 if parallel
700         jobs are not supported.
702 2000-05-24  Paul D. Smith  <psmith@gnu.org>
704         * scripts/options/general: Test general option processing (PR/1716).
706 2000-04-11  Paul D. Smith  <psmith@gnu.org>
708         * scripts/functions/strip: Test empty value to strip (PR/1689).
710 2000-04-08  Eli Zaretskii  <eliz@is.elta.co.il>
712         * scripts/features/reinvoke: Sleep before updating the target
713         files in the first test, to ensure its time stamp really gets
714         newer; otherwise Make might re-exec more than once.
716 2000-04-07  Eli Zaretskii  <eliz@is.elta.co.il>
718         * scripts/features/double_colon: Don't run the parallel tests if
719         parallel jobs aren't supported.
721 2000-04-04  Paul D. Smith  <psmith@gnu.org>
723         * scripts/functions/word: wordlist doesn't swap arguments anymore.
725 2000-03-27  Paul D. Smith  <psmith@gnu.org>
727         * scripts/features/statipattrules: Test that static pattern rules
728         whose prerequisite patterns resolve to empty strings throw an
729         error (instead of dumping core).  Fixes PR/1670.
731         * scripts/features/reinvoke: Make more robust by touching "b"
732         first, to ensure it's not newer than "a".
733         Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
734         * scripts/options/dash-n: Ditto.
736         * scripts/functions/call: Whoops.  The fix to PR/1527 caused
737         recursive invocations of $(call ...) to break.  I can't come up
738         with any way to get both working at the same time, so I backed out
739         the fix to 1527 and added a test case for recursive calls.  This
740         also tests the fix for PR/1610.
742         * scripts/features/double_colon: Test that circular dependencies
743         in double-colon rule sets are detected correctly (PR/1671).
745 2000-03-26  Paul D. Smith  <psmith@gnu.org>
747         * scripts/targets/INTERMEDIATE: Test that make doesn't remove
748         .INTERMEDIATE files when given on the command line (PR/1669).
750 2000-03-08  Paul D. Smith  <psmith@gnu.org>
752         * scripts/options/dash-k: Add a test for error detection by
753         multiple targets depending on the same prerequisite with -k.
754         For PR/1634.
756 2000-02-07  Paul D. Smith  <psmith@gnu.org>
758         * scripts/features/escape: Add a test for backslash-escaped spaces
759         in a target name (PR/1586).
761 2000-02-04  Paul D. Smith  <psmith@gnu.org>
763         * scripts/features/patspecific_vars: Add a test for pattern-specific
764         target variables inherited from the parent target (PR/1407).
766 2000-02-02  Paul D. Smith  <psmith@gnu.org>
768         * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
769         to make sure sorting order, etc. is predictable.
770         Reported by Andreas Jaeger <aj@suse.de>.
772         * run_make_tests.pl (set_more_defaults): Set the $wtime variable
773         depending on the OS.  Eli Zaretskii <eliz@is.elta.co.il> reports
774         this seems to need to be *4* on DOS/Windows, not just 2.  Keep it
775         1 for other systems.
776         * scripts/features/vpathplus (touchfiles): Use the $wtime value
777         instead of hardcoding 2.
778         * scripts/targets/SECONDARY: Ditto.
779         * scripts/targets/INTERMEDIATE: Ditto.
781 2000-01-27  Paul D. Smith  <psmith@gnu.org>
783         * test_driver.pl (toplevel): Don't try to run test scripts which
784         are really directories.
786 2000-01-23  Paul D. Smith  <psmith@gnu.org>
788         * scripts/features/include: Remove a check; the fix caused more
789         problems than the error, so I removed it and removed the test for
790         it.
792 2000-01-11  Paul D. Smith  <psmith@gnu.org>
794         * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
795         sure $(call ...) doesn't eval its arguments and that you can
796         invoke foreach from it without looping forever.
798 1999-12-15  Paul D. Smith  <psmith@gnu.org>
800         * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
801         .INTERMEDIATE settings on files don't disable them as implicit
802         intermediate possibilities.
804 1999-12-01  Paul D. Smith  <psmith@gnu.org>
806         * scripts/features/double_colon: Add a test for PR/1476: Try
807         double-colon rules as non-goal targets and during parallel builds
808         to make sure they're handled serially.
810 1999-11-17  Paul D. Smith  <psmith@gnu.org>
812         * scripts/functions/if: Add a test for PR/1429: put some text
813         after an if-statement to make sure it works.
815         * scripts/features/targetvars: Add a test for PR/1380: handling +=
816         in target-specific variable definitions correctly.
818 1999-10-15  Paul D. Smith  <psmith@gnu.org>
820         * scripts/variables/MAKEFILES: This was really broken: it didn't
821         test anything at all, really.  Rewrote it, plus added a test for
822         PR/1394.
824 1999-10-13  Paul D. Smith  <psmith@gnu.org>
826         * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
827         behave properly when used with recursive targets".
829 1999-10-08  Paul D. Smith  <psmith@gnu.org>
831         * scripts/features/targetvars: Add a check for PR/1378:
832         "Target-specific vars don't inherit correctly"
834 1999-09-29  Paul D. Smith  <psmith@gnu.org>
836         * test_driver.pl (get_osname): Change $fancy_file_names to
837         $short_filenames and reverse the logic.
838         (run_each_test): Change test of non-existent $port_host to use
839         $short_filenames--problem reported by Eli Zaretskii.
841 1999-09-23  Paul D. Smith  <psmith@gnu.org>
843         * scripts/features/parallelism: Add a check to ensure that the
844         jobserver works when we re-invoke.  Also cleaned up the tests a
845         little, reducing the number of rules we use so the test won't need
846         as many "sleep" commands.
848 1999-09-16  Paul D. Smith  <psmith@gnu.org>
850         * scripts/features/reinvoke: Remove invocations of "touch" in
851         makefiles.  See the comments on the touch function rewrite below.
852         Note that UNIX touch behaves the same way if the file already
853         exists: it sets the time to the _local_ time.  We don't want
854         this.  This is probably a good tip for makefile writers in
855         general, actually... where practical.
856         * scripts/options/dash-l: Ditto.
857         * scripts/options/dash-n: Ditto.
859         * test_driver.pl (run_each_test): In retrospect, I don't like the
860         .lN/.bN/.dN postfix required by DOS.  So, for non-DOS systems I
861         changed it back to use .log, .base, and .diff.
863         * run_make_tests.pl (set_more_defaults): Move the check for the
864         make pathname to here from set_defaults (that's too early since it
865         happens before the command line processing).
866         Create a new variable $port_type, calculated from $osname, to
867         specify what kind of system we're running on.  We should integrate
868         the VOS stuff here, too.
869         (valid_option): Comment out the workdir/-work stuff so people
870         won't be fooled into thinking it works... someone needs to fix
871         this, though!
873         * scripts/functions/origin: Use $port_type instead of $osname.
874         * scripts/functions/foreach: Ditto.
875         * scripts/features/default_names: Ditto.
877 1999-09-15  Paul D. Smith  <psmith@gnu.org>
879         * test_driver.pl (touch): Rewrite this function.  Previously it
880         used to use utime() to hard-set the time based on the current
881         local clock, or, if the file didn't exist, it merely created it.
882         This mirrors exactly what real UNIX touch does, but it fails badly
883         on networked filesystems where the FS server clock is skewed from
884         the local clock: normally modifying a file causes it to get a mod
885         time based on the _server's_ clock.  Hard-setting it based on the
886         _local_ clock causes gratuitous errors and makes the tests
887         unreliable except on local filesystems.  The new function will
888         simply modify the file, allowing the filesystem to set the mod
889         time as it sees fit.
891         * scripts/features/parallelism: The second test output could
892         change depending on how fast some scripts completed; use "sleep"
893         to force the order we want.
895         * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
896         means that "%ENV = ();" doesn't do the right thing.  This worked
897         in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
898         the environment rather than require specific versions.
900         * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
901         modifier "s", so the tests will run with Perl 4.
902         (set_more_defaults): Set $pure_log to empty if there's no -logfile
903         option in PURIFYOPTIONS.
904         (setup_for_test): Don't remove any logs unless $pure_log is set.
906 1999-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
908         * scripts/features/reinvoke: Put the SHELL definition in the right
909         test makefile.
911 1999-09-15  Paul D. Smith  <psmith@gnu.org>
913         ChangeLog file for the test suite created.
916 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
917 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
918 This file is part of GNU Make.
920 GNU Make is free software; you can redistribute it and/or modify it under the
921 terms of the GNU General Public License as published by the Free Software
922 Foundation; either version 3 of the License, or (at your option) any later
923 version.
925 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
926 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
927 A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
929 You should have received a copy of the GNU General Public License along with
930 this program.  If not, see <http://www.gnu.org/licenses/>.