Fix another error related to whitespace handling in archives.
[make.git] / tests / ChangeLog
blobd800b499e42055dcc75a2aab6fd6ea5ffb3dd116
1 2011-06-12  Paul Smith  <psmith@gnu.org>
3         * scripts/features/archives: Check archives with whitespace at the
4         beginning, end, and extra in the middle.
5         Another test for Savannah bug #30612.
7 2011-05-07  Paul Smith  <psmith@gnu.org>
9         * scripts/variables/private: Ensure we skip private variables when
10         appending.  Test for Savannah bug #32872.
12         * scripts/functions/wildcard: Verify wildcard used to test for
13         file existence/non-existence.
15 2011-05-02  Paul Smith  <psmith@gnu.org>
17         * scripts/functions/sort: Add a test for Savannah bug #33125.
19 2011-04-17  David A. Wheeler  <dwheeler@dwheeler.com>
21         * scripts/features/shell_assignment: Regression for "!=" feature
23 2010-11-06  Paul Smith  <psmith@gnu.org>
25         * scripts/features/targetvars: Fix known-good output for BS/NL changes.
26         * scripts/functions/call: Ditto.
27         * scripts/variables/special: Ditto.
29         * scripts/misc/bs-nl: New test suite for backslash/newline testing.
31 2010-08-29  Paul Smith  <psmith@gnu.org>
33         * scripts/features/errors: Add new error message to output text.
34         * scripts/variables/SHELL: Ditto.
35         * scripts/targets/POSIX: Ditto.
36         * scripts/options/dash-k: Ditto.
37         * scripts/features/vpathplus: Ditto.
38         * scripts/features/patternrules: Ditto.
39         * scripts/features/parallelism: Ditto.
41 2010-08-13  Paul Smith  <psmith@gnu.org>
43         * scripts/features/archives: New regression tests for archive
44         support.  Test for fix to Savannah bug #30612.
46         * run_make_tests.pl (set_more_defaults): Set a %FEATURES hash to
47         the features available in $(.FEATURES).
49 2010-08-10  Paul Smith  <psmith@gnu.org>
51         * scripts/features/reinvoke: Ensure command line variable settings
52         are preserved across make re-exec.  Tests Savannah bug #30723.
54 2010-07-28  Paul Smith  <psmith@gnu.org>
56         * scripts/targets/POSIX: Compatibility issues with Solaris (and
57         Tru64?); "false" returns different exit codes, and set -x shows
58         output with extra whitespace.  Run the commands by hand first to
59         find out what the real shell would do, then compare what make does.
60         * scripts/variables/SHELL: Ditto.
62 2010-07-12  Paul Smith  <psmith@gnu.org>
64         * test_driver.pl: Add a new $perl_name containing the path to Perl.
65         * run_make_tests.pl (run_make_test): Replace the special string
66         #PERL# in a makefile etc. with the path the Perl executable so
67         makefiles can use it.
69         * scripts/targets/ONESHELL: Add a new set of regression tests for
70         the .ONESHELL feature.
72 2010-07-06  Paul Smith  <psmith@gnu.org>
74         * scripts/variables/SHELL: Test the new .SHELLFLAGS variable.
76         * scripts/targets/POSIX: New file.  Test the .POSIX special target.
77         Verify that enabling .POSIX changes the shell flags to set -e.
79 2010-07-01  Paul Smith  <psmith@gnu.org>
81         * scripts/features/recursion: Add a space to separate command-line
82         args.  Fixes Savannah bug #29968.
84 2009-11-12  Boris Kolpackov  <boris@codesynthesis.com>
86         * scripts/features/vpath3: Test for the new library search
87         behavior.
89 2009-10-06  Boris Kolpackov  <boris@codesynthesis.com>
91         * scripts/features/se_explicit: Enable the test for now fixed
92         Savannah bug 25780.
94 2009-10-06  Boris Kolpackov  <boris@codesynthesis.com>
96         * scripts/variables/undefine: Tests for the new undefine feature.
98 2009-10-03  Paul Smith  <psmith@gnu.org>
100         * scripts/features/parallelism: Test for open Savannah bug #26846.
102         * scripts/variables/MAKE: Rewrite for new run_make_test() format.
104         * scripts/variables/MAKEFLAGS: Created.
105         Add test for Savannah bug #2216 (still open).
107         * scripts/features/include: Test for Savannah bug #102 (still open).
109 2009-09-30  Boris Kolpackov  <boris@codesynthesis.com>
111         * scripts/features/include: Add diagnostics issuing tests for
112         cases where targets have been updated and failed with the
113         dontcare flag. Savannah bugs #15110, #25493, #12686, #17740.
115 2009-09-28  Paul Smith  <psmith@gnu.org>
117         * scripts/functions/shell: Add regression test for Savannah bug
118         #20513 (still open).
120         * scripts/features/se_explicit: Add regression tests for Savannah
121         bug #25780 (still open).
123         * run_make_tests.pl (valid_option): Add a new flag, -all([-_]?tests)?
124         that runs tests we know will fail.  This allows us to add
125         regression tests to the test suite for bugs that haven't been
126         fixed yet.
128 2009-09-28  Boris Kolpackov  <boris@codesynthesis.com>
130         * scripts/features/patspecific_vars: Add a test for the shortest
131         stem first order.
133         * scripts/features/patternrules: Add a test for the shortest stem
134         first order.
136 2009-09-24  Paul Smith  <psmith@gnu.org>
138         * scripts/features/se_implicit: Add a test for order-only
139         secondary expansion prerequisites.
141 2009-09-23  Paul Smith  <psmith@gnu.org>
143         * scripts/features/patternrules: Test that we can remove pattern
144         rules, both single and multiple prerequisites.  Savannah bug #18622.
146         * scripts/features/echoing: Rework for run_make_test().
148 2009-06-14  Paul Smith  <psmith@gnu.org>
150         * scripts/features/vpath: Verify we don't get bogus circular
151         dependency warnings if we choose a different file via vpath during
152         update.  Savannah bug #13529.
154 2009-06-13  Paul Smith  <psmith@gnu.org>
156         * scripts/variables/MAKEFILES: Verify that MAKEFILES included
157         files (and files included by them) don't set the default goal.
158         Savannah bug #13401.
160         * scripts/functions/wildcard: Test that wildcards with
161         non-existent glob matchers return empty.
163 2009-06-09  Paul Smith  <psmith@gnu.org>
165         * scripts/options/dash-B: Test the $? works correctly with -B.
166         Savannah bug #17825.
168         * scripts/features/patternrules: Test that dependencies of
169         "also_make" targets are created properly.  Savannah bug #19108.
171         * test_driver.pl (compare_output): Create a "run" file for failed
172         tests containing the command that was run.
173         (get_runfile): New function.
175         * run_make_tests.pl (valid_option): Enhanced support for valgrind:
176         allow memcheck and massif tools.
178         * scripts/features/patternrules: Have to comment out a line in the
179         first test due to backing out a change that broke the implicit
180         rule search algorithm.  Savannah bug #17752.
181         * scripts/misc/general4: Remove a test that is redundant with
182         patternrules.
184         * scripts/features/parallelism: Add a test for re-exec with
185         jobserver master override.  Savannah bug #18124.
187 2009-06-08  Paul Smith  <psmith@gnu.org>
189         * scripts/features/targetvars: Add a test for continued target
190         vars after a semicolon.  Savannah bug #17521.
192 2009-06-07  Paul Smith  <psmith@gnu.org>
194         * scripts/features/se_explicit: Make sure we catch defining
195         prereqs during snap_deps().  Savannah bug #24622.
197         * scripts/variables/automatic: Check prereq ordering when the
198         target with the recipe has no prereqs.  Savannah bug #21198.
200         * scripts/variables/LIBPATTERNS: Add a new set of test for
201         $(.LIBPATTERNS) (previously untested!)
203 2009-06-04  Paul Smith  <psmith@gnu.org>
205         * scripts/variables/SHELL: The export target-specific SHELL test
206         has an incorrect known-good-value.
208         * scripts/misc/general4: Check for whitespace (ffeed, vtab, etc.)
210         * scripts/features/se_explicit: Add tests for Savannah bug #24588.
212 2009-05-31  Paul Smith  <psmith@gnu.org>
214         * scripts/variables/DEFAULT_GOAL: Add tests for Savannah bug #25697.
216         * scripts/features/targetvars: Add tests of overrides for Savannah
217         bug #26207.
218         * scripts/features/patspecific_vars: Ditto.
220         * scripts/features/patternrules: Add a test for Savannah bug #26593.
222 2009-05-30  Paul Smith  <psmith@gnu.org>
224         * scripts/variables/flavors: Update with new variable flavor tests.
225         * scripts/variables/define: Create a new set of tests for
226         define/endef and move those aspects of the flavors suite here.
228 2009-05-25  Paul Smith  <psmith@gnu.org>
230         * scripts/features/targetvars: Ditto.
232         * scripts/features/export: Test new variable parsing abilities.
234 2009-02-23  Ramon Garcia  <ramon.garcia.f@gmail.com>
236         * scripts/variables/private: Create a new suite of tests for 'private'.
238 2007-11-04  Paul Smith  <psmith@gnu.org>
240         * scripts/functions/eval: Update error message for command -> recipe.
242         * test_driver.pl (compare_output): Allow the answer to be a regex,
243         if surrounded by '/'.
244         * scripts/misc/close_stdout: Use a regex for the answer, since
245         sometimes the error will have a description and sometimes it won't.
247 2007-09-10  Paul Smith  <psmith@gnu.org>
249         * scripts/variables/special: Add tests for .RECIPEPREFIX variable.
251 2007-08-15  Paul Smith  <psmith@gnu.org>
253         These test cases were contributed by
254         Icarus Sparry <savannah@icarus.freeuk.com> and J. David Bryan for
255         Savannah bugs #3330 and #15919.
257         * scripts/targets/SECONDARY: Add tests for Savannah bugs 3330 and
258         15919.
260         * scripts/features/parallelism: Add tests for wrong answer/hang
261         combining INTERMEDIATE, order-only prereqs, and parallelism.
262         See Savannah bugs 3330 and 15919.
264 2007-07-13  Paul Smith  <psmith@gnu.org>
266         Install a timeout so tests can never loop infinitely.
267         Original idea and patch for a single-test version provided by
268         Icarus Sparry <savannah@icarus.freeuk.com>
270         * test_driver.pl (_run_command): New function: this is called by
271         other functions to actually run a command.  Before we run it,
272         install a SIGALRM handler and set up a timer to go off in the
273         future (default is 5s; this can be overridden by individual tests).
274         (run_command): Call it.
275         (run_command_with_output): Call it.
277         * run_make_tests.pl (run_make_with_options): Override the default
278         timeout if the caller requests it.
279         (run_make_test): Pass any timeout override to run_make_with_options.
281         * scripts/features/parallelism: Increase the timeout for long tests.
282         * scripts/options/dash-l: Ditto.
284 2006-10-01  Paul Smith  <psmith@paulandlesley.org>
286         * run_make_tests.pl (set_more_defaults): Remove setting of LANG in
287         ENV here.  This doesn't always work.
288         * test_driver.pl (toplevel): Set LC_ALL to 'C' in the make
289         environment.  Fixes Savannah bug #16698.
291 2006-09-30  Paul Smith  <psmith@paulandlesley.org>
293         * scripts/variables/automatic: Add back the test for bug #8154.
295 2006-04-01  Paul D. Smith  <psmith@gnu.org>
297         * scripts/functions/realpath: Don't run tests with multiple
298         initial slashes on Windows: those paths mean something different.
300 2006-03-19  Paul D. Smith  <psmith@gnu.org>
302         * scripts/features/parallelism: Test that the jobserver is
303         properly managed when we have to re-exec the master instance of
304         make.
306 2006-03-17  Boris Kolpackov  <boris@kolpackov.net>
308         * scripts/features/statipattrules: Add tests for bug #16053.
310 2006-03-09  Paul Smith  <psmith@gnu.org>
312         * scripts/features/escape: Use "pre:" not "p:" to avoid conflicts
313         with DOS drive letters.  Fixes Savannah bug #15947.
315         * test_driver.pl (run_each_test): Set the status properly even
316         when a test fails to execute.  Fixes Savannah bug #15942.
318         * scripts/functions/foreach: Use a different environment variable
319         other than PATH to avoid differences with Windows platforms.
320         Fixes Savannah bug #15938.
322 2006-03-05  Paul D. Smith  <psmith@gnu.org>
324         * run_make_tests.pl (set_more_defaults): Add CYGWIN_NT as a port
325         type W32.  Fixed Savannah bug #15937.
327         * scripts/features/default_names: Don't call error() when the test
328         fails.  Fixes Savannah bug #15941.
330 2006-02-17  Paul D. Smith  <psmith@gnu.org>
332         * scripts/features/targetvars: Test a complex construction which
333         guarantees that we have to merge variable lists of different
334         sizes.  Tests for Savannah bug #15757.
336 2006-02-15  Paul D. Smith  <psmith@gnu.org>
338         * scripts/functions/error: Make sure filename/lineno information
339         is related to where the error is expanded, not where it's set.
340         * scripts/functions/warning: Ditto.
341         * scripts/functions/foreach: Check for different error conditions.
342         * scripts/functions/word: Ditto.
343         * scripts/variables/negative: Test some variable reference failure
344         conditions.
345         * scripts/options/warn-undefined-variables: Test the
346         --warn-undefined-variables flag.
348 2006-02-09  Paul D. Smith  <psmith@gnu.org>
350         * run_make_tests.pl (set_more_defaults): Update valgrind support
351         for newer versions.
352         * test_driver.pl (toplevel): Skip all hidden files/directories (ones
353         beginning with ".").
355         * scripts/functions/andor: Tests for $(and ..) and $(or ...)
356         functions.
358 2006-02-08  Boris Kolpackov  <boris@kolpackov.net>
360         * scripts/features/parallelism: Add a test for bug #15641.
362 2006-02-06  Paul D. Smith  <psmith@gnu.org>
364         * scripts/options/dash-W: Add a test for bug #15341.
366 2006-01-03  Paul D. Smith  <psmith@gnu.org>
368         * scripts/variables/automatic: Add a test for bug #8154.
370         * README: Update to reflect the current state of the test suite.
372 2005-12-12  Paul D. Smith  <psmith@gnu.org>
374         * scripts/features/parallelism, scripts/functions/wildcard,
375         scripts/targets/FORCE, scripts/targets/PHONY,
376         scripts/targets/SILENT: Use the default setting for
377         $delete_command.  Fixes bug #15085.
379         * run_make_tests.pl (get_this_pwd) [VMS]: Use -no_ask with delete_file.
381 2005-12-11  Paul D. Smith  <psmith@gnu.org>
383         * scripts/misc/general4: Test implicit rules with '$' in the
384         prereq list & prereq patterns.
385         * scripts/features/se_implicit: Add in .SECONDEXPANSION settings.
387 2005-12-09  Boris Kolpackov  <boris@kolpackov.net>
389         * scripts/features/patternrules: Add a test for bug #13022.
391 2005-12-07  Boris Kolpackov  <boris@kolpackov.net>
393         * scripts/features/double_colon: Add a test for bug #14334.
395 2005-11-17  Boris Kolpackov  <boris@kolpackov.net>
397         * scripts/functions/flavor: Add a test for the flavor function.
399 2005-11-14  Boris Kolpackov  <boris@kolpackov.net>
401         * scripts/variables/INCLUDE_DIRS: Add a test for the .INCLUDE_DIRS
402         special variable.
404 2005-10-24  Paul D. Smith  <psmith@gnu.org>
406         * scripts/misc/general4: Test '$$' in prerequisites list.
407         * scripts/features/statipattrules: Rewrite to use run_make_test().
408         Add various static pattern info.
409         * scripts/features/se_statpat: Enable .SECONDEXPANSION target.
410         * scripts/features/se_explicit: Add tests for handling '$$' in
411         prerequisite lists with and without setting .SECONDEXPANSION.
412         * scripts/features/order_only: Convert to run_make_test().
413         * run_make_tests.pl (set_more_defaults): If we can't get the value
414         of $(MAKE) from make, then fatal immediately.
416 2005-08-31  Paul D. Smith  <psmith@gnu.org>
418         * run_make_tests.pl (get_this_pwd): Require the POSIX module (in
419         an eval to trap errors) and if it exists, use POSIX::getcwd to
420         find the working directory.  If it doesn't exist, go back to the
421         previous methods.  This tries to be more accurate on Windows
422         systems.
424 2005-08-29  Paul D. Smith  <psmith@gnu.org>
426         * scripts/functions/abspath: Add some text to the error messages
427         to get a better idea of what's wrong.  Make warnings instead of
428         errors.
430         * scripts/features/patspecific_vars: Don't use "test", which is
431         UNIX specific.  Print the values and let the test script match
432         them.
434 2005-08-25  Paul Smith  <psmith@gnu.org>
436         * scripts/variables/SHELL: Use a /./ prefix instead of //: the
437         former works better with non-UNIX environments.  Fixes Savannah
438         bug #14129.
440 2005-08-13  Boris Kolpackov  <boris@kolpackov.net>
442         * scripts/functions/wildcard: Wrap calls to $(wildcard ) with
443         $(sort) so that the resulting order is no longer filesystem-
444         dependant.
446 2005-08-10  Boris Kolpackov  <boris@kolpackov.net>
448         * scripts/features/statipattrules: Add a test for Savannah bug #13881.
450 2005-08-07  Paul D. Smith  <psmith@gnu.org>
452         * scripts/features/parallelism: Add a test for a bug reported by
453         Michael Matz (matz@suse.de) in which make exits without waiting
454         for all its children in some situations during parallel builds.
456 2005-07-08  Paul D. Smith  <psmith@gnu.org>
458         * test_driver.pl: Reset the environment to a clean value every
459         time before we invoke make.  I'm suspicious that the environment
460         isn't handled the same way in Windows as it is in UNIX, and some
461         variables are leaking out beyond the tests they are intended for.
462         Create an %extraENV hash tests can set to add more env. vars.
463         * tests/scripts/features/export: Change to use %extraENV.
464         * tests/scripts/functions/eval: Ditto.
465         * tests/scripts/functions/origin: Ditto.
466         * tests/scripts/options/dash-e: Ditto.
467         * tests/scripts/variables/SHELL: Ditto.
469 2005-06-27  Paul D. Smith  <psmith@gnu.org>
471         * scripts/options/dash-W: Use 'echo >>' instead of touch to update
472         files.
473         * scripts/features/reinvoke: Rewrite to be safer on systems with
474         subsecond timestamps.
475         * scripts/features/patternrules: False exits with different error
476         codes on different systems (for example, Linux => 1, Solaris => 255).
478         * scripts/options/dash-W: Set the timestamp to foo.x in the future,
479         to be sure it will be considered updated when it's remade.
481 2005-06-26  Paul D. Smith  <psmith@gnu.org>
483         * scripts/functions/shell: New test suite for the shell function.
485 2005-06-25  Paul D. Smith  <psmith@gnu.org>
487         * scripts/features/include: Test include/-include/sinclude with no
488         arguments.  Tests fix for Savannah bug #1761.
490         * scripts/misc/general3: Implement comprehensive testing of
491         backslash-newline behavior in command scripts: various types of
492         quoting, fast path / slow path, etc.
493         Tests fix for Savannah bug #1332.
495         * scripts/options/symlinks: Test symlinks to non-existent files.
496         Tests fix for Savannah bug #13280.
498         * scripts/misc/general3: Test semicolons in variable references.
499         Tests fix for Savannah bug #1454.
501         * scripts/variables/MAKE_RESTARTS: New file: test the
502         MAKE_RESTARTS variable.
503         * scripts/options/dash-B: Test re-exec doesn't loop infinitely.
504         Tests fix for Savannah bug #7566.
505         * scripts/options/dash-W: New file: test the -W flag, including
506         re-exec infinite looping.
508 2005-06-12  Paul D. Smith  <psmith@gnu.org>
510         * scripts/misc/close_stdout: Add a test for Savannah bug #1328.
511         This test only works on systems that have /dev/full (e.g., Linux).
513 2005-06-09  Paul D. Smith  <psmith@gnu.org>
515         * scripts/functions/foreach: Add a test for Savannah bug #11913.
517 2005-05-31  Boris Kolpackov  <boris@kolpackov.net>
519         * scripts/features/include: Add a test for Savannah bug #13216.
520         * scripts/features/patternrules: Add a test for Savannah bug #13218.
522 2005-05-13  Paul D. Smith  <psmith@gnu.org>
524         * scripts/features/conditionals: Add tests for the new if... else
525         if... endif syntax.
527 2005-05-03  Paul D. Smith  <psmith@gnu.org>
529         * scripts/variables/DEFAULT_GOAL: Rename DEFAULT_TARGET to
530         DEFAULT_GOAL.
532 2005-05-02  Paul D. Smith  <psmith@gnu.org>
534         * scripts/features/parallelism: Add a test for exporting recursive
535         variables containing $(shell ) calls.  Rewrite this script to use
536         run_make_test() everywhere.
538 2005-04-07  Paul D. Smith  <psmith@gnu.org>
540         * scripts/targets/SECONDARY: Add a test for Savannah bug #12331.
542 2005-03-15  Boris Kolpackov  <boris@kolpackov.net>
544         * scripts/variables/automatic: Add a test for Savannah bug #12320.
546 2005-03-10  Boris Kolpackov  <boris@kolpackov.net>
548         * scripts/features/patternrules: Add a test for Savannah bug #12267.
550 2005-03-09  Boris Kolpackov  <boris@kolpackov.net>
552         * scripts/variables/DEFAULT_TARGET: Add a test for Savannah
553         bug #12266.
555 2005-03-04  Boris Kolpackov  <boris@kolpackov.net>
557         * scripts/features/patternrules: Add a test for Savannah bug #12202.
559 2005-03-03  Boris Kolpackov  <boris@kolpackov.net>
561         * scripts/features/se_implicit: Add a test for stem
562         termination bug. Add a test for stem triple-expansion bug.
564         * scripts/features/se_statpat: Add a test for stem
565         triple-expansion bug.
567         * scripts/features/statipattrules: Change test #4 to reflect
568         new way empty prerequisite list is handled.
571 2005-03-01  Boris Kolpackov  <boris@kolpackov.net>
573         * scripts/features/statipattrules: Add a test for
574         Savannah bug #12180.
576 2005-02-28  Paul D. Smith  <psmith@gnu.org>
578         * scripts/options/dash-q: Add a test for Savannah bug # 7144.
580         * scripts/options/symlinks: New file to test checking of symlink
581         timestamps.  Can't use filename dash-L because it conflicts with
582         dash-l on case-insensitive filesystems.
584         * scripts/variables/MAKEFILE_LIST, scripts/variables/MFILE_LIST:
585         Rename MAKEFILE_LIST test to MFILE_LIST, for systems that need 8.3
586         unique filenames.
588 2005-02-28  Boris Kolpackov  <boris@kolpackov.net>
590         * scripts/variables/DEFAULT_TARGET: Test the .DEFAULT_TARGET
591         special variable.
593 2005-02-27  Boris Kolpackov  <boris@kolpackov.net>
595         * scripts/features/se_explicit: Test the second expansion in
596         explicit rules.
597         * scripts/features/se_implicit: Test the second expansion in
598         implicit rules.
599         * scripts/features/se_statpat: Test the second expansion in
600         static pattern rules.
601         * scripts/variables/automatic: Fix to work with the second
602         expansion.
604         * scripts/misc/general4: Add a test for bug #12091.
606 2005-02-27  Paul D. Smith  <psmith@gnu.org>
608         * scripts/functions/eval: Check that eval of targets within
609         command scripts fails.  See Savannah bug # 12124.
611 2005-02-26  Paul D. Smith  <psmith@gnu.org>
613         * test_driver.pl (compare_output): If a basic comparison of the
614         log and answer doesn't match, try harder: change all backslashes
615         to slashes and all CRLF to LF.  This helps on DOS/Windows systems.
617 2005-02-09  Paul D. Smith  <psmith@gnu.org>
619         * scripts/features/recursion: Test command line variable settings:
620         only one instance of a given variable should be provided.
622 2004-11-30  Boris Kolpackov  <boris@kolpackov.net>
624         * tests/scripts/functions/abspath: New file: test `abspath'
625         built-in function.
627         * tests/scripts/functions/realpath: New file: test `realpath'
628         built-in function.
630 2004-11-28  Paul D. Smith  <psmith@gnu.org>
632         * scripts/options/dash-C [WINDOWS32]: Add a test for bug #10252;
633         this doesn't really test anything useful in UNIX but...
635         * scripts/variables/SHELL: New file: test proper handling of SHELL
636         according to POSIX rules.  Fixes bug #1276.
638 2004-10-21  Boris Kolpackov  <boris@kolpackov.net>
640         * scripts/functions/word: Test $(firstword ) and $(lastword ).
642 2004-10-05  Boris Kolpackov  <boris@kolpackov.net>
644         * scripts/features/patspecific_vars: Test simple/recursive
645         variable expansion.
647 2004-09-28  Boris Kolpackov  <boris@kolpackov.net>
649         * scripts/features/include: Test dontcare flag inheritance
650         when rebuilding makefiles.
652 2004-09-27  Boris Kolpackov  <boris@kolpackov.net>
654         * scripts/features/patspecific_vars: Test exported variables.
656 2004-09-22  Paul D. Smith  <psmith@gnu.org>
658         * run_make_tests.pl (run_make_test): Don't add newlines to the
659         makestring or answer if they are completely empty.
661         * scripts/features/patternrules: Rename from implicit_prereq_eval.
663         * scripts/test_template: Rework the template.
665 2004-09-21  Boris Kolpackov  <boris@kolpackov.net>
667         * run_make_tests.pl: Change `#!/usr/local/bin/perl' to be
668         `#!/usr/bin/env perl'.
670         * scripts/features/implicit_prereq_eval: Test implicit rule
671         prerequisite evaluation code.
673 2004-09-21  Paul D. Smith  <psmith@gnu.org>
675         * run_make_tests.pl (run_make_test): Enhance to allow the make
676         string to be undef: in that case it reuses the previous make
677         string.  Allows multiple tests on the same makefile.
679         * scripts/variables/flavors: Add some tests for prefix characters
680         interacting with define/endef variables.
682 2004-09-20  Paul D. Smith  <psmith@gnu.org>
684         * scripts/functions/substitution: Rewrite to use run_make_test()
685         interface, and add test for substitution failures reported by
686         Markus Mauhart <qwe123@chello.at>.
688 2004-03-22  Paul D. Smith  <psmith@gnu.org>
690         * test_driver.pl (run_each_test, toplevel, compare_output): Change
691         to track both the testing categories _AND_ the number of
692         individual tests, and report both sets of numbers.
694 2004-02-21  Paul D. Smith  <psmith@gnu.org>
696         * scripts/functions/origin: Set our own environment variable
697         rather than relying on $HOME.
699 2004-01-21  Paul D. Smith  <psmith@gnu.org>
701         * scripts/features/conditionals: Test arguments to ifn?def which
702         contain whitespace (such as a function that is evaluated).  Bug
703         #7257.
705 2004-01-07  Paul D. Smith  <psmith@gnu.org>
707         * scripts/features/order_only: Test order-only prerequisites in
708         pattern rules (patch #2349).
710 2003-11-02  Paul D. Smith  <psmith@gnu.org>
712         * scripts/functions/if: Test if on conditionals with trailing
713         whitespace--bug #5798.
715         * scripts/functions/eval: Test eval in a non-file context--bug #6195.
717 2003-04-19  Paul D. Smith  <psmith@gnu.org>
719         * scripts/features/patspecific_vars: Test multiple patterns
720         matching the same target--Bug #1405.
722 2003-04-09  Paul D. Smith  <psmith@gnu.org>
724         * run_make_tests.pl (set_more_defaults): A new $port_type of
725         'OS/2' for (surprise!) OS/2.  Also choose a wait time of 2 seconds
726         for OS/2.
728 2003-03-28  Paul D. Smith  <psmith@gnu.org>
730         * scripts/targets/SECONDARY: Test the "global" .SECONDARY (with
731         not prerequisites)--Bug #2515.
733 2003-01-30  Paul D. Smith  <psmith@gnu.org>
735         * scripts/features/targetvars: Test very long target-specific
736         variable definition lines (longer than the default make buffer
737         length).  Tests patch # 1022.
739         * scripts/functions/eval: Test very recursive $(eval ...) calls
740         with simple variable expansion (bug #2238).
742         * scripts/functions/word: Test error handling for word and
743         wordlist functions (bug #2407).
745 2003-01-22  Paul D. Smith  <psmith@gnu.org>
747         * scripts/functions/call: Test recursive argument masking (bug
748         #1744).
750 2002-10-25  Paul D. Smith  <psmith@gnu.org>
752         * scripts/functions/eval: Test using $(eval ...) inside
753         conditionals (Bug #1516).
755 2002-10-14  Paul D. Smith  <psmith@gnu.org>
757         * scripts/options/dash-t: Add a test for handling -t on targets
758         with no commands (Bug #1418).
760 2002-10-13  Paul D. Smith  <psmith@gnu.org>
762         * scripts/features/targetvars: Add a test for exporting
763         target-specific vars (Bug #1391).
765 2002-10-05  Paul D. Smith  <psmith@gnu.org>
767         * scripts/variables/automatic: Add tests for $$(@), $${@}, $${@D},
768         and $${@F}.
770 2002-09-23  Paul D. Smith  <psmith@gnu.org>
772         * scripts/features/escape: Test handling of escaped comment
773         characters in targets and prerequisites.
775 2002-09-18  Paul D. Smith  <psmith@gnu.org>
777         * scripts/features/export: Test export/unexport of multiple
778         variables in a single command.
780 2002-09-17  Paul D. Smith  <psmith@gnu.org>
782         * scripts/features/targetvars: Tests for Bug #940: test
783         target-specific and pattern-specific variables in conjunction with
784         double-colon targets.
786 2002-09-10  Paul D. Smith  <psmith@gnu.org>
788         * test_driver.pl (compare_output): Match the new format for time
789         skew error messages.
791         * scripts/features/export: Created.  Add tests for export/unexport
792         capabilities, including exporting/unexporting expanded variables.
794         * scripts/features/conditionals: Add a test for expanded variables
795         in ifdef conditionals.
797 2002-09-04  Paul D. Smith  <psmith@gnu.org>
799         * scripts/features/reinvoke: Change touch/sleep combos to utouch
800         invocations.
801         * scripts/features/vpathgpath: Ditto.
802         * scripts/features/vpathplus: Ditto.
803         * scripts/options/dash-n: Ditto.
804         * scripts/targets/INTERMEDIATE: Ditto.
805         * scripts/targets/SECONDARY: Ditto.
807         * scripts/options/dash-t: Added a test for the -t bug fixed by
808         Henning Makholm.  This test was also contributed by Henning.
810         * scripts/misc/general4: Add a test suite for obscure algorithmic
811         features of make.  First test: make sure creation subdirectories
812         as prerequisites of targets works properly.
814         * scripts/misc/version: Remove this bogus test.
816 2002-08-07  Paul D. Smith  <psmith@gnu.org>
818         * scripts/misc/general3: Add a test for makefiles that don't end
819         in newlines.
821         * scripts/variables/special: Create tests for the special
822         variables (.VARIABLES and .TARGETS).  Comment out .TARGETS test
823         for now as it's not yet supported.
825 2002-08-01  Paul D. Smith  <psmith@gnu.org>
827         * scripts/options/dash-B: Add a test for the new -B option.
829 2002-07-11  Paul D. Smith  <psmith@gnu.org>
831         * run_make_tests.pl (valid_option): Add support for Valgrind.  Use
832         -valgrind option to the test suite.
833         (set_more_defaults): Set up the file descriptor to capture
834         Valgrind output.  We have to unset its close-on-exec flag; we
835         hardcode the value for F_SETFD (2) rather than load it; hopefully
836         this will help us avoid breaking the Windows/DOS test suite.
838 2002-07-10  Paul D. Smith  <psmith@gnu.org>
840         * scripts/variables/automatic: Add some tests for $$@, $$(@D), and
841         $$(@F).
843         * test_driver.pl (utouch): Create a new function that creates a
844         file with a specific timestamp offset.  Use of this function will
845         let us avoid lots of annoying sleep() invocations in the tests
846         just to get proper timestamping, which will make the tests run a
847         lot faster.  So far it's only used in the automatic test suite.
849 2002-07-09  Paul D. Smith  <psmith@gnu.org>
851         * scripts/variables/automatic: Create a test for automatic variables.
853 2002-07-08  Paul D. Smith  <psmith@gnu.org>
855         * scripts/features/order_only: Test new order-only prerequisites.
857 2002-07-07  Paul D. Smith  <psmith@gnu.org>
859         * scripts/functions/eval: Test new function.
860         * scripts/functions/value: Test new function.
861         * scripts/variables/MAKEFILE_LIST: Test new variable.
863 2002-04-28  Paul D. Smith  <psmith@gnu.org>
865         * scripts/functions/call: New test: transitive closure
866         implementation using $(call ...) to test variable recursion.
868 2002-04-21  Paul D. Smith  <psmith@gnu.org>
870         * test_driver.pl (compare_dir_tree): Ignore CVS and RCS
871         directories in the script directories.
873 2001-05-02  Paul D. Smith  <psmith@gnu.org>
875         * scripts/variables/flavors: Test define/endef scripts where only
876         one of the command lines is quiet.
878 2000-06-22  Paul D. Smith  <psmith@gnu.org>
880         * scripts/options/dash-q: New file; test the -q option.  Includes
881         a test for PR/1780.
883 2000-06-21  Paul D. Smith  <psmith@gnu.org>
885         * scripts/features/targetvars: Added a test for PR/1709: allowing
886         semicolons in target-specific variable values.
888 2000-06-19  Paul D. Smith  <psmith@gnu.org>
890         * scripts/functions/addsuffix: Test for an empty final argument.
891         Actually this bug might have happened for any function, but this
892         one was handy.
894 2000-06-17  Eli Zaretskii  <eliz@is.elta.co.il>
896         * scripts/options/general: If parallel jobs are not supported,
897         expect a warning message from Make.
899 2000-06-15  Eli Zaretskii  <eliz@is.elta.co.il>
901         * scripts/options/general: Don't try -jN with N != 1 if parallel
902         jobs are not supported.
904 2000-05-24  Paul D. Smith  <psmith@gnu.org>
906         * scripts/options/general: Test general option processing (PR/1716).
908 2000-04-11  Paul D. Smith  <psmith@gnu.org>
910         * scripts/functions/strip: Test empty value to strip (PR/1689).
912 2000-04-08  Eli Zaretskii  <eliz@is.elta.co.il>
914         * scripts/features/reinvoke: Sleep before updating the target
915         files in the first test, to ensure its time stamp really gets
916         newer; otherwise Make might re-exec more than once.
918 2000-04-07  Eli Zaretskii  <eliz@is.elta.co.il>
920         * scripts/features/double_colon: Don't run the parallel tests if
921         parallel jobs aren't supported.
923 2000-04-04  Paul D. Smith  <psmith@gnu.org>
925         * scripts/functions/word: wordlist doesn't swap arguments anymore.
927 2000-03-27  Paul D. Smith  <psmith@gnu.org>
929         * scripts/features/statipattrules: Test that static pattern rules
930         whose prerequisite patterns resolve to empty strings throw an
931         error (instead of dumping core).  Fixes PR/1670.
933         * scripts/features/reinvoke: Make more robust by touching "b"
934         first, to ensure it's not newer than "a".
935         Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
936         * scripts/options/dash-n: Ditto.
938         * scripts/functions/call: Whoops.  The fix to PR/1527 caused
939         recursive invocations of $(call ...) to break.  I can't come up
940         with any way to get both working at the same time, so I backed out
941         the fix to 1527 and added a test case for recursive calls.  This
942         also tests the fix for PR/1610.
944         * scripts/features/double_colon: Test that circular dependencies
945         in double-colon rule sets are detected correctly (PR/1671).
947 2000-03-26  Paul D. Smith  <psmith@gnu.org>
949         * scripts/targets/INTERMEDIATE: Test that make doesn't remove
950         .INTERMEDIATE files when given on the command line (PR/1669).
952 2000-03-08  Paul D. Smith  <psmith@gnu.org>
954         * scripts/options/dash-k: Add a test for error detection by
955         multiple targets depending on the same prerequisite with -k.
956         For PR/1634.
958 2000-02-07  Paul D. Smith  <psmith@gnu.org>
960         * scripts/features/escape: Add a test for backslash-escaped spaces
961         in a target name (PR/1586).
963 2000-02-04  Paul D. Smith  <psmith@gnu.org>
965         * scripts/features/patspecific_vars: Add a test for pattern-specific
966         target variables inherited from the parent target (PR/1407).
968 2000-02-02  Paul D. Smith  <psmith@gnu.org>
970         * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
971         to make sure sorting order, etc. is predictable.
972         Reported by Andreas Jaeger <aj@suse.de>.
974         * run_make_tests.pl (set_more_defaults): Set the $wtime variable
975         depending on the OS.  Eli Zaretskii <eliz@is.elta.co.il> reports
976         this seems to need to be *4* on DOS/Windows, not just 2.  Keep it
977         1 for other systems.
978         * scripts/features/vpathplus (touchfiles): Use the $wtime value
979         instead of hardcoding 2.
980         * scripts/targets/SECONDARY: Ditto.
981         * scripts/targets/INTERMEDIATE: Ditto.
983 2000-01-27  Paul D. Smith  <psmith@gnu.org>
985         * test_driver.pl (toplevel): Don't try to run test scripts which
986         are really directories.
988 2000-01-23  Paul D. Smith  <psmith@gnu.org>
990         * scripts/features/include: Remove a check; the fix caused more
991         problems than the error, so I removed it and removed the test for
992         it.
994 2000-01-11  Paul D. Smith  <psmith@gnu.org>
996         * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
997         sure $(call ...) doesn't eval its arguments and that you can
998         invoke foreach from it without looping forever.
1000 1999-12-15  Paul D. Smith  <psmith@gnu.org>
1002         * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
1003         .INTERMEDIATE settings on files don't disable them as implicit
1004         intermediate possibilities.
1006 1999-12-01  Paul D. Smith  <psmith@gnu.org>
1008         * scripts/features/double_colon: Add a test for PR/1476: Try
1009         double-colon rules as non-goal targets and during parallel builds
1010         to make sure they're handled serially.
1012 1999-11-17  Paul D. Smith  <psmith@gnu.org>
1014         * scripts/functions/if: Add a test for PR/1429: put some text
1015         after an if-statement to make sure it works.
1017         * scripts/features/targetvars: Add a test for PR/1380: handling +=
1018         in target-specific variable definitions correctly.
1020 1999-10-15  Paul D. Smith  <psmith@gnu.org>
1022         * scripts/variables/MAKEFILES: This was really broken: it didn't
1023         test anything at all, really.  Rewrote it, plus added a test for
1024         PR/1394.
1026 1999-10-13  Paul D. Smith  <psmith@gnu.org>
1028         * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
1029         behave properly when used with recursive targets".
1031 1999-10-08  Paul D. Smith  <psmith@gnu.org>
1033         * scripts/features/targetvars: Add a check for PR/1378:
1034         "Target-specific vars don't inherit correctly"
1036 1999-09-29  Paul D. Smith  <psmith@gnu.org>
1038         * test_driver.pl (get_osname): Change $fancy_file_names to
1039         $short_filenames and reverse the logic.
1040         (run_each_test): Change test of non-existent $port_host to use
1041         $short_filenames--problem reported by Eli Zaretskii.
1043 1999-09-23  Paul D. Smith  <psmith@gnu.org>
1045         * scripts/features/parallelism: Add a check to ensure that the
1046         jobserver works when we re-invoke.  Also cleaned up the tests a
1047         little, reducing the number of rules we use so the test won't need
1048         as many "sleep" commands.
1050 1999-09-16  Paul D. Smith  <psmith@gnu.org>
1052         * scripts/features/reinvoke: Remove invocations of "touch" in
1053         makefiles.  See the comments on the touch function rewrite below.
1054         Note that UNIX touch behaves the same way if the file already
1055         exists: it sets the time to the _local_ time.  We don't want
1056         this.  This is probably a good tip for makefile writers in
1057         general, actually... where practical.
1058         * scripts/options/dash-l: Ditto.
1059         * scripts/options/dash-n: Ditto.
1061         * test_driver.pl (run_each_test): In retrospect, I don't like the
1062         .lN/.bN/.dN postfix required by DOS.  So, for non-DOS systems I
1063         changed it back to use .log, .base, and .diff.
1065         * run_make_tests.pl (set_more_defaults): Move the check for the
1066         make pathname to here from set_defaults (that's too early since it
1067         happens before the command line processing).
1068         Create a new variable $port_type, calculated from $osname, to
1069         specify what kind of system we're running on.  We should integrate
1070         the VOS stuff here, too.
1071         (valid_option): Comment out the workdir/-work stuff so people
1072         won't be fooled into thinking it works... someone needs to fix
1073         this, though!
1075         * scripts/functions/origin: Use $port_type instead of $osname.
1076         * scripts/functions/foreach: Ditto.
1077         * scripts/features/default_names: Ditto.
1079 1999-09-15  Paul D. Smith  <psmith@gnu.org>
1081         * test_driver.pl (touch): Rewrite this function.  Previously it
1082         used to use utime() to hard-set the time based on the current
1083         local clock, or, if the file didn't exist, it merely created it.
1084         This mirrors exactly what real UNIX touch does, but it fails badly
1085         on networked filesystems where the FS server clock is skewed from
1086         the local clock: normally modifying a file causes it to get a mod
1087         time based on the _server's_ clock.  Hard-setting it based on the
1088         _local_ clock causes gratuitous errors and makes the tests
1089         unreliable except on local filesystems.  The new function will
1090         simply modify the file, allowing the filesystem to set the mod
1091         time as it sees fit.
1093         * scripts/features/parallelism: The second test output could
1094         change depending on how fast some scripts completed; use "sleep"
1095         to force the order we want.
1097         * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
1098         means that "%ENV = ();" doesn't do the right thing.  This worked
1099         in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
1100         the environment rather than require specific versions.
1102         * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
1103         modifier "s", so the tests will run with Perl 4.
1104         (set_more_defaults): Set $pure_log to empty if there's no -logfile
1105         option in PURIFYOPTIONS.
1106         (setup_for_test): Don't remove any logs unless $pure_log is set.
1108 1999-09-15  Eli Zaretskii  <eliz@is.elta.co.il>
1110         * scripts/features/reinvoke: Put the SHELL definition in the right
1111         test makefile.
1113 1999-09-15  Paul D. Smith  <psmith@gnu.org>
1115         ChangeLog file for the test suite created.
1118 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
1119 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1120 This file is part of GNU Make.
1122 GNU Make is free software; you can redistribute it and/or modify it under the
1123 terms of the GNU General Public License as published by the Free Software
1124 Foundation; either version 3 of the License, or (at your option) any later
1125 version.
1127 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
1128 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
1129 A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
1131 You should have received a copy of the GNU General Public License along with
1132 this program.  If not, see <http://www.gnu.org/licenses/>.