1 2011-05-07 Paul Smith <psmith@gnu.org>
3 * scripts/functions/wildcard: Verify wildcard used to test for
4 file existence/non-existence.
6 2011-05-02 Paul Smith <psmith@gnu.org>
8 * scripts/functions/sort: Add a test for Savannah bug #33125.
10 2011-04-17 David A. Wheeler <dwheeler@dwheeler.com>
12 * scripts/features/shell_assignment: Regression for "!=" feature
14 2010-11-06 Paul Smith <psmith@gnu.org>
16 * scripts/features/targetvars: Fix known-good output for BS/NL changes.
17 * scripts/functions/call: Ditto.
18 * scripts/variables/special: Ditto.
20 * scripts/misc/bs-nl: New test suite for backslash/newline testing.
22 2010-08-29 Paul Smith <psmith@gnu.org>
24 * scripts/features/errors: Add new error message to output text.
25 * scripts/variables/SHELL: Ditto.
26 * scripts/targets/POSIX: Ditto.
27 * scripts/options/dash-k: Ditto.
28 * scripts/features/vpathplus: Ditto.
29 * scripts/features/patternrules: Ditto.
30 * scripts/features/parallelism: Ditto.
32 2010-08-13 Paul Smith <psmith@gnu.org>
34 * scripts/features/archives: New regression tests for archive
35 support. Test for fix to Savannah bug #30612.
37 * run_make_tests.pl (set_more_defaults): Set a %FEATURES hash to
38 the features available in $(.FEATURES).
40 2010-08-10 Paul Smith <psmith@gnu.org>
42 * scripts/features/reinvoke: Ensure command line variable settings
43 are preserved across make re-exec. Tests Savannah bug #30723.
45 2010-07-28 Paul Smith <psmith@gnu.org>
47 * scripts/targets/POSIX: Compatibility issues with Solaris (and
48 Tru64?); "false" returns different exit codes, and set -x shows
49 output with extra whitespace. Run the commands by hand first to
50 find out what the real shell would do, then compare what make does.
51 * scripts/variables/SHELL: Ditto.
53 2010-07-12 Paul Smith <psmith@gnu.org>
55 * test_driver.pl: Add a new $perl_name containing the path to Perl.
56 * run_make_tests.pl (run_make_test): Replace the special string
57 #PERL# in a makefile etc. with the path the Perl executable so
60 * scripts/targets/ONESHELL: Add a new set of regression tests for
61 the .ONESHELL feature.
63 2010-07-06 Paul Smith <psmith@gnu.org>
65 * scripts/variables/SHELL: Test the new .SHELLFLAGS variable.
67 * scripts/targets/POSIX: New file. Test the .POSIX special target.
68 Verify that enabling .POSIX changes the shell flags to set -e.
70 2010-07-01 Paul Smith <psmith@gnu.org>
72 * scripts/features/recursion: Add a space to separate command-line
73 args. Fixes Savannah bug #29968.
75 2009-11-12 Boris Kolpackov <boris@codesynthesis.com>
77 * scripts/features/vpath3: Test for the new library search
80 2009-10-06 Boris Kolpackov <boris@codesynthesis.com>
82 * scripts/features/se_explicit: Enable the test for now fixed
85 2009-10-06 Boris Kolpackov <boris@codesynthesis.com>
87 * scripts/variables/undefine: Tests for the new undefine feature.
89 2009-10-03 Paul Smith <psmith@gnu.org>
91 * scripts/features/parallelism: Test for open Savannah bug #26846.
93 * scripts/variables/MAKE: Rewrite for new run_make_test() format.
95 * scripts/variables/MAKEFLAGS: Created.
96 Add test for Savannah bug #2216 (still open).
98 * scripts/features/include: Test for Savannah bug #102 (still open).
100 2009-09-30 Boris Kolpackov <boris@codesynthesis.com>
102 * scripts/features/include: Add diagnostics issuing tests for
103 cases where targets have been updated and failed with the
104 dontcare flag. Savannah bugs #15110, #25493, #12686, #17740.
106 2009-09-28 Paul Smith <psmith@gnu.org>
108 * scripts/functions/shell: Add regression test for Savannah bug
111 * scripts/features/se_explicit: Add regression tests for Savannah
112 bug #25780 (still open).
114 * run_make_tests.pl (valid_option): Add a new flag, -all([-_]?tests)?
115 that runs tests we know will fail. This allows us to add
116 regression tests to the test suite for bugs that haven't been
119 2009-09-28 Boris Kolpackov <boris@codesynthesis.com>
121 * scripts/features/patspecific_vars: Add a test for the shortest
124 * scripts/features/patternrules: Add a test for the shortest stem
127 2009-09-24 Paul Smith <psmith@gnu.org>
129 * scripts/features/se_implicit: Add a test for order-only
130 secondary expansion prerequisites.
132 2009-09-23 Paul Smith <psmith@gnu.org>
134 * scripts/features/patternrules: Test that we can remove pattern
135 rules, both single and multiple prerequisites. Savannah bug #18622.
137 * scripts/features/echoing: Rework for run_make_test().
139 2009-06-14 Paul Smith <psmith@gnu.org>
141 * scripts/features/vpath: Verify we don't get bogus circular
142 dependency warnings if we choose a different file via vpath during
143 update. Savannah bug #13529.
145 2009-06-13 Paul Smith <psmith@gnu.org>
147 * scripts/variables/MAKEFILES: Verify that MAKEFILES included
148 files (and files included by them) don't set the default goal.
151 * scripts/functions/wildcard: Test that wildcards with
152 non-existent glob matchers return empty.
154 2009-06-09 Paul Smith <psmith@gnu.org>
156 * scripts/options/dash-B: Test the $? works correctly with -B.
159 * scripts/features/patternrules: Test that dependencies of
160 "also_make" targets are created properly. Savannah bug #19108.
162 * test_driver.pl (compare_output): Create a "run" file for failed
163 tests containing the command that was run.
164 (get_runfile): New function.
166 * run_make_tests.pl (valid_option): Enhanced support for valgrind:
167 allow memcheck and massif tools.
169 * scripts/features/patternrules: Have to comment out a line in the
170 first test due to backing out a change that broke the implicit
171 rule search algorithm. Savannah bug #17752.
172 * scripts/misc/general4: Remove a test that is redundant with
175 * scripts/features/parallelism: Add a test for re-exec with
176 jobserver master override. Savannah bug #18124.
178 2009-06-08 Paul Smith <psmith@gnu.org>
180 * scripts/features/targetvars: Add a test for continued target
181 vars after a semicolon. Savannah bug #17521.
183 2009-06-07 Paul Smith <psmith@gnu.org>
185 * scripts/features/se_explicit: Make sure we catch defining
186 prereqs during snap_deps(). Savannah bug #24622.
188 * scripts/variables/automatic: Check prereq ordering when the
189 target with the recipe has no prereqs. Savannah bug #21198.
191 * scripts/variables/LIBPATTERNS: Add a new set of test for
192 $(.LIBPATTERNS) (previously untested!)
194 2009-06-04 Paul Smith <psmith@gnu.org>
196 * scripts/variables/SHELL: The export target-specific SHELL test
197 has an incorrect known-good-value.
199 * scripts/misc/general4: Check for whitespace (ffeed, vtab, etc.)
201 * scripts/features/se_explicit: Add tests for Savannah bug #24588.
203 2009-05-31 Paul Smith <psmith@gnu.org>
205 * scripts/variables/DEFAULT_GOAL: Add tests for Savannah bug #25697.
207 * scripts/features/targetvars: Add tests of overrides for Savannah
209 * scripts/features/patspecific_vars: Ditto.
211 * scripts/features/patternrules: Add a test for Savannah bug #26593.
213 2009-05-30 Paul Smith <psmith@gnu.org>
215 * scripts/variables/flavors: Update with new variable flavor tests.
216 * scripts/variables/define: Create a new set of tests for
217 define/endef and move those aspects of the flavors suite here.
219 2009-05-25 Paul Smith <psmith@gnu.org>
221 * scripts/features/targetvars: Ditto.
223 * scripts/features/export: Test new variable parsing abilities.
225 2009-02-23 Ramon Garcia <ramon.garcia.f@gmail.com>
227 * scripts/variables/private: Create a new suite of tests for 'private'.
229 2007-11-04 Paul Smith <psmith@gnu.org>
231 * scripts/functions/eval: Update error message for command -> recipe.
233 * test_driver.pl (compare_output): Allow the answer to be a regex,
234 if surrounded by '/'.
235 * scripts/misc/close_stdout: Use a regex for the answer, since
236 sometimes the error will have a description and sometimes it won't.
238 2007-09-10 Paul Smith <psmith@gnu.org>
240 * scripts/variables/special: Add tests for .RECIPEPREFIX variable.
242 2007-08-15 Paul Smith <psmith@gnu.org>
244 These test cases were contributed by
245 Icarus Sparry <savannah@icarus.freeuk.com> and J. David Bryan for
246 Savannah bugs #3330 and #15919.
248 * scripts/targets/SECONDARY: Add tests for Savannah bugs 3330 and
251 * scripts/features/parallelism: Add tests for wrong answer/hang
252 combining INTERMEDIATE, order-only prereqs, and parallelism.
253 See Savannah bugs 3330 and 15919.
255 2007-07-13 Paul Smith <psmith@gnu.org>
257 Install a timeout so tests can never loop infinitely.
258 Original idea and patch for a single-test version provided by
259 Icarus Sparry <savannah@icarus.freeuk.com>
261 * test_driver.pl (_run_command): New function: this is called by
262 other functions to actually run a command. Before we run it,
263 install a SIGALRM handler and set up a timer to go off in the
264 future (default is 5s; this can be overridden by individual tests).
265 (run_command): Call it.
266 (run_command_with_output): Call it.
268 * run_make_tests.pl (run_make_with_options): Override the default
269 timeout if the caller requests it.
270 (run_make_test): Pass any timeout override to run_make_with_options.
272 * scripts/features/parallelism: Increase the timeout for long tests.
273 * scripts/options/dash-l: Ditto.
275 2006-10-01 Paul Smith <psmith@paulandlesley.org>
277 * run_make_tests.pl (set_more_defaults): Remove setting of LANG in
278 ENV here. This doesn't always work.
279 * test_driver.pl (toplevel): Set LC_ALL to 'C' in the make
280 environment. Fixes Savannah bug #16698.
282 2006-09-30 Paul Smith <psmith@paulandlesley.org>
284 * scripts/variables/automatic: Add back the test for bug #8154.
286 2006-04-01 Paul D. Smith <psmith@gnu.org>
288 * scripts/functions/realpath: Don't run tests with multiple
289 initial slashes on Windows: those paths mean something different.
291 2006-03-19 Paul D. Smith <psmith@gnu.org>
293 * scripts/features/parallelism: Test that the jobserver is
294 properly managed when we have to re-exec the master instance of
297 2006-03-17 Boris Kolpackov <boris@kolpackov.net>
299 * scripts/features/statipattrules: Add tests for bug #16053.
301 2006-03-09 Paul Smith <psmith@gnu.org>
303 * scripts/features/escape: Use "pre:" not "p:" to avoid conflicts
304 with DOS drive letters. Fixes Savannah bug #15947.
306 * test_driver.pl (run_each_test): Set the status properly even
307 when a test fails to execute. Fixes Savannah bug #15942.
309 * scripts/functions/foreach: Use a different environment variable
310 other than PATH to avoid differences with Windows platforms.
311 Fixes Savannah bug #15938.
313 2006-03-05 Paul D. Smith <psmith@gnu.org>
315 * run_make_tests.pl (set_more_defaults): Add CYGWIN_NT as a port
316 type W32. Fixed Savannah bug #15937.
318 * scripts/features/default_names: Don't call error() when the test
319 fails. Fixes Savannah bug #15941.
321 2006-02-17 Paul D. Smith <psmith@gnu.org>
323 * scripts/features/targetvars: Test a complex construction which
324 guarantees that we have to merge variable lists of different
325 sizes. Tests for Savannah bug #15757.
327 2006-02-15 Paul D. Smith <psmith@gnu.org>
329 * scripts/functions/error: Make sure filename/lineno information
330 is related to where the error is expanded, not where it's set.
331 * scripts/functions/warning: Ditto.
332 * scripts/functions/foreach: Check for different error conditions.
333 * scripts/functions/word: Ditto.
334 * scripts/variables/negative: Test some variable reference failure
336 * scripts/options/warn-undefined-variables: Test the
337 --warn-undefined-variables flag.
339 2006-02-09 Paul D. Smith <psmith@gnu.org>
341 * run_make_tests.pl (set_more_defaults): Update valgrind support
343 * test_driver.pl (toplevel): Skip all hidden files/directories (ones
346 * scripts/functions/andor: Tests for $(and ..) and $(or ...)
349 2006-02-08 Boris Kolpackov <boris@kolpackov.net>
351 * scripts/features/parallelism: Add a test for bug #15641.
353 2006-02-06 Paul D. Smith <psmith@gnu.org>
355 * scripts/options/dash-W: Add a test for bug #15341.
357 2006-01-03 Paul D. Smith <psmith@gnu.org>
359 * scripts/variables/automatic: Add a test for bug #8154.
361 * README: Update to reflect the current state of the test suite.
363 2005-12-12 Paul D. Smith <psmith@gnu.org>
365 * scripts/features/parallelism, scripts/functions/wildcard,
366 scripts/targets/FORCE, scripts/targets/PHONY,
367 scripts/targets/SILENT: Use the default setting for
368 $delete_command. Fixes bug #15085.
370 * run_make_tests.pl (get_this_pwd) [VMS]: Use -no_ask with delete_file.
372 2005-12-11 Paul D. Smith <psmith@gnu.org>
374 * scripts/misc/general4: Test implicit rules with '$' in the
375 prereq list & prereq patterns.
376 * scripts/features/se_implicit: Add in .SECONDEXPANSION settings.
378 2005-12-09 Boris Kolpackov <boris@kolpackov.net>
380 * scripts/features/patternrules: Add a test for bug #13022.
382 2005-12-07 Boris Kolpackov <boris@kolpackov.net>
384 * scripts/features/double_colon: Add a test for bug #14334.
386 2005-11-17 Boris Kolpackov <boris@kolpackov.net>
388 * scripts/functions/flavor: Add a test for the flavor function.
390 2005-11-14 Boris Kolpackov <boris@kolpackov.net>
392 * scripts/variables/INCLUDE_DIRS: Add a test for the .INCLUDE_DIRS
395 2005-10-24 Paul D. Smith <psmith@gnu.org>
397 * scripts/misc/general4: Test '$$' in prerequisites list.
398 * scripts/features/statipattrules: Rewrite to use run_make_test().
399 Add various static pattern info.
400 * scripts/features/se_statpat: Enable .SECONDEXPANSION target.
401 * scripts/features/se_explicit: Add tests for handling '$$' in
402 prerequisite lists with and without setting .SECONDEXPANSION.
403 * scripts/features/order_only: Convert to run_make_test().
404 * run_make_tests.pl (set_more_defaults): If we can't get the value
405 of $(MAKE) from make, then fatal immediately.
407 2005-08-31 Paul D. Smith <psmith@gnu.org>
409 * run_make_tests.pl (get_this_pwd): Require the POSIX module (in
410 an eval to trap errors) and if it exists, use POSIX::getcwd to
411 find the working directory. If it doesn't exist, go back to the
412 previous methods. This tries to be more accurate on Windows
415 2005-08-29 Paul D. Smith <psmith@gnu.org>
417 * scripts/functions/abspath: Add some text to the error messages
418 to get a better idea of what's wrong. Make warnings instead of
421 * scripts/features/patspecific_vars: Don't use "test", which is
422 UNIX specific. Print the values and let the test script match
425 2005-08-25 Paul Smith <psmith@gnu.org>
427 * scripts/variables/SHELL: Use a /./ prefix instead of //: the
428 former works better with non-UNIX environments. Fixes Savannah
431 2005-08-13 Boris Kolpackov <boris@kolpackov.net>
433 * scripts/functions/wildcard: Wrap calls to $(wildcard ) with
434 $(sort) so that the resulting order is no longer filesystem-
437 2005-08-10 Boris Kolpackov <boris@kolpackov.net>
439 * scripts/features/statipattrules: Add a test for Savannah bug #13881.
441 2005-08-07 Paul D. Smith <psmith@gnu.org>
443 * scripts/features/parallelism: Add a test for a bug reported by
444 Michael Matz (matz@suse.de) in which make exits without waiting
445 for all its children in some situations during parallel builds.
447 2005-07-08 Paul D. Smith <psmith@gnu.org>
449 * test_driver.pl: Reset the environment to a clean value every
450 time before we invoke make. I'm suspicious that the environment
451 isn't handled the same way in Windows as it is in UNIX, and some
452 variables are leaking out beyond the tests they are intended for.
453 Create an %extraENV hash tests can set to add more env. vars.
454 * tests/scripts/features/export: Change to use %extraENV.
455 * tests/scripts/functions/eval: Ditto.
456 * tests/scripts/functions/origin: Ditto.
457 * tests/scripts/options/dash-e: Ditto.
458 * tests/scripts/variables/SHELL: Ditto.
460 2005-06-27 Paul D. Smith <psmith@gnu.org>
462 * scripts/options/dash-W: Use 'echo >>' instead of touch to update
464 * scripts/features/reinvoke: Rewrite to be safer on systems with
465 subsecond timestamps.
466 * scripts/features/patternrules: False exits with different error
467 codes on different systems (for example, Linux => 1, Solaris => 255).
469 * scripts/options/dash-W: Set the timestamp to foo.x in the future,
470 to be sure it will be considered updated when it's remade.
472 2005-06-26 Paul D. Smith <psmith@gnu.org>
474 * scripts/functions/shell: New test suite for the shell function.
476 2005-06-25 Paul D. Smith <psmith@gnu.org>
478 * scripts/features/include: Test include/-include/sinclude with no
479 arguments. Tests fix for Savannah bug #1761.
481 * scripts/misc/general3: Implement comprehensive testing of
482 backslash-newline behavior in command scripts: various types of
483 quoting, fast path / slow path, etc.
484 Tests fix for Savannah bug #1332.
486 * scripts/options/symlinks: Test symlinks to non-existent files.
487 Tests fix for Savannah bug #13280.
489 * scripts/misc/general3: Test semicolons in variable references.
490 Tests fix for Savannah bug #1454.
492 * scripts/variables/MAKE_RESTARTS: New file: test the
493 MAKE_RESTARTS variable.
494 * scripts/options/dash-B: Test re-exec doesn't loop infinitely.
495 Tests fix for Savannah bug #7566.
496 * scripts/options/dash-W: New file: test the -W flag, including
497 re-exec infinite looping.
499 2005-06-12 Paul D. Smith <psmith@gnu.org>
501 * scripts/misc/close_stdout: Add a test for Savannah bug #1328.
502 This test only works on systems that have /dev/full (e.g., Linux).
504 2005-06-09 Paul D. Smith <psmith@gnu.org>
506 * scripts/functions/foreach: Add a test for Savannah bug #11913.
508 2005-05-31 Boris Kolpackov <boris@kolpackov.net>
510 * scripts/features/include: Add a test for Savannah bug #13216.
511 * scripts/features/patternrules: Add a test for Savannah bug #13218.
513 2005-05-13 Paul D. Smith <psmith@gnu.org>
515 * scripts/features/conditionals: Add tests for the new if... else
518 2005-05-03 Paul D. Smith <psmith@gnu.org>
520 * scripts/variables/DEFAULT_GOAL: Rename DEFAULT_TARGET to
523 2005-05-02 Paul D. Smith <psmith@gnu.org>
525 * scripts/features/parallelism: Add a test for exporting recursive
526 variables containing $(shell ) calls. Rewrite this script to use
527 run_make_test() everywhere.
529 2005-04-07 Paul D. Smith <psmith@gnu.org>
531 * scripts/targets/SECONDARY: Add a test for Savannah bug #12331.
533 2005-03-15 Boris Kolpackov <boris@kolpackov.net>
535 * scripts/variables/automatic: Add a test for Savannah bug #12320.
537 2005-03-10 Boris Kolpackov <boris@kolpackov.net>
539 * scripts/features/patternrules: Add a test for Savannah bug #12267.
541 2005-03-09 Boris Kolpackov <boris@kolpackov.net>
543 * scripts/variables/DEFAULT_TARGET: Add a test for Savannah
546 2005-03-04 Boris Kolpackov <boris@kolpackov.net>
548 * scripts/features/patternrules: Add a test for Savannah bug #12202.
550 2005-03-03 Boris Kolpackov <boris@kolpackov.net>
552 * scripts/features/se_implicit: Add a test for stem
553 termination bug. Add a test for stem triple-expansion bug.
555 * scripts/features/se_statpat: Add a test for stem
556 triple-expansion bug.
558 * scripts/features/statipattrules: Change test #4 to reflect
559 new way empty prerequisite list is handled.
562 2005-03-01 Boris Kolpackov <boris@kolpackov.net>
564 * scripts/features/statipattrules: Add a test for
567 2005-02-28 Paul D. Smith <psmith@gnu.org>
569 * scripts/options/dash-q: Add a test for Savannah bug # 7144.
571 * scripts/options/symlinks: New file to test checking of symlink
572 timestamps. Can't use filename dash-L because it conflicts with
573 dash-l on case-insensitive filesystems.
575 * scripts/variables/MAKEFILE_LIST, scripts/variables/MFILE_LIST:
576 Rename MAKEFILE_LIST test to MFILE_LIST, for systems that need 8.3
579 2005-02-28 Boris Kolpackov <boris@kolpackov.net>
581 * scripts/variables/DEFAULT_TARGET: Test the .DEFAULT_TARGET
584 2005-02-27 Boris Kolpackov <boris@kolpackov.net>
586 * scripts/features/se_explicit: Test the second expansion in
588 * scripts/features/se_implicit: Test the second expansion in
590 * scripts/features/se_statpat: Test the second expansion in
591 static pattern rules.
592 * scripts/variables/automatic: Fix to work with the second
595 * scripts/misc/general4: Add a test for bug #12091.
597 2005-02-27 Paul D. Smith <psmith@gnu.org>
599 * scripts/functions/eval: Check that eval of targets within
600 command scripts fails. See Savannah bug # 12124.
602 2005-02-26 Paul D. Smith <psmith@gnu.org>
604 * test_driver.pl (compare_output): If a basic comparison of the
605 log and answer doesn't match, try harder: change all backslashes
606 to slashes and all CRLF to LF. This helps on DOS/Windows systems.
608 2005-02-09 Paul D. Smith <psmith@gnu.org>
610 * scripts/features/recursion: Test command line variable settings:
611 only one instance of a given variable should be provided.
613 2004-11-30 Boris Kolpackov <boris@kolpackov.net>
615 * tests/scripts/functions/abspath: New file: test `abspath'
618 * tests/scripts/functions/realpath: New file: test `realpath'
621 2004-11-28 Paul D. Smith <psmith@gnu.org>
623 * scripts/options/dash-C [WINDOWS32]: Add a test for bug #10252;
624 this doesn't really test anything useful in UNIX but...
626 * scripts/variables/SHELL: New file: test proper handling of SHELL
627 according to POSIX rules. Fixes bug #1276.
629 2004-10-21 Boris Kolpackov <boris@kolpackov.net>
631 * scripts/functions/word: Test $(firstword ) and $(lastword ).
633 2004-10-05 Boris Kolpackov <boris@kolpackov.net>
635 * scripts/features/patspecific_vars: Test simple/recursive
638 2004-09-28 Boris Kolpackov <boris@kolpackov.net>
640 * scripts/features/include: Test dontcare flag inheritance
641 when rebuilding makefiles.
643 2004-09-27 Boris Kolpackov <boris@kolpackov.net>
645 * scripts/features/patspecific_vars: Test exported variables.
647 2004-09-22 Paul D. Smith <psmith@gnu.org>
649 * run_make_tests.pl (run_make_test): Don't add newlines to the
650 makestring or answer if they are completely empty.
652 * scripts/features/patternrules: Rename from implicit_prereq_eval.
654 * scripts/test_template: Rework the template.
656 2004-09-21 Boris Kolpackov <boris@kolpackov.net>
658 * run_make_tests.pl: Change `#!/usr/local/bin/perl' to be
659 `#!/usr/bin/env perl'.
661 * scripts/features/implicit_prereq_eval: Test implicit rule
662 prerequisite evaluation code.
664 2004-09-21 Paul D. Smith <psmith@gnu.org>
666 * run_make_tests.pl (run_make_test): Enhance to allow the make
667 string to be undef: in that case it reuses the previous make
668 string. Allows multiple tests on the same makefile.
670 * scripts/variables/flavors: Add some tests for prefix characters
671 interacting with define/endef variables.
673 2004-09-20 Paul D. Smith <psmith@gnu.org>
675 * scripts/functions/substitution: Rewrite to use run_make_test()
676 interface, and add test for substitution failures reported by
677 Markus Mauhart <qwe123@chello.at>.
679 2004-03-22 Paul D. Smith <psmith@gnu.org>
681 * test_driver.pl (run_each_test, toplevel, compare_output): Change
682 to track both the testing categories _AND_ the number of
683 individual tests, and report both sets of numbers.
685 2004-02-21 Paul D. Smith <psmith@gnu.org>
687 * scripts/functions/origin: Set our own environment variable
688 rather than relying on $HOME.
690 2004-01-21 Paul D. Smith <psmith@gnu.org>
692 * scripts/features/conditionals: Test arguments to ifn?def which
693 contain whitespace (such as a function that is evaluated). Bug
696 2004-01-07 Paul D. Smith <psmith@gnu.org>
698 * scripts/features/order_only: Test order-only prerequisites in
699 pattern rules (patch #2349).
701 2003-11-02 Paul D. Smith <psmith@gnu.org>
703 * scripts/functions/if: Test if on conditionals with trailing
704 whitespace--bug #5798.
706 * scripts/functions/eval: Test eval in a non-file context--bug #6195.
708 2003-04-19 Paul D. Smith <psmith@gnu.org>
710 * scripts/features/patspecific_vars: Test multiple patterns
711 matching the same target--Bug #1405.
713 2003-04-09 Paul D. Smith <psmith@gnu.org>
715 * run_make_tests.pl (set_more_defaults): A new $port_type of
716 'OS/2' for (surprise!) OS/2. Also choose a wait time of 2 seconds
719 2003-03-28 Paul D. Smith <psmith@gnu.org>
721 * scripts/targets/SECONDARY: Test the "global" .SECONDARY (with
722 not prerequisites)--Bug #2515.
724 2003-01-30 Paul D. Smith <psmith@gnu.org>
726 * scripts/features/targetvars: Test very long target-specific
727 variable definition lines (longer than the default make buffer
728 length). Tests patch # 1022.
730 * scripts/functions/eval: Test very recursive $(eval ...) calls
731 with simple variable expansion (bug #2238).
733 * scripts/functions/word: Test error handling for word and
734 wordlist functions (bug #2407).
736 2003-01-22 Paul D. Smith <psmith@gnu.org>
738 * scripts/functions/call: Test recursive argument masking (bug
741 2002-10-25 Paul D. Smith <psmith@gnu.org>
743 * scripts/functions/eval: Test using $(eval ...) inside
744 conditionals (Bug #1516).
746 2002-10-14 Paul D. Smith <psmith@gnu.org>
748 * scripts/options/dash-t: Add a test for handling -t on targets
749 with no commands (Bug #1418).
751 2002-10-13 Paul D. Smith <psmith@gnu.org>
753 * scripts/features/targetvars: Add a test for exporting
754 target-specific vars (Bug #1391).
756 2002-10-05 Paul D. Smith <psmith@gnu.org>
758 * scripts/variables/automatic: Add tests for $$(@), $${@}, $${@D},
761 2002-09-23 Paul D. Smith <psmith@gnu.org>
763 * scripts/features/escape: Test handling of escaped comment
764 characters in targets and prerequisites.
766 2002-09-18 Paul D. Smith <psmith@gnu.org>
768 * scripts/features/export: Test export/unexport of multiple
769 variables in a single command.
771 2002-09-17 Paul D. Smith <psmith@gnu.org>
773 * scripts/features/targetvars: Tests for Bug #940: test
774 target-specific and pattern-specific variables in conjunction with
775 double-colon targets.
777 2002-09-10 Paul D. Smith <psmith@gnu.org>
779 * test_driver.pl (compare_output): Match the new format for time
782 * scripts/features/export: Created. Add tests for export/unexport
783 capabilities, including exporting/unexporting expanded variables.
785 * scripts/features/conditionals: Add a test for expanded variables
786 in ifdef conditionals.
788 2002-09-04 Paul D. Smith <psmith@gnu.org>
790 * scripts/features/reinvoke: Change touch/sleep combos to utouch
792 * scripts/features/vpathgpath: Ditto.
793 * scripts/features/vpathplus: Ditto.
794 * scripts/options/dash-n: Ditto.
795 * scripts/targets/INTERMEDIATE: Ditto.
796 * scripts/targets/SECONDARY: Ditto.
798 * scripts/options/dash-t: Added a test for the -t bug fixed by
799 Henning Makholm. This test was also contributed by Henning.
801 * scripts/misc/general4: Add a test suite for obscure algorithmic
802 features of make. First test: make sure creation subdirectories
803 as prerequisites of targets works properly.
805 * scripts/misc/version: Remove this bogus test.
807 2002-08-07 Paul D. Smith <psmith@gnu.org>
809 * scripts/misc/general3: Add a test for makefiles that don't end
812 * scripts/variables/special: Create tests for the special
813 variables (.VARIABLES and .TARGETS). Comment out .TARGETS test
814 for now as it's not yet supported.
816 2002-08-01 Paul D. Smith <psmith@gnu.org>
818 * scripts/options/dash-B: Add a test for the new -B option.
820 2002-07-11 Paul D. Smith <psmith@gnu.org>
822 * run_make_tests.pl (valid_option): Add support for Valgrind. Use
823 -valgrind option to the test suite.
824 (set_more_defaults): Set up the file descriptor to capture
825 Valgrind output. We have to unset its close-on-exec flag; we
826 hardcode the value for F_SETFD (2) rather than load it; hopefully
827 this will help us avoid breaking the Windows/DOS test suite.
829 2002-07-10 Paul D. Smith <psmith@gnu.org>
831 * scripts/variables/automatic: Add some tests for $$@, $$(@D), and
834 * test_driver.pl (utouch): Create a new function that creates a
835 file with a specific timestamp offset. Use of this function will
836 let us avoid lots of annoying sleep() invocations in the tests
837 just to get proper timestamping, which will make the tests run a
838 lot faster. So far it's only used in the automatic test suite.
840 2002-07-09 Paul D. Smith <psmith@gnu.org>
842 * scripts/variables/automatic: Create a test for automatic variables.
844 2002-07-08 Paul D. Smith <psmith@gnu.org>
846 * scripts/features/order_only: Test new order-only prerequisites.
848 2002-07-07 Paul D. Smith <psmith@gnu.org>
850 * scripts/functions/eval: Test new function.
851 * scripts/functions/value: Test new function.
852 * scripts/variables/MAKEFILE_LIST: Test new variable.
854 2002-04-28 Paul D. Smith <psmith@gnu.org>
856 * scripts/functions/call: New test: transitive closure
857 implementation using $(call ...) to test variable recursion.
859 2002-04-21 Paul D. Smith <psmith@gnu.org>
861 * test_driver.pl (compare_dir_tree): Ignore CVS and RCS
862 directories in the script directories.
864 2001-05-02 Paul D. Smith <psmith@gnu.org>
866 * scripts/variables/flavors: Test define/endef scripts where only
867 one of the command lines is quiet.
869 2000-06-22 Paul D. Smith <psmith@gnu.org>
871 * scripts/options/dash-q: New file; test the -q option. Includes
874 2000-06-21 Paul D. Smith <psmith@gnu.org>
876 * scripts/features/targetvars: Added a test for PR/1709: allowing
877 semicolons in target-specific variable values.
879 2000-06-19 Paul D. Smith <psmith@gnu.org>
881 * scripts/functions/addsuffix: Test for an empty final argument.
882 Actually this bug might have happened for any function, but this
885 2000-06-17 Eli Zaretskii <eliz@is.elta.co.il>
887 * scripts/options/general: If parallel jobs are not supported,
888 expect a warning message from Make.
890 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
892 * scripts/options/general: Don't try -jN with N != 1 if parallel
893 jobs are not supported.
895 2000-05-24 Paul D. Smith <psmith@gnu.org>
897 * scripts/options/general: Test general option processing (PR/1716).
899 2000-04-11 Paul D. Smith <psmith@gnu.org>
901 * scripts/functions/strip: Test empty value to strip (PR/1689).
903 2000-04-08 Eli Zaretskii <eliz@is.elta.co.il>
905 * scripts/features/reinvoke: Sleep before updating the target
906 files in the first test, to ensure its time stamp really gets
907 newer; otherwise Make might re-exec more than once.
909 2000-04-07 Eli Zaretskii <eliz@is.elta.co.il>
911 * scripts/features/double_colon: Don't run the parallel tests if
912 parallel jobs aren't supported.
914 2000-04-04 Paul D. Smith <psmith@gnu.org>
916 * scripts/functions/word: wordlist doesn't swap arguments anymore.
918 2000-03-27 Paul D. Smith <psmith@gnu.org>
920 * scripts/features/statipattrules: Test that static pattern rules
921 whose prerequisite patterns resolve to empty strings throw an
922 error (instead of dumping core). Fixes PR/1670.
924 * scripts/features/reinvoke: Make more robust by touching "b"
925 first, to ensure it's not newer than "a".
926 Reported by Marco Franzen <Marco.Franzen@Thyron.com>.
927 * scripts/options/dash-n: Ditto.
929 * scripts/functions/call: Whoops. The fix to PR/1527 caused
930 recursive invocations of $(call ...) to break. I can't come up
931 with any way to get both working at the same time, so I backed out
932 the fix to 1527 and added a test case for recursive calls. This
933 also tests the fix for PR/1610.
935 * scripts/features/double_colon: Test that circular dependencies
936 in double-colon rule sets are detected correctly (PR/1671).
938 2000-03-26 Paul D. Smith <psmith@gnu.org>
940 * scripts/targets/INTERMEDIATE: Test that make doesn't remove
941 .INTERMEDIATE files when given on the command line (PR/1669).
943 2000-03-08 Paul D. Smith <psmith@gnu.org>
945 * scripts/options/dash-k: Add a test for error detection by
946 multiple targets depending on the same prerequisite with -k.
949 2000-02-07 Paul D. Smith <psmith@gnu.org>
951 * scripts/features/escape: Add a test for backslash-escaped spaces
952 in a target name (PR/1586).
954 2000-02-04 Paul D. Smith <psmith@gnu.org>
956 * scripts/features/patspecific_vars: Add a test for pattern-specific
957 target variables inherited from the parent target (PR/1407).
959 2000-02-02 Paul D. Smith <psmith@gnu.org>
961 * run_make_tests.pl (set_more_defaults): Hard-code the LANG to C
962 to make sure sorting order, etc. is predictable.
963 Reported by Andreas Jaeger <aj@suse.de>.
965 * run_make_tests.pl (set_more_defaults): Set the $wtime variable
966 depending on the OS. Eli Zaretskii <eliz@is.elta.co.il> reports
967 this seems to need to be *4* on DOS/Windows, not just 2. Keep it
969 * scripts/features/vpathplus (touchfiles): Use the $wtime value
970 instead of hardcoding 2.
971 * scripts/targets/SECONDARY: Ditto.
972 * scripts/targets/INTERMEDIATE: Ditto.
974 2000-01-27 Paul D. Smith <psmith@gnu.org>
976 * test_driver.pl (toplevel): Don't try to run test scripts which
977 are really directories.
979 2000-01-23 Paul D. Smith <psmith@gnu.org>
981 * scripts/features/include: Remove a check; the fix caused more
982 problems than the error, so I removed it and removed the test for
985 2000-01-11 Paul D. Smith <psmith@gnu.org>
987 * scripts/functions/call: Add a test for PR/1517 and PR/1527: make
988 sure $(call ...) doesn't eval its arguments and that you can
989 invoke foreach from it without looping forever.
991 1999-12-15 Paul D. Smith <psmith@gnu.org>
993 * scripts/targets/INTERMEDIATE: Add a test for PR/1423: make sure
994 .INTERMEDIATE settings on files don't disable them as implicit
995 intermediate possibilities.
997 1999-12-01 Paul D. Smith <psmith@gnu.org>
999 * scripts/features/double_colon: Add a test for PR/1476: Try
1000 double-colon rules as non-goal targets and during parallel builds
1001 to make sure they're handled serially.
1003 1999-11-17 Paul D. Smith <psmith@gnu.org>
1005 * scripts/functions/if: Add a test for PR/1429: put some text
1006 after an if-statement to make sure it works.
1008 * scripts/features/targetvars: Add a test for PR/1380: handling +=
1009 in target-specific variable definitions correctly.
1011 1999-10-15 Paul D. Smith <psmith@gnu.org>
1013 * scripts/variables/MAKEFILES: This was really broken: it didn't
1014 test anything at all, really. Rewrote it, plus added a test for
1017 1999-10-13 Paul D. Smith <psmith@gnu.org>
1019 * scripts/options/dash-n: Add a test for PR/1379: "-n doesn't
1020 behave properly when used with recursive targets".
1022 1999-10-08 Paul D. Smith <psmith@gnu.org>
1024 * scripts/features/targetvars: Add a check for PR/1378:
1025 "Target-specific vars don't inherit correctly"
1027 1999-09-29 Paul D. Smith <psmith@gnu.org>
1029 * test_driver.pl (get_osname): Change $fancy_file_names to
1030 $short_filenames and reverse the logic.
1031 (run_each_test): Change test of non-existent $port_host to use
1032 $short_filenames--problem reported by Eli Zaretskii.
1034 1999-09-23 Paul D. Smith <psmith@gnu.org>
1036 * scripts/features/parallelism: Add a check to ensure that the
1037 jobserver works when we re-invoke. Also cleaned up the tests a
1038 little, reducing the number of rules we use so the test won't need
1039 as many "sleep" commands.
1041 1999-09-16 Paul D. Smith <psmith@gnu.org>
1043 * scripts/features/reinvoke: Remove invocations of "touch" in
1044 makefiles. See the comments on the touch function rewrite below.
1045 Note that UNIX touch behaves the same way if the file already
1046 exists: it sets the time to the _local_ time. We don't want
1047 this. This is probably a good tip for makefile writers in
1048 general, actually... where practical.
1049 * scripts/options/dash-l: Ditto.
1050 * scripts/options/dash-n: Ditto.
1052 * test_driver.pl (run_each_test): In retrospect, I don't like the
1053 .lN/.bN/.dN postfix required by DOS. So, for non-DOS systems I
1054 changed it back to use .log, .base, and .diff.
1056 * run_make_tests.pl (set_more_defaults): Move the check for the
1057 make pathname to here from set_defaults (that's too early since it
1058 happens before the command line processing).
1059 Create a new variable $port_type, calculated from $osname, to
1060 specify what kind of system we're running on. We should integrate
1061 the VOS stuff here, too.
1062 (valid_option): Comment out the workdir/-work stuff so people
1063 won't be fooled into thinking it works... someone needs to fix
1066 * scripts/functions/origin: Use $port_type instead of $osname.
1067 * scripts/functions/foreach: Ditto.
1068 * scripts/features/default_names: Ditto.
1070 1999-09-15 Paul D. Smith <psmith@gnu.org>
1072 * test_driver.pl (touch): Rewrite this function. Previously it
1073 used to use utime() to hard-set the time based on the current
1074 local clock, or, if the file didn't exist, it merely created it.
1075 This mirrors exactly what real UNIX touch does, but it fails badly
1076 on networked filesystems where the FS server clock is skewed from
1077 the local clock: normally modifying a file causes it to get a mod
1078 time based on the _server's_ clock. Hard-setting it based on the
1079 _local_ clock causes gratuitous errors and makes the tests
1080 unreliable except on local filesystems. The new function will
1081 simply modify the file, allowing the filesystem to set the mod
1082 time as it sees fit.
1084 * scripts/features/parallelism: The second test output could
1085 change depending on how fast some scripts completed; use "sleep"
1086 to force the order we want.
1088 * test_driver.pl (toplevel): A bug in Perl 5.000 to Perl 5.004
1089 means that "%ENV = ();" doesn't do the right thing. This worked
1090 in Perl 4 and was fixed in Perl 5.004_01, but use a loop to delete
1091 the environment rather than require specific versions.
1093 * run_make_tests.pl (set_more_defaults): Don't use Perl 5 s///
1094 modifier "s", so the tests will run with Perl 4.
1095 (set_more_defaults): Set $pure_log to empty if there's no -logfile
1096 option in PURIFYOPTIONS.
1097 (setup_for_test): Don't remove any logs unless $pure_log is set.
1099 1999-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1101 * scripts/features/reinvoke: Put the SHELL definition in the right
1104 1999-09-15 Paul D. Smith <psmith@gnu.org>
1106 ChangeLog file for the test suite created.
1109 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
1110 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1111 This file is part of GNU Make.
1113 GNU Make is free software; you can redistribute it and/or modify it under the
1114 terms of the GNU General Public License as published by the Free Software
1115 Foundation; either version 3 of the License, or (at your option) any later
1118 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
1119 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
1120 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1122 You should have received a copy of the GNU General Public License along with
1123 this program. If not, see <http://www.gnu.org/licenses/>.